cropHints method
Crop Hints suggests vertices for a crop region on an image.
Implementation
Future<CropHintsAnnotation?> cropHints(
JsonImage jsonImage, {
int maxResults = 10,
}) async {
final annotatedResponses = await detection(
jsonImage,
AnnotationType.cropHints,
maxResults: maxResults,
);
return annotatedResponses.cropHintsAnnotation;
}