The Google Cloud Vision API allows users to leverage powerful machine learning algorithms for images such as: image classification, face detection, and reading text within images.
Spring Cloud GCP provides a convenience starter which automatically configures authentication settings and client objects needed to begin using the Google Cloud Vision API.
Maven coordinates, using Spring Cloud GCP BOM:
<dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-gcp-starter-vision</artifactId> </dependency>
Gradle coordinates:
dependencies {
compile group: 'org.springframework.cloud', name: 'spring-cloud-gcp-starter-vision'
}A Sample Spring Boot Application is provided to show how to use the Cloud Vision starter and Cloud Vision APIs.