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/files:annotate
Request body
The request body contains data with the following structure:
[[["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 PDF, TIFF, and GIF formats."],["It extracts a maximum of five frames or pages per file for analysis, with the option for users to specify which pages via `AnnotateFileRequest.pages`."],["The service is accessed via a POST HTTP request to `https://{VISION_GDC_ENDPOINT}/v1/files:annotate`."],["Requests must include an `AnnotateFileRequest` object within a `BatchAnnotateFilesRequest` and optionally a target `parent` project and location."],["Authorization requires either `https://www.googleapis.com/auth/cloud-platform` or `https://www.googleapis.com/auth/cloud-vision` OAuth scopes."]]],[]]