Skip to content

Commit ab7d443

Browse files
alixhamichingor13
authored andcommitted
samples: Video Intelligence region tag update (#1183)
* updates region tags for analyze-labels page * updates region tags for analyze-labels page * removes unused dependency region tags * updates to beta region tag
1 parent 9a5d861 commit ab7d443

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

video/src/main/java/com/example/video/Detect.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ public static void analyzeLabels(String gcsUri) throws Exception {
173173
* @param filePath the path to the video file to analyze.
174174
*/
175175
public static void analyzeLabelsFile(String filePath) throws Exception {
176-
// [START video_analyze_labels_local]
176+
// [START video_analyze_labels]
177177
// Instantiate a com.google.cloud.videointelligence.v1.VideoIntelligenceServiceClient
178178
try (VideoIntelligenceServiceClient client = VideoIntelligenceServiceClient.create()) {
179179
// Read file and encode into Base64
@@ -251,7 +251,7 @@ public static void analyzeLabelsFile(String filePath) throws Exception {
251251
}
252252
}
253253
}
254-
// [END video_analyze_labels_local]
254+
// [END video_analyze_labels]
255255
}
256256

257257
/**

video/src/main/java/com/example/video/QuickstartSample.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
package com.example.video;
1818

19-
// [START videointelligence_quickstart]
19+
// [START video_quickstart]
2020

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

0 commit comments

Comments
 (0)