setAspectRatioMin method of the ImageCaptureScenario class
Sets the lower limit of the document's aspect ratio.
This method is used in pair with the setAspectRatioMax, defining an interval of acceptable aspect ratio values of the document to be captured. Setting aspect ratio will help to improve boundary detection accuracy.
If only upper limit is set, lower limit will be set to 1.
Note: Aspect ratio is calculated by division of the upper limit to lower limit and is expected to be greater than or equal to 1 (or 0 if not set). By default aspect ratio is not set and is defined by DocumentSize.
@MainThread
void setAspectRatioMin( float minValue );
Parameters
- minValue
- The lower limit of document's aspect ratio.
02.03.2022 12:59:15