Skip navigation links

@Generated(value="by gapic-generator")

Package com.google.cloud.videointelligence.v1p3beta1

A client to Cloud Video Intelligence API.

See: Description

Package com.google.cloud.videointelligence.v1p3beta1 Description

A client to Cloud Video Intelligence API.

The interfaces provided are listed below, along with usage samples.

============================== VideoIntelligenceServiceClient ==============================

Service Description: Service that implements Google Cloud Video Intelligence API.

Sample for VideoIntelligenceServiceClient:

 
 try (VideoIntelligenceServiceClient videoIntelligenceServiceClient = VideoIntelligenceServiceClient.create()) {
   String inputUri = "gs://cloud-samples-data/video/cat.mp4";
   Feature featuresElement = Feature.LABEL_DETECTION;
   List<Feature> features = Arrays.asList(featuresElement);
   AnnotateVideoResponse response = videoIntelligenceServiceClient.annotateVideoAsync(inputUri, features);
 }
 
 
======================================= StreamingVideoIntelligenceServiceClient =======================================

Service Description: Service that implements Google Cloud Video Intelligence Streaming API.

Sample for StreamingVideoIntelligenceServiceClient:

 
 try (StreamingVideoIntelligenceServiceClient streamingVideoIntelligenceServiceClient = StreamingVideoIntelligenceServiceClient.create()) {
   StreamingAnnotateVideoRequest request = StreamingAnnotateVideoRequest.newBuilder().build();
   StreamingAnnotateVideoResponse response = streamingVideoIntelligenceServiceClient.streamingAnnotateVideoCallable(request);
 }
 
 
Skip navigation links

Copyright © 2019 Google LLC. All rights reserved.