# Cloud Vision API documentation  |  Google Cloud Documentation
# Source: https://docs.cloud.google.com/vision/docs
# Path: /vision/docs

  * [ Home ](https://docs.cloud.google.com/)
  * [ Documentation ](https://docs.cloud.google.com/docs)
  * [ AI and ML ](https://docs.cloud.google.com/docs/ai-ml)
  * [ Cloud Vision API ](https://docs.cloud.google.com/vision/docs)



# Cloud Vision API documentation

[Read product documentation](https://docs.cloud.google.com/vision/docs/features-list)

Cloud Vision API allows developers to easily integrate vision detection features within applications, including image labeling, face and landmark detection, optical character recognition (OCR), and tagging of explicit content. 

[Go to the Cloud Vision API product page for more.](https://cloud.google.com/vision/)

  * Need a customized solution? Vertex AI lets you train an [AutoML model](/vertex-ai/docs/beginner/beginners-guide) or [custom model](/vertex-ai/docs/start/training-guide) for computer vision objectives like image classification and object detection. 
  * Building a mobile device app? Try [ML Kit for Firebase](//firebase.google.com/docs/ml-kit/), which provides platform-specific Android and iOS SDKs for using Cloud Vision services, as well as on-device ML Vision APIs and on-device inference using custom ML models. 



[Get started for free](https://console.cloud.google.com/freetrial)

#### Start your proof of concept with $300 in free credit

  * Develop with our latest Generative AI models and tools. 
  * Get free usage of 20+ popular products, including Compute Engine and AI APIs. 
  * No automatic charges, no commitment. 



[ View free product offers ](/free/docs/free-cloud-features#free-tier)

#### Keep exploring with 20+ always-free products.

Access 20+ free products for common use cases, including AI APIs, VMs, data warehouses, and more. 

##  Documentation resources 

Find quickstarts and guides, review key references, and get help with common issues. 

format_list_numbered 

### Guides

  * [ Set up the Vision API ](/vision/docs/setup)

  * Quickstarts: [Quickstart: Detect labels in an image by using client libraries](/vision/docs/detect-labels-image-client-libraries) or [Quickstart: Detect labels in an image by using the Cloud Vision API](/vision/docs/detect-labels-image-api)

  * [ Detect text in images ](/vision/docs/ocr)

  * [ Detect text in files (PDF/TIFF) ](/vision/docs/pdf)

  * [ Detect handwriting in images ](/vision/docs/handwriting)

  * [ Detect faces ](/vision/docs/detecting-faces)




find_in_page 

### Reference

  * [ gcloud vision command-line ](/sdk/gcloud/reference/ml/vision)

  * [ REST API ](/vision/docs/reference/rest)

  * [ RPC API ](/vision/docs/reference/rpc)




info 

### Resources

  * [ Pricing ](/vision/pricing)

  * [ Quotas and limits ](/vision/quotas)

  * [ Release notes ](/vision/docs/release-notes)

  * [ Languages ](/vision/docs/languages)




##  Related resources 

Training and tutorials

Code samples

Explore self-paced training, use cases, reference architectures, and code samples with examples of how to use and connect Google Cloud services. 

Training 

Training and tutorials

###  [ OCR tutorial ](/functions/docs/tutorials/ocr)

Learn how to perform optical character recognition (OCR) on Google Cloud Platform. This tutorial demonstrates how to upload image files to Google Cloud Storage, extract text from the images using the Google Cloud Vision API, translate the text using the Google Cloud Translation API, and save your translations back to Cloud Storage. 

Training 

Training and tutorials

###  [ Create a simple Hello, World! function in the console ](https://console.cloud.google.com/functions/add)

Quickly deploy your first function without any local setup. 

Training 

Training and tutorials

###  [ Big data and ML fundamentals ](http://cloud.google.com/training/course/data-ml-fundamentals)

This one-day instructor-led class introduces participants to the big data and machine learning capabilities of Google Cloud. It provides a quick overview of Google Cloud and a deeper dive into the data processing capabilities. 

Training 

Training and tutorials

###  [ Detect text in images by connecting Functions, Storage, Vision API, Pub/Sub, and the Translation API ](/functions/docs/tutorials/ocr)

React to Cloud Storage changes with a function that processes an image using the Vision API to extract text and then pass it to other services. 

Training 

Training and tutorials

###  [ Automated Classification of Data Uploaded to Cloud Storage with the DLP API and Cloud Functions ](https://codelabs.developers.google.com/codelabs/cloud-storage-dlp-functions/index.html)

Automatically classify data uploaded to Cloud Storage using Pub/Sub, Cloud Functions, and the Data Loss Prevention API. 

Code sample 

Code Samples

###  [ Annotating multiple images in a single request and storing output in Cloud Storage ](/vision/docs/batch)

Run offline (asynchronous) detection services and annotation of a large batch of image files using any Vision feature type. 

Java Node.js Python Ruby

Code sample 

Code Samples

###  [ Setting a storage and processing location for OCR requests ](/vision/docs/pdf#regionalization)

Set a specific region to store and process resources used for an Optical Character Recognition (OCR) request. 

C# Go Java Node.js PHP Python Ruby

Code sample 

Code Samples

###  [ Detecting and blurring offensive image content ](/functions/docs/tutorials/imagemagick)

Demonstrates using the Google Cloud Vision API and ImageMagick to detect and blur offensive images that get uploaded to a Cloud Storage bucket. 

Node.js Python Go Java

Code sample 

Code Samples

###  [ Translating and speaking text from a photo with glossaries (Advanced) ](/translate/docs/advanced/hybrid-glossaries-tutorial)

Use Vision API, Translation API, Text-to-Speech API to detect text in an image, personalize translations, and generate synthetic speech from the translated text. 

Python

Code sample 

Code Samples

###  [ Detect text in an image (OCR) and draw a border around the found text ](/vision/docs/fulltext-annotations)

Use Vision API to identify text in an image, and then annotate an image based on the text that is detected. 

Python

##  Related videos 

###  Try Cloud Vision API for yourself 

Create an account to evaluate how our products perform in real-world scenarios.  
New customers also get $300 in free credits to run, test, and deploy workloads. 

[ Try Cloud Vision API free ](https://console.cloud.google.com/freetrial)

Except as otherwise noted, the content of this page is licensed under the [Creative Commons Attribution 4.0 License](https://creativecommons.org/licenses/by/4.0/), and code samples are licensed under the [Apache 2.0 License](https://www.apache.org/licenses/LICENSE-2.0). For details, see the [Google Developers Site Policies](https://developers.google.com/site-policies). Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-12-17 UTC.

[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-12-17 UTC."],[],[]]