Skip to content

Commit acaf236

Browse files
committed
fix label detection tag
1 parent 9c6a807 commit acaf236

File tree

1 file changed

+2
-2
lines changed
  • vision/cloud-client/src/main/java/com/example/vision

1 file changed

+2
-2
lines changed

vision/cloud-client/src/main/java/com/example/vision/Detect.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ public static void detectFacesGcs(String gcsPath, PrintStream out) throws Except
291291
* @throws Exception on errors while closing the client.
292292
* @throws IOException on Input/Output errors.
293293
*/
294-
// [START vision_logo_detection]
294+
// [START vision_label_detection]
295295
public static void detectLabels(String filePath, PrintStream out) throws Exception, IOException {
296296
List<AnnotateImageRequest> requests = new ArrayList<>();
297297

@@ -320,7 +320,7 @@ public static void detectLabels(String filePath, PrintStream out) throws Excepti
320320
}
321321
}
322322
}
323-
// [END vision_logo_detection]
323+
// [END vision_label_detection]
324324

325325
/**
326326
* Detects labels in the specified remote image on Google Cloud Storage.

0 commit comments

Comments
 (0)