Method: projects.images.annotate
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
이미지 배치에 대한 이미지 감지 및 주석을 실행합니다.
HTTP 요청
POST https://vision.googleapis.com/v1/{parent=projects/*}/images:annotate
URL은 gRPC 트랜스코딩 문법을 사용합니다.
경로 매개변수
Parameters |
parent |
string
선택사항입니다. 전화를 걸 프로젝트와 위치를 타겟팅합니다. 형식은 projects/{project-id}/locations/{location-id} 입니다. 상위 요소를 지정하지 않으면 리전이 자동으로 선택됩니다. 지원되는 위치 ID는 다음과 같습니다. us : 미국 국가에만 해당됩니다. asia : 동아시아 지역입니다(예: 일본, 타이완). eu : 유럽 연합입니다. 예: projects/project-A/locations/eu
|
요청 본문
요청 본문에는 다음과 같은 구조의 데이터가 포함됩니다.
필드 |
requests[] |
object (AnnotateImageRequest )
필수 항목입니다. 이 배치에 대한 개별 이미지 주석 요청입니다.
|
응답 본문
성공한 경우 응답 본문에 BatchAnnotateImagesResponse
의 인스턴스가 포함됩니다.
승인 범위
다음 OAuth 범위 중 하나가 필요합니다.
https://www.googleapis.com/auth/cloud-platform
https://www.googleapis.com/auth/cloud-vision
자세한 내용은 인증 개요를 참조하세요.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-30(UTC)
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-07-30(UTC)"],[],[],null,["# Method: projects.images.annotate\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n- [Authorization Scopes](#body.aspect)\n\nRun image detection and annotation for a batch of images.\n\n### HTTP request\n\n`POST https://vision.googleapis.com/v1/{parent=projects/*}/images:annotate`\n\nThe URL uses [gRPC Transcoding](https://github.com/googleapis/googleapis/blob/master/google/api/http.proto) syntax.\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](/vision/product-search/docs/reference/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`\n\nFor more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/)."]]