Skip to content

Commit 125573f

Browse files
committed
update PDF detection region tags to standard
1 parent 502cc0e commit 125573f

File tree

2 files changed

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

2 files changed

+4
-4
lines changed

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

Lines changed: 2 additions & 2 deletions
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
/**

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1334,7 +1334,7 @@ public static void detectDocumentTextGcs(String gcsPath, PrintStream out) throws
13341334
}
13351335
// [END vision_fulltext_detection_gcs]
13361336

1337-
// [START vision_async_detect_document_ocr]
1337+
// [START vision_text_detection_pdf_gcs]
13381338
/**
13391339
* Performs document text OCR with PDF/TIFF as source files on Google Cloud Storage.
13401340
*
@@ -1451,5 +1451,5 @@ public static void detectDocumentsGcs(String gcsSourcePath, String gcsDestinatio
14511451
}
14521452
}
14531453
}
1454-
// [END vision_async_detect_document_ocr]
1454+
// [END vision_text_detection_pdf_gcs]
14551455
}

0 commit comments

Comments
 (0)