setTargetRect method

Future<bool?> setTargetRect(
  1. double w,
  2. double h
)

Sets the normalized crop area for auto-cropping in Photo mode. w and h should be between 0.0 and 1.0.

Implementation

Future<bool?> setTargetRect(double w, double h) {
  return OcrPlatform.instance.setTargetRect(w, h);
}