org.springframework.cloud.gcp.vision.CloudVisionTemplate Java Examples
The following examples show how to use
org.springframework.cloud.gcp.vision.CloudVisionTemplate.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: GcpApplication.java From spring_io_2019 with Apache License 2.0 | 5 votes |
VisionDemo( @Value("gs://bootiful/cat.jpg") Resource cat, @Value("gs://bootiful/dog.jpg") Resource dog, CloudVisionTemplate visionTemplate) { this.resource = cat; this.visionTemplate = visionTemplate; }
Example #2
Source File: CloudVisionAutoConfiguration.java From spring-cloud-gcp with Apache License 2.0 | 4 votes |
@Bean @ConditionalOnMissingBean public CloudVisionTemplate cloudVisionTemplate(ImageAnnotatorClient imageAnnotatorClient) { return new CloudVisionTemplate(imageAnnotatorClient); }