Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Dies ist die REST API-Referenz für die vortrainierte OCR-API, die in der Air-Gap-Appliance von Vertex AI auf Google Distributed Cloud (GDC) enthalten ist. In diesem Leitfaden erfahren Sie, wie Sie Text in Dateien und Bildern programmatisch erkennen.
Dienst: Optische Zeichenerkennung (OCR)
Dienstendpunkt
Ein Dienstendpunkt ist eine Basis-URL, die die Netzwerkadresse eines API-Dienstes angibt. Ein Dienst kann mehrere Dienstendpunkte haben. Dieser Dienst hat den folgenden Dienstendpunkt und URIs, die sich auf diesen Dienstendpunkt beziehen:
https://OCR_ENDPOINT
Ersetzen Sie OCR_ENDPOINT durch den Endpunkt, der für den Zugriff auf die Vertex AI OCR API verwendet wird.
Weitere Informationen finden Sie unter Vertex AI-Dienststatus und -Endpunkte ansehen.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-09-04 (UTC)."],[],[],null,["# Vertex AI Optical Character Recognition API\n\nThis is the REST API reference for the Optical Character Recognition pre-trained API that is included with\nVertex AI on Google Distributed Cloud (GDC) air-gapped appliance. Use this guide to programmatically detect text in files and images.\n\nService: Optical Character Recognition (OCR)\n--------------------------------------------\n\n### Service endpoint\n\nA service endpoint is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and URIs that are relative to this service endpoint:\n\n- `https://`\u003cvar translate=\"no\"\u003eOCR_ENDPOINT\u003c/var\u003e\n\n\nReplace \u003cvar translate=\"no\"\u003eOCR_ENDPOINT\u003c/var\u003e with the endpoint used to access\nVertex AI OCR API.\nFor more information, see\n[View\nVertex AI service statuses and endpoints](/distributed-cloud/hosted/docs/latest/appliance/application/ao-user/vertex-ai-api-status).\n\nREST Resource: [v1.files](/distributed-cloud/hosted/docs/latest/appliance/apis/service/vertex-ai/ocr/rest/v1/files)\n-------------------------------------------------------------------------------------------------------------------\n\nREST Resource: [v1.images](/distributed-cloud/hosted/docs/latest/appliance/apis/service/vertex-ai/ocr/rest/v1/images)\n---------------------------------------------------------------------------------------------------------------------\n\nREST Resource: [v1.projects.files](/distributed-cloud/hosted/docs/latest/appliance/apis/service/vertex-ai/ocr/rest/v1/projects.files)\n-------------------------------------------------------------------------------------------------------------------------------------\n\nREST Resource: [v1.projects.images](/distributed-cloud/hosted/docs/latest/appliance/apis/service/vertex-ai/ocr/rest/v1/projects.images)\n---------------------------------------------------------------------------------------------------------------------------------------\n\nREST Resource: [v1.projects.locations.files](/distributed-cloud/hosted/docs/latest/appliance/apis/service/vertex-ai/ocr/rest/v1/projects.locations.files)\n---------------------------------------------------------------------------------------------------------------------------------------------------------\n\nREST Resource: [v1.projects.locations.images](/distributed-cloud/hosted/docs/latest/appliance/apis/service/vertex-ai/ocr/rest/v1/projects.locations.images)\n-----------------------------------------------------------------------------------------------------------------------------------------------------------"]]