# Cloud Vision API documentation

[Read product documentation](https://docs.cloud.google.com/vision/docs/features-list.md.txt)
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? Gemini Enterprise Agent Platform lets you train an [AutoML model](https://docs.cloud.google.com/gemini-enterprise-agent-platform/machine-learning/beginner/beginners-guide.md.txt) or [custom model](https://docs.cloud.google.com/gemini-enterprise-agent-platform/machine-learning/start/training-guide.md.txt) for computer vision objectives like image classification and object detection.
- Building a mobile device app? Try [ML
  Kit for Firebase](https://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.

## Documentation resources

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

### Guides

-

  [Set up the Vision API](https://docs.cloud.google.com/vision/docs/setup.md.txt)

-


  Quickstarts:
  [Quickstart: Detect labels in an image by using client libraries](https://docs.cloud.google.com/vision/docs/detect-labels-image-client-libraries.md.txt)
  or
  [Quickstart: Detect labels in an image by using the Cloud Vision API](https://docs.cloud.google.com/vision/docs/detect-labels-image-api.md.txt)


-

  [Detect and extract text from images](https://docs.cloud.google.com/vision/docs/ocr.md.txt)

-

  [Detect text in files (PDF/TIFF)](https://docs.cloud.google.com/vision/docs/pdf.md.txt)

-

  [Detect handwriting in images](https://docs.cloud.google.com/vision/docs/handwriting.md.txt)

-

  [Detect faces](https://docs.cloud.google.com/vision/docs/detecting-faces.md.txt)

### Reference

-

  [gcloud vision command-line](https://docs.cloud.google.com/sdk/gcloud/reference/ml/vision)

-

  [REST API](https://docs.cloud.google.com/vision/docs/reference/rest.md.txt)

-

  [RPC API](https://docs.cloud.google.com/vision/docs/reference/rpc.md.txt)

### Resources

-

  [Pricing](https://docs.cloud.google.com/vision/pricing)

-

  [Quotas and limits](https://docs.cloud.google.com/vision/quotas.md.txt)

-

  [Release notes](https://docs.cloud.google.com/vision/docs/release-notes.md.txt)

-

  [Languages](https://docs.cloud.google.com/vision/docs/languages.md.txt)

## 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. Tutorial Training and tutorials

### [OCR tutorial](https://docs.cloud.google.com/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.


Walkthrough 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.


Tutorial Training and tutorials

### [Detect text in images by connecting Functions, Storage, Vision API, Pub/Sub, and the Translation API](https://docs.cloud.google.com/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.


Codelab 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.


Workflow Code Samples

### [Annotating multiple images in a single request and storing output in Cloud Storage](https://docs.cloud.google.com/vision/docs/batch.md.txt)


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

Java Node.js Python Ruby

<br />

Workflow Code Samples

### [Setting a storage and processing location for OCR requests](https://docs.cloud.google.com/vision/docs/pdf.md.txt#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

<br />

Solution Code Samples

### [Detecting and blurring offensive image content](https://docs.cloud.google.com/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

<br />

Solution Code Samples

### [Translating and speaking text from a photo with glossaries (Advanced)](https://docs.cloud.google.com/translate/docs/advanced/hybrid-glossaries-tutorial.md.txt)


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

<br />

Solution Code Samples

### [Detect text in an image (OCR) and draw a border around the found text](https://docs.cloud.google.com/vision/docs/fulltext-annotations.md.txt)


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

Python

<br />

## Related videos