Skip to content

Commit 671f09d

Browse files
authored
samples: Udpate Beta Vision samples to use beta tags (#1184)
1 parent f878bf5 commit 671f09d

File tree

1 file changed

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

1 file changed

+8
-8
lines changed

vision/snippets/src/main/java/com/example/vision/Detect.java

+8-8
Original file line numberDiff line numberDiff line change
@@ -1438,7 +1438,7 @@ public static void detectDocumentsGcs(String gcsSourcePath, String gcsDestinatio
14381438
}
14391439
// [END vision_text_detection_pdf_gcs]
14401440

1441-
// [START vision_localize_objects]
1441+
// [START vision_localize_objects_beta]
14421442
/**
14431443
* Detects localized objects in the specified local image.
14441444
*
@@ -1480,9 +1480,9 @@ public static void detectLocalizedObjects(String filePath, PrintStream out)
14801480
}
14811481
}
14821482
}
1483-
// [END vision_localize_objects]
1483+
// [END vision_localize_objects_beta]
14841484

1485-
// [START vision_localize_objects_gcs]
1485+
// [START vision_localize_objects_gcs_beta]
14861486
/**
14871487
* Detects localized objects in a remote image on Google Cloud Storage.
14881488
*
@@ -1525,9 +1525,9 @@ public static void detectLocalizedObjectsGcs(String gcsPath, PrintStream out)
15251525
}
15261526
}
15271527
}
1528-
// [END vision_localize_objects_gcs]
1528+
// [END vision_localize_objects_gcs_beta]
15291529

1530-
// [START vision_handwritten_ocr]
1530+
// [START vision_handwritten_ocr_beta]
15311531
/**
15321532
* Performs handwritten text detection on a local image file.
15331533
*
@@ -1598,9 +1598,9 @@ public static void detectHandwrittenOcr(String filePath, PrintStream out) throws
15981598
}
15991599
}
16001600
}
1601-
// [END vision_handwritten_ocr]
1601+
// [END vision_handwritten_ocr_beta]
16021602

1603-
// [START vision_handwritten_ocr_gcs]
1603+
// [START vision_handwritten_ocr_gcs_beta]
16041604
/**
16051605
* Performs handwritten text detection on a remote image on Google Cloud Storage.
16061606
*
@@ -1672,5 +1672,5 @@ public static void detectHandwrittenOcrGcs(String gcsPath, PrintStream out) thro
16721672
}
16731673
}
16741674
}
1675-
// [END vision_handwritten_ocr_gcs]
1675+
// [END vision_handwritten_ocr_gcs_beta]
16761676
}

0 commit comments

Comments
 (0)