Todas as amostras de código da Vision

This page contains code samples for Cloud Vision. To search and filter code samples for other Google Cloud products, see the Google Cloud sample browser.

Annotate a batch of files in Cloud Storage

Annotate a batch of files in Cloud Storage while online.

View in documentation

Annotate a batch of files in Cloud Storage (beta)

Annotate a batch of files in Cloud Storage while online.

Annotate a batch of images asynchronously

Annotate a batch of image files in Cloud Storage while off-line.

View in documentation

Annotate a batch of images asynchronously (beta)

Annotate a batch of image files in Cloud Storage while off-line.

Annotate a batch of local files

Annotate a batch of local files while online.

View in documentation

Annotate a batch of local files (beta)

Annotate a batch of local files while online.

Apply crop hints to a local image

Detect a crop region on a local image file.

View in documentation

Detect faces in a file in Cloud Storage

Perform face detection on a file stored in Cloud Storage

View in documentation

Detect faces in a local file

Perform face detection on a local file.

View in documentation

Detect faces in an image

Draw boxes around detected faces in an image.

View in documentation

Detect handwritten text in a Cloud Storage file (beta)

Perform handwritten text detection on a file stored in Cloud Storage (for beta launch).

Detect handwritten text in a local file (beta)

Perform handwritten text detection on a local file (for beta launch).

Detect image properties in a Cloud Storage file

Perform image properties detection on a file stored in Cloud Storage.

View in documentation

Detect image properties in a local file

Perform image properties detection on a local file.

View in documentation

Detect labels in a Cloud Storage file

Perform label detection on a file stored in Google Cloud Storage

View in documentation

Detect labels in a local file

Perform label detection on a local file.

View in documentation

Detect labels on an image

Perform label detection on an image.

Detect landmarks in a Cloud Storage file

Perform landmark detection on a file stored in Cloud Storage.

View in documentation

Detect landmarks in a local file

Perform landmark detection on a local file.

View in documentation

Detect logos in a Cloud Storage image file

Perform logo detection in an image file stored in Cloud Storage.

View in documentation

Detect logos in a local image file.

Perform logo detection on a locally stored image file.

View in documentation

Detect multiple objects in a Cloud Storage file (beta)

Perform object detection for multiple objects in an image on a file stored in Cloud Storage (for beta launch).

Detect multiple objects in a Cloud Storage file.

Perform object detection for multiple objects in an image on a file stored in Cloud Storage.

View in documentation

Detect multiple objects in a local file

Perform object detection for multiple objects in an image on a local file.

View in documentation

Detect multiple objects in a local file (beta)

Perform object detection for multiple objects in an image using on a local file (for beta launch).

Detect safe search on a Cloud Storage file.

Perform safe search detection on a file stored in Cloud Storage.

View in documentation

Detect safe search on a local file

Perform safe search detection on a local file.

View in documentation

Detect text in a Cloud Storage file

Perform text detection on a file stored in Cloud Storage.

View in documentation

Detect text in a document

Draw boxes around the text detected in a document.

Detect text in a document: Bounds

Returns the bounds for the boxes around the text detected in a document.

Detect text in a local file

Perform text detection on a local file.

View in documentation

Detect text in a local file

Perform text detection on a local file.

View in documentation

Detect text in a PDF file in Cloud Storage

Perform optical character recognition (OCR) on a PDF file stored in Cloud Storage.

Detect web annotations in a Cloud Storage file

Perform web annotation detection on a file stored in Cloud Storage.

View in documentation

Detect web annotations in a local file

Perform web annotation detection on a local file.

View in documentation

Import libraries for document text detection

Import the standard libraries to draw boxes around the text detected in a document.

Label detection on a local file

Performs label detection on a local document file.

Process the Cloud Vision API response

Process the Cloud Vision API response when faces are detected in an image.

View in documentation

Running the app for document text detection

Run the app that draw boxes around the text detected in a document.

Running the app for face detection

Run the app that draws boxes around detected faces in an image.

View in documentation

Send a request for face detection

Send a request to the Cloud Vision API to detected faces in an image.

View in documentation

Use geo tagging to detect web annotations on Cloud Storage file

Perform web annotation detection on a file stored in Google Cloud Storage using Geo Tagging

View in documentation

Use geo tagging to detect web annotations on local file

Perform web annotation detection on a local file using geo tagging.

View in documentation

Web detection

Perform web detection on a file, URL, or Cloud Storage URI.

View in documentation

Web detection: annotate

Perform web detection on a file, URL, or Cloud Storage URI.

View in documentation

Web detection: print annotations

Perform web detection on a file, URL, or Cloud Storage URI.

View in documentation

Web detection: run app

Perform web detection on a file, URL, or Cloud Storage URI.

View in documentation