Skip to content

Video Intelligence region tag update #1183

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Aug 16, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions video/beta/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,11 @@
</properties>

<dependencies>
<!-- [START dependencies] -->
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-video-intelligence</artifactId>
<version>0.56.0-beta</version>
</dependency>
<!-- [END dependencies] -->

<!-- Test dependencies -->
<dependency>
Expand Down
4 changes: 2 additions & 2 deletions video/beta/src/main/java/com/example/video/Detect.java
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public static void argsHelper(String[] args) throws Exception {
}
}

// [START video_speech_transcription]
// [START video_speech_transcription_gcs_beta]
/**
* Transcribe speech from a video stored on GCS.
*
Expand Down Expand Up @@ -135,5 +135,5 @@ public static void speechTranscription(String gcsUri) throws Exception {
}
}
}
// [END video_speech_transcription]
// [END video_speech_transcription_gcs_beta]
}
2 changes: 0 additions & 2 deletions video/cloud-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,11 @@
</properties>

<dependencies>
<!-- [START dependencies] -->
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-video-intelligence</artifactId>
<version>0.56.0-beta</version>
</dependency>
<!-- [END dependencies] -->

<!-- Test dependencies -->
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ public static void analyzeLabels(String gcsUri) throws Exception {
* @param filePath the path to the video file to analyze.
*/
public static void analyzeLabelsFile(String filePath) throws Exception {
// [START video_analyze_labels_local]
// [START video_analyze_labels]
// Instantiate a com.google.cloud.videointelligence.v1.VideoIntelligenceServiceClient
try (VideoIntelligenceServiceClient client = VideoIntelligenceServiceClient.create()) {
// Read file and encode into Base64
Expand Down Expand Up @@ -251,7 +251,7 @@ public static void analyzeLabelsFile(String filePath) throws Exception {
}
}
}
// [END video_analyze_labels_local]
// [END video_analyze_labels]
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

package com.example.video;

// [START videointelligence_quickstart]
// [START video_quickstart]

import com.google.api.gax.longrunning.OperationFuture;
import com.google.cloud.videointelligence.v1.AnnotateVideoProgress;
Expand Down Expand Up @@ -81,4 +81,4 @@ public static void main(String[] args) throws Exception {
}
}
}
// [END videointelligence_quickstart]
// [END video_quickstart]