Skip to content

Commit b7a783e

Browse files
committed
update region tags for detecting-web page
1 parent 912226c commit b7a783e

File tree

1 file changed

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

1 file changed

+8
-8
lines changed

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -822,7 +822,7 @@ public static void detectSafeSearchGcs(String gcsPath, PrintStream out) throws E
822822
}
823823
// [END vision_safe_search_detection_gcs]
824824

825-
// [START vision_detect_web]
825+
// [START vision_web_detection]
826826
/**
827827
* Finds references to the specified image on the web.
828828
*
@@ -885,9 +885,9 @@ public static void detectWebDetections(String filePath, PrintStream out) throws
885885
}
886886
}
887887
}
888-
// [END vision_detect_web]
888+
// [END vision_web_detection]
889889

890-
// [START vision_detect_web_uri]
890+
// [START vision_web_detection_gcs]
891891
/**
892892
* Detects whether the remote image on Google Cloud Storage has features you would want to
893893
* moderate.
@@ -950,7 +950,7 @@ public static void detectWebDetectionsGcs(String gcsPath, PrintStream out) throw
950950
}
951951
}
952952
}
953-
// [END vision_detect_web_uri]
953+
// [END vision_web_detection_gcs]
954954

955955
/**
956956
* Find web entities given a local image.
@@ -1025,7 +1025,7 @@ public static void detectWebEntitiesGcs(String gcsPath, PrintStream out) throws
10251025
}
10261026
}
10271027

1028-
// [START vision_web_entities_include_geo_results]
1028+
// [START vision_web_detection_include_geo]
10291029
/**
10301030
* Find web entities given a local image.
10311031
* @param filePath The path of the image to detect.
@@ -1072,9 +1072,9 @@ public static void detectWebEntitiesIncludeGeoResults(String filePath, PrintStre
10721072
}));
10731073
}
10741074
}
1075-
// [END vision_web_entities_include_geo_results]
1075+
// [END vision_web_detection_include_geo]
10761076

1077-
// [START vision_web_entities_include_geo_results_uri]
1077+
// [START vision_web_detection_include_geo_gcs]
10781078
/**
10791079
* Find web entities given the remote image on Google Cloud Storage.
10801080
* @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
11231123
}));
11241124
}
11251125
}
1126-
// [END vision_web_entities_include_geo_results_uri]
1126+
// [END vision_web_detection_include_geo_gcs]
11271127

11281128
/**
11291129
* Suggests a region to crop to for a local file.

0 commit comments

Comments
 (0)