Skip to content

Files

This branch is 22506 commits behind googleapis/google-api-java-client-services:main.

Cloud Vision API Client Library for Java

Integrates Google Vision features, including image labeling, face, logo, and landmark detection, optical character recognition (OCR), and detection of explicit content, into applications.

This page contains information about getting started with the Cloud Vision API using the Google API Client Library for Java. In addition, you may be interested in the following documentation:

Installation

Maven

Add the following lines to your pom.xml file:

<project>
  <dependencies>
    <dependency>
      <groupId>com.google.apis</groupId>
      <artifactId>google-api-services-vision</artifactId>
      <version>v1-rev20190927-1.30.3</version>
    </dependency>
  </dependencies>
</project>

Gradle

repositories {
  mavenCentral()
}
dependencies {
  compile 'com.google.apis:google-api-services-vision:v1-rev20190927-1.30.3'
}