Organízate con las colecciones
Guarda y clasifica el contenido según tus preferencias.
Servicio que realiza la detección y la anotación de imágenes en un lote de archivos. Ahora solo se admiten "application/pdf", "image/tiff" e "image/gif".
Este servicio extraerá un máximo de 5 fotogramas (GIF) o páginas (PDF o TIFF) de cada archivo proporcionado y realizará la detección y la anotación de cada imagen extraída. Los clientes pueden especificar qué 5 fotogramas o páginas se extraerán en AnnotateFileRequest.pages.
Solicitud HTTP
POST https://{VISION_GDC_ENDPOINT}/v1/{parent}/files:annotate
Parámetros de ruta
Parámetros
parent
string
Opcional. Proyecto y ubicación de destino para hacer una llamada.
[[["Es fácil de entender","easyToUnderstand","thumb-up"],["Me ofreció una solución al problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Es difícil de entender","hardToUnderstand","thumb-down"],["La información o el código de muestra no son correctos","incorrectInformationOrSampleCode","thumb-down"],["Me faltan las muestras o la información que necesito","missingTheInformationSamplesINeed","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 2025-08-21 (UTC)."],[[["\u003cp\u003eThis service performs image detection and annotation on batches of files, currently supporting "application/pdf", "image/tiff", and "image/gif" file types.\u003c/p\u003e\n"],["\u003cp\u003eThe 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 \u003ccode\u003eAnnotateFileRequest.pages\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe API endpoint for this service is \u003ccode\u003ePOST https://{VISION_GDC_ENDPOINT}/v1/{parent}/files:annotate\u003c/code\u003e, where the \u003ccode\u003eparent\u003c/code\u003e path parameter specifies the project and location.\u003c/p\u003e\n"],["\u003cp\u003eThe request must be sent using the \u003ccode\u003eBatchAnnotateFilesRequest\u003c/code\u003e structure, containing an array with a single \u003ccode\u003eAnnotateFileRequest\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe application requires authorization via OAuth scopes, specifically either \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e or \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-vision\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]