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

Commit

Permalink
feat: Add TextDetectionParams.advanced_ocr_options (#1034)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Aug 10, 2022
1 parent c2e0ad4 commit 828f045
Show file tree
Hide file tree
Showing 8 changed files with 265 additions and 0 deletions.
3 changes: 3 additions & 0 deletions protos/google/cloud/vision/v1/image_annotator.proto
Original file line number Diff line number Diff line change
Expand Up @@ -654,6 +654,9 @@ message TextDetectionParams {
// DOCUMENT_TEXT_DETECTION result. Set the flag to true to include confidence
// score for TEXT_DETECTION as well.
bool enable_text_detection_confidence_score = 9;

// A list of advanced OCR options to fine-tune OCR behavior.
repeated string advanced_ocr_options = 11;
}

// Image context and/or feature-specific parameters.
Expand Down
3 changes: 3 additions & 0 deletions protos/google/cloud/vision/v1p1beta1/image_annotator.proto
Original file line number Diff line number Diff line change
Expand Up @@ -498,6 +498,9 @@ message TextDetectionParams {
// DOCUMENT_TEXT_DETECTION result. Set the flag to true to include confidence
// score for TEXT_DETECTION as well.
bool enable_text_detection_confidence_score = 9;

// A list of advanced OCR options to fine-tune OCR behavior.
repeated string advanced_ocr_options = 11;
}

// Image context and/or feature-specific parameters.
Expand Down
3 changes: 3 additions & 0 deletions protos/google/cloud/vision/v1p2beta1/image_annotator.proto
Original file line number Diff line number Diff line change
Expand Up @@ -529,6 +529,9 @@ message TextDetectionParams {
// DOCUMENT_TEXT_DETECTION result. Set the flag to true to include confidence
// score for TEXT_DETECTION as well.
bool enable_text_detection_confidence_score = 9;

// A list of advanced OCR options to fine-tune OCR behavior.
repeated string advanced_ocr_options = 11;
}

// Image context and/or feature-specific parameters.
Expand Down
3 changes: 3 additions & 0 deletions protos/google/cloud/vision/v1p3beta1/image_annotator.proto
Original file line number Diff line number Diff line change
Expand Up @@ -557,6 +557,9 @@ message TextDetectionParams {
// DOCUMENT_TEXT_DETECTION result. Set the flag to true to include confidence
// score for TEXT_DETECTION as well.
bool enable_text_detection_confidence_score = 9;

// A list of advanced OCR options to fine-tune OCR behavior.
repeated string advanced_ocr_options = 11;
}

// Image context and/or feature-specific parameters.
Expand Down
3 changes: 3 additions & 0 deletions protos/google/cloud/vision/v1p4beta1/image_annotator.proto
Original file line number Diff line number Diff line change
Expand Up @@ -628,6 +628,9 @@ message TextDetectionParams {
// DOCUMENT_TEXT_DETECTION result. Set the flag to true to include confidence
// score for TEXT_DETECTION as well.
bool enable_text_detection_confidence_score = 9;

// A list of advanced OCR options to fine-tune OCR behavior.
repeated string advanced_ocr_options = 11;
}

// Image context and/or feature-specific parameters.
Expand Down
30 changes: 30 additions & 0 deletions protos/protos.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 828f045

Please sign in to comment.