setMinimumDocumentToViewRatio method of the ImageCaptureScenario interface
Sets the minimum document area relative to the whole frame area, required for capturing. If the document area is less the image will not be captured.
@MainThread
void setMinimumDocumentToViewRatio(@FloatRange(from = 0.0,to = 1.0) float ratio);
Parameters
- ratio
- The [0..1] ratio of the minimum document area relative to the whole frame area.
02.03.2022 12:59:15