See: Description
Class | Description |
---|---|
StreamingVideoIntelligenceServiceClient |
Service Description: Service that implements Google Cloud Video Intelligence Streaming API.
|
StreamingVideoIntelligenceServiceSettings |
Settings class to configure an instance of
StreamingVideoIntelligenceServiceClient . |
StreamingVideoIntelligenceServiceSettings.Builder |
Builder for StreamingVideoIntelligenceServiceSettings.
|
VideoIntelligenceServiceClient |
Service Description: Service that implements Google Cloud Video Intelligence API.
|
VideoIntelligenceServiceSettings |
Settings class to configure an instance of
VideoIntelligenceServiceClient . |
VideoIntelligenceServiceSettings.Builder |
Builder for VideoIntelligenceServiceSettings.
|
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://demomaker/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);
}
Copyright © 2019 Google LLC. All rights reserved.