Skip to content

Commit 9ba84f6

Browse files
committed
update region tags for detecting-properties page
1 parent e275961 commit 9ba84f6

File tree

1 file changed

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

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -644,6 +644,7 @@ public static void detectTextGcs(String gcsPath, PrintStream out) throws Excepti
644644
* @throws Exception on errors while closing the client.
645645
* @throws IOException on Input/Output errors.
646646
*/
647+
// [START vision_image_property_detection]
647648
public static void detectProperties(String filePath, PrintStream out) throws Exception,
648649
IOException {
649650
List<AnnotateImageRequest> requests = new ArrayList<>();
@@ -679,6 +680,7 @@ public static void detectProperties(String filePath, PrintStream out) throws Exc
679680
}
680681
}
681682
}
683+
// [END vision_image_property_detection]
682684

683685
/**
684686
* Detects image properties such as color frequency from the specified remote image on Google
@@ -689,6 +691,7 @@ public static void detectProperties(String filePath, PrintStream out) throws Exc
689691
* @throws Exception on errors while closing the client.
690692
* @throws IOException on Input/Output errors.
691693
*/
694+
// [START vision_image_property_detection_gcs]
692695
public static void detectPropertiesGcs(String gcsPath, PrintStream out) throws Exception,
693696
IOException {
694697
List<AnnotateImageRequest> requests = new ArrayList<>();
@@ -723,6 +726,7 @@ public static void detectPropertiesGcs(String gcsPath, PrintStream out) throws E
723726
}
724727
}
725728
}
729+
// [END vision_image_property_detection_gcs]
726730

727731
// [START vision_detect_safe_search]
728732
/**

0 commit comments

Comments
 (0)