Stay organized with collections
Save and categorize content based on your preferences.
Service that performs image detection and annotation for a batch of files. Now only "application/pdf", "image/tiff" and "image/gif" are supported.
This service will extract at most 5 (customers can specify which 5 in AnnotateFileRequest.pages) frames (gif) or pages (pdf or tiff) from each file provided and perform detection and annotation for each image extracted.
HTTP request
POST https://{VISION_GDC_ENDPOINT}/v1/{parent}/files:annotate
Path parameters
Parameters
parent
string
Optional. Target project and location to make a call.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-04-26 UTC."],[[["This service performs image detection and annotation on batches of files, currently supporting \"application/pdf\", \"image/tiff\", and \"image/gif\" file types."],["The service extracts up to five frames (for GIFs) or pages (for PDFs and TIFFs) from each file for detection and annotation, with the ability to customize the number of pages through `AnnotateFileRequest.pages`."],["The API endpoint for this service is `POST https://{VISION_GDC_ENDPOINT}/v1/{parent}/files:annotate`, where the `parent` path parameter specifies the project and location."],["The request must be sent using the `BatchAnnotateFilesRequest` structure, containing an array with a single `AnnotateFileRequest`."],["The application requires authorization via OAuth scopes, specifically either `https://www.googleapis.com/auth/cloud-platform` or `https://www.googleapis.com/auth/cloud-vision`."]]],[]]