landmarkDetection method
Landmark Detection detects popular natural and human-made structures within an image.
Implementation
Future<List<EntityAnnotation>> landmarkDetection(
JsonImage jsonImage, {
int maxResults = 10,
}) async {
final annotatedResponses = await detection(
jsonImage,
AnnotationType.landmarkDetection,
maxResults: maxResults,
);
return annotatedResponses.landmarkAnnotations;
}