setAspectRatioMax method of the ImageCaptureScenario class
Sets the upper limit of document's aspect ratio.
This method is used in pair with the setAspectRatioMin, 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 lower limit is set, upper limit will be set to infinity.
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 setAspectRatioMax( float maxValue );
Parameters
- maxValue
- The upper limit of document's aspect ratio.
3/2/2022 12:59:15 PM