Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Image Feature Detection Sample

Open in Cloud Shell

Google Cloud Vision API provides feature detection for images. This API is part of the larger collection of Cloud Machine Learning APIs.

This sample Java application demonstrates how to access the Cloud Vision API using the Google Cloud Client Library for Java.

Build the sample

Install Maven.

Build your project with:

mvn clean package

You can then run Detect via:

mvn exec:java -DDetect -Dexec.args="arg1 'arg 2' arg3"

Localized Objects

mvn exec:java -DDetect -Dexec.args="object-localization ./resources/puppies.jpg"

Hand-written OCR

mvn exec:java -DDetect -Dexec.args="handwritten-ocr ./resources/handwritten.jpg"