Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Jul 20, 2023. It is now read-only.
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
13 changes: 13 additions & 0 deletions protos/google/cloud/vision/v1/image_annotator.proto
Original file line number Diff line number Diff line change
Expand Up @@ -664,6 +664,16 @@ message WebDetectionParams {
bool include_geo_results = 2;
}

// Parameters for text detections. This is used to control TEXT_DETECTION and
// DOCUMENT_TEXT_DETECTION features.
message TextDetectionParams {

// By default, Cloud Vision API only includes confidence score for
// 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;
}

// Image context and/or feature-specific parameters.
message ImageContext {
// Not used.
Expand All @@ -687,6 +697,9 @@ message ImageContext {

// Parameters for web detection.
WebDetectionParams web_detection_params = 6;

// Parameters for text detection and document text detection.
TextDetectionParams text_detection_params = 12;
}

// Request for performing Google Cloud Vision API tasks over a user-provided
Expand Down
13 changes: 13 additions & 0 deletions protos/google/cloud/vision/v1p1beta1/image_annotator.proto
Original file line number Diff line number Diff line change
Expand Up @@ -490,6 +490,16 @@ message WebDetectionParams {
bool include_geo_results = 2;
}

// Parameters for text detections. This is used to control TEXT_DETECTION and
// DOCUMENT_TEXT_DETECTION features.
message TextDetectionParams {

// By default, Cloud Vision API only includes confidence score for
// 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;
}

// Image context and/or feature-specific parameters.
message ImageContext {
// lat/long rectangle that specifies the location of the image.
Expand All @@ -510,6 +520,9 @@ message ImageContext {

// Parameters for web detection.
WebDetectionParams web_detection_params = 6;

// Parameters for text detection and document text detection.
TextDetectionParams text_detection_params = 12;
}

// Request for performing Google Cloud Vision API tasks over a user-provided
Expand Down
13 changes: 13 additions & 0 deletions protos/google/cloud/vision/v1p2beta1/image_annotator.proto
Original file line number Diff line number Diff line change
Expand Up @@ -521,6 +521,16 @@ message WebDetectionParams {
bool include_geo_results = 2;
}

// Parameters for text detections. This is used to control TEXT_DETECTION and
// DOCUMENT_TEXT_DETECTION features.
message TextDetectionParams {

// By default, Cloud Vision API only includes confidence score for
// 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;
}

// Image context and/or feature-specific parameters.
message ImageContext {
// Not used.
Expand All @@ -541,6 +551,9 @@ message ImageContext {

// Parameters for web detection.
WebDetectionParams web_detection_params = 6;

// Parameters for text detection and document text detection.
TextDetectionParams text_detection_params = 12;
}

// Request for performing Google Cloud Vision API tasks over a user-provided
Expand Down
13 changes: 13 additions & 0 deletions protos/google/cloud/vision/v1p3beta1/image_annotator.proto
Original file line number Diff line number Diff line change
Expand Up @@ -549,6 +549,16 @@ message WebDetectionParams {
bool include_geo_results = 2;
}

// Parameters for text detections. This is used to control TEXT_DETECTION and
// DOCUMENT_TEXT_DETECTION features.
message TextDetectionParams {

// By default, Cloud Vision API only includes confidence score for
// 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;
}

// Image context and/or feature-specific parameters.
message ImageContext {
// Not used.
Expand All @@ -572,6 +582,9 @@ message ImageContext {

// Parameters for web detection.
WebDetectionParams web_detection_params = 6;

// Parameters for text detection and document text detection.
TextDetectionParams text_detection_params = 12;
}

// Request for performing Google Cloud Vision API tasks over a user-provided
Expand Down
13 changes: 13 additions & 0 deletions protos/google/cloud/vision/v1p4beta1/image_annotator.proto
Original file line number Diff line number Diff line change
Expand Up @@ -620,6 +620,16 @@ message WebDetectionParams {
bool include_geo_results = 2;
}

// Parameters for text detections. This is used to control TEXT_DETECTION and
// DOCUMENT_TEXT_DETECTION features.
message TextDetectionParams {

// By default, Cloud Vision API only includes confidence score for
// 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;
}

// Image context and/or feature-specific parameters.
message ImageContext {
// Not used.
Expand All @@ -646,6 +656,9 @@ message ImageContext {

// Parameters for web detection.
WebDetectionParams web_detection_params = 6;

// Parameters for text detection and document text detection.
TextDetectionParams text_detection_params = 12;
}

// Request for performing Google Cloud Vision API tasks over a user-provided
Expand Down
Loading