@@ -822,7 +822,7 @@ public static void detectSafeSearchGcs(String gcsPath, PrintStream out) throws E
822
822
}
823
823
// [END vision_safe_search_detection_gcs]
824
824
825
- // [START vision_detect_web ]
825
+ // [START vision_web_detection ]
826
826
/**
827
827
* Finds references to the specified image on the web.
828
828
*
@@ -885,9 +885,9 @@ public static void detectWebDetections(String filePath, PrintStream out) throws
885
885
}
886
886
}
887
887
}
888
- // [END vision_detect_web ]
888
+ // [END vision_web_detection ]
889
889
890
- // [START vision_detect_web_uri ]
890
+ // [START vision_web_detection_gcs ]
891
891
/**
892
892
* Detects whether the remote image on Google Cloud Storage has features you would want to
893
893
* moderate.
@@ -950,7 +950,7 @@ public static void detectWebDetectionsGcs(String gcsPath, PrintStream out) throw
950
950
}
951
951
}
952
952
}
953
- // [END vision_detect_web_uri ]
953
+ // [END vision_web_detection_gcs ]
954
954
955
955
/**
956
956
* Find web entities given a local image.
@@ -1025,7 +1025,7 @@ public static void detectWebEntitiesGcs(String gcsPath, PrintStream out) throws
1025
1025
}
1026
1026
}
1027
1027
1028
- // [START vision_web_entities_include_geo_results ]
1028
+ // [START vision_web_detection_include_geo ]
1029
1029
/**
1030
1030
* Find web entities given a local image.
1031
1031
* @param filePath The path of the image to detect.
@@ -1072,9 +1072,9 @@ public static void detectWebEntitiesIncludeGeoResults(String filePath, PrintStre
1072
1072
}));
1073
1073
}
1074
1074
}
1075
- // [END vision_web_entities_include_geo_results ]
1075
+ // [END vision_web_detection_include_geo ]
1076
1076
1077
- // [START vision_web_entities_include_geo_results_uri ]
1077
+ // [START vision_web_detection_include_geo_gcs ]
1078
1078
/**
1079
1079
* Find web entities given the remote image on Google Cloud Storage.
1080
1080
* @param gcsPath The path to the remote file on Google Cloud Storage to detect web entities with
@@ -1123,7 +1123,7 @@ public static void detectWebEntitiesIncludeGeoResultsGcs(String gcsPath, PrintSt
1123
1123
}));
1124
1124
}
1125
1125
}
1126
- // [END vision_web_entities_include_geo_results_uri ]
1126
+ // [END vision_web_detection_include_geo_gcs ]
1127
1127
1128
1128
/**
1129
1129
* Suggests a region to crop to for a local file.
0 commit comments