@@ -644,6 +644,7 @@ public static void detectTextGcs(String gcsPath, PrintStream out) throws Excepti
644
644
* @throws Exception on errors while closing the client.
645
645
* @throws IOException on Input/Output errors.
646
646
*/
647
+ // [START vision_image_property_detection]
647
648
public static void detectProperties (String filePath , PrintStream out ) throws Exception ,
648
649
IOException {
649
650
List <AnnotateImageRequest > requests = new ArrayList <>();
@@ -679,6 +680,7 @@ public static void detectProperties(String filePath, PrintStream out) throws Exc
679
680
}
680
681
}
681
682
}
683
+ // [END vision_image_property_detection]
682
684
683
685
/**
684
686
* 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
689
691
* @throws Exception on errors while closing the client.
690
692
* @throws IOException on Input/Output errors.
691
693
*/
694
+ // [START vision_image_property_detection_gcs]
692
695
public static void detectPropertiesGcs (String gcsPath , PrintStream out ) throws Exception ,
693
696
IOException {
694
697
List <AnnotateImageRequest > requests = new ArrayList <>();
@@ -723,6 +726,7 @@ public static void detectPropertiesGcs(String gcsPath, PrintStream out) throws E
723
726
}
724
727
}
725
728
}
729
+ // [END vision_image_property_detection_gcs]
726
730
727
731
// [START vision_detect_safe_search]
728
732
/**
0 commit comments