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

feat: Add TextDetectionParams.advanced_ocr_options #1034

Merged
merged 2 commits into from
Aug 10, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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