Feature
import type { Feature } from "https://googleapis.deno.dev/v1/vision:v1.ts";The type of Google Cloud Vision API detection to perform, and the maximum
number of results to return for that type. Multiple Feature objects can be
specified in the features list.
interface Feature {
maxResults?: number;
model?: string;
type?:
} | "TYPE_UNSPECIFIED"
| "FACE_DETECTION"
| "LANDMARK_DETECTION"
| "LOGO_DETECTION"
| "LABEL_DETECTION"
| "TEXT_DETECTION"
| "DOCUMENT_TEXT_DETECTION"
| "SAFE_SEARCH_DETECTION"
| "IMAGE_PROPERTIES"
| "CROP_HINTS"
| "WEB_DETECTION"
| "PRODUCT_SEARCH"
| "OBJECT_LOCALIZATION";
§Properties
§
maxResults?: number
[src]Maximum number of results of this type. Does not apply to
TEXT_DETECTION, DOCUMENT_TEXT_DETECTION, or CROP_HINTS.