productSearch method
Future<ProductSearchResults?>
productSearch(
- JsonImage jsonImage, {
- int maxResults = 10,
inherited
Run Product Search.
Implementation
Future<ProductSearchResults?> productSearch(
JsonImage jsonImage, {
int maxResults = 10,
}) async {
final annotatedResponses = await detection(
jsonImage,
AnnotationType.productSearch,
maxResults: maxResults,
);
return annotatedResponses.productSearchResults;
}