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/31 (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/31 (UTC)."],[[["\u003cp\u003eThis endpoint facilitates batch image detection and annotation via a POST request to \u003ccode\u003ehttps://{VISION_GDC_ENDPOINT}/v1/images:annotate\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe request body should include an array of \u003ccode\u003erequests\u003c/code\u003e objects, each specifying an \u003ccode\u003eAnnotateImageRequest\u003c/code\u003e, and an optional \u003ccode\u003eparent\u003c/code\u003e field to designate the target project and location.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eparent\u003c/code\u003e field allows you to specify the location where the call will be made, and if left empty a region will be selected automatically.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful requests will receive a \u003ccode\u003eBatchAnnotateImagesResponse\u003c/code\u003e object in the response body.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization for this operation 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: 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/images:annotate`\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`"]]