documentDetectorMode property
Optional document detector mode: EDGE_BASED - default implementation, based on classical edge detection approach ML_BASED - new Machine Learning based approach (requires iOS 11.2+)
Implementation
DocumentDetectorMode? documentDetectorMode;