Skip to content

Commit f878bf5

Browse files
alixhaminnegrey
authored andcommitted
samples: Vision region tag update (#1182)
* updates region tags for detecting-crop-hints page * updates region tags for detecting-faces page * updates region tags for detecting-fulltext page * updates region tags for detecting-labels page * updates region tags for detecting-landmarks page * update region tags for detect-logos page * update region tags for detecting-properties page * update region tags for detecting-safe-search page * update region tags for detecting-text page * update region tags for detecting-web page * update beta tags to standard * update PDF detection region tags to standard * updates product search region tags to standard * fix label detection tag * remove region tags from imports * updates to mirror python files * Fix indentation
1 parent a29ccf3 commit f878bf5

File tree

1 file changed

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

1 file changed

+6
-6
lines changed

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

+6-6
Original file line numberDiff line numberDiff line change
@@ -1319,7 +1319,7 @@ public static void detectDocumentTextGcs(String gcsPath, PrintStream out) throws
13191319
}
13201320
// [END vision_detect_document_uri]
13211321

1322-
// [START vision_async_detect_document_ocr]
1322+
// [START vision_text_detection_pdf_gcs]
13231323
/**
13241324
* Performs document text OCR with PDF/TIFF as source files on Google Cloud Storage.
13251325
*
@@ -1436,7 +1436,7 @@ public static void detectDocumentsGcs(String gcsSourcePath, String gcsDestinatio
14361436
}
14371437
}
14381438
}
1439-
// [END vision_async_detect_document_ocr]
1439+
// [END vision_text_detection_pdf_gcs]
14401440

14411441
// [START vision_localize_objects]
14421442
/**
@@ -1482,7 +1482,7 @@ public static void detectLocalizedObjects(String filePath, PrintStream out)
14821482
}
14831483
// [END vision_localize_objects]
14841484

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

15301530
// [START vision_handwritten_ocr]
15311531
/**
@@ -1600,7 +1600,7 @@ public static void detectHandwrittenOcr(String filePath, PrintStream out) throws
16001600
}
16011601
// [END vision_handwritten_ocr]
16021602

1603-
// [START vision_handwritten_ocr_uri]
1603+
// [START vision_handwritten_ocr_gcs]
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_uri]
1675+
// [END vision_handwritten_ocr_gcs]
16761676
}

0 commit comments

Comments
 (0)