Skip to content
This repository was archived by the owner on Jul 20, 2023. It is now read-only.

Commit 828f045

Browse files
feat: Add TextDetectionParams.advanced_ocr_options (#1034)
* feat: Add TextDetectionParams.advanced_ocr_options Advanced OCR options allow users to customize behavior for a specific OCR engine version. PiperOrigin-RevId: 465402148 Source-Link: googleapis/googleapis@ad64930 Source-Link: https://github.com/googleapis/googleapis-gen/commit/5d2c8b2b1cb0d15bf7243513a5543a9ec3ecd778 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNWQyYzhiMmIxY2IwZDE1YmY3MjQzNTEzYTU1NDNhOWVjM2VjZDc3OCJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent c2e0ad4 commit 828f045

File tree

8 files changed

+265
-0
lines changed

8 files changed

+265
-0
lines changed

protos/google/cloud/vision/v1/image_annotator.proto

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -654,6 +654,9 @@ message TextDetectionParams {
654654
// DOCUMENT_TEXT_DETECTION result. Set the flag to true to include confidence
655655
// score for TEXT_DETECTION as well.
656656
bool enable_text_detection_confidence_score = 9;
657+
658+
// A list of advanced OCR options to fine-tune OCR behavior.
659+
repeated string advanced_ocr_options = 11;
657660
}
658661

659662
// Image context and/or feature-specific parameters.

protos/google/cloud/vision/v1p1beta1/image_annotator.proto

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -498,6 +498,9 @@ message TextDetectionParams {
498498
// DOCUMENT_TEXT_DETECTION result. Set the flag to true to include confidence
499499
// score for TEXT_DETECTION as well.
500500
bool enable_text_detection_confidence_score = 9;
501+
502+
// A list of advanced OCR options to fine-tune OCR behavior.
503+
repeated string advanced_ocr_options = 11;
501504
}
502505

503506
// Image context and/or feature-specific parameters.

protos/google/cloud/vision/v1p2beta1/image_annotator.proto

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -529,6 +529,9 @@ message TextDetectionParams {
529529
// DOCUMENT_TEXT_DETECTION result. Set the flag to true to include confidence
530530
// score for TEXT_DETECTION as well.
531531
bool enable_text_detection_confidence_score = 9;
532+
533+
// A list of advanced OCR options to fine-tune OCR behavior.
534+
repeated string advanced_ocr_options = 11;
532535
}
533536

534537
// Image context and/or feature-specific parameters.

protos/google/cloud/vision/v1p3beta1/image_annotator.proto

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -557,6 +557,9 @@ message TextDetectionParams {
557557
// DOCUMENT_TEXT_DETECTION result. Set the flag to true to include confidence
558558
// score for TEXT_DETECTION as well.
559559
bool enable_text_detection_confidence_score = 9;
560+
561+
// A list of advanced OCR options to fine-tune OCR behavior.
562+
repeated string advanced_ocr_options = 11;
560563
}
561564

562565
// Image context and/or feature-specific parameters.

protos/google/cloud/vision/v1p4beta1/image_annotator.proto

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -628,6 +628,9 @@ message TextDetectionParams {
628628
// DOCUMENT_TEXT_DETECTION result. Set the flag to true to include confidence
629629
// score for TEXT_DETECTION as well.
630630
bool enable_text_detection_confidence_score = 9;
631+
632+
// A list of advanced OCR options to fine-tune OCR behavior.
633+
repeated string advanced_ocr_options = 11;
631634
}
632635

633636
// Image context and/or feature-specific parameters.

protos/protos.d.ts

Lines changed: 30 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)