Nécessite l'un des champs d'application OAuth suivants :
https://www.googleapis.com/auth/cloud-platform
https://www.googleapis.com/auth/cloud-vision
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/07/29 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Difficile à comprendre","hardToUnderstand","thumb-down"],["Informations ou exemple de code incorrects","incorrectInformationOrSampleCode","thumb-down"],["Il n'y a pas l'information/les exemples dont j'ai besoin","missingTheInformationSamplesINeed","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2025/07/29 (UTC)."],[[["\u003cp\u003eThis endpoint allows you to run image detection and annotation for multiple images in a single batch request.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePOST\u003c/code\u003e request to \u003ccode\u003ehttps://{VISION_GDC_ENDPOINT}/v1/{parent}/images:annotate\u003c/code\u003e is used to submit the batch annotation request.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eparent\u003c/code\u003e path parameter, which specifies the project and location, is optional; if not provided, a region will be chosen automatically.\u003c/p\u003e\n"],["\u003cp\u003eThe request body contains a list of individual \u003ccode\u003eAnnotateImageRequest\u003c/code\u003e objects within the \u003ccode\u003erequests\u003c/code\u003e array, to process batch image annotation requests.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful requests return a \u003ccode\u003eBatchAnnotateImagesResponse\u003c/code\u003e, and authorization requires either the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e or \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-vision\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],[],null,["# Method: projects.images.annotate\n\nRun image detection and annotation for a batch of images.\n\n### HTTP request\n\n`POST https://{VISION_GDC_ENDPOINT}/v1/{parent}/images:annotate`\n\n### Path parameters\n\n### Request body\n\nThe request body contains data with the following structure:\n\n### Response body\n\nIf successful, the response body contains an instance of [BatchAnnotateImagesResponse](/distributed-cloud/hosted/docs/latest/gdch/apis/vertex-ai/ocr/rest/v1/BatchAnnotateImagesResponse).\n\n### Authorization Scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n- `https://www.googleapis.com/auth/cloud-vision`"]]