Skip to content

Commit accf471

Browse files
chore(vision): update the api
#### vision:v1 The following keys were added: - schemas.ImageContext.properties.textDetectionParams (Total Keys: 1) - schemas.TextDetectionParams (Total Keys: 3) #### vision:v1p1beta1 The following keys were added: - schemas.GoogleCloudVisionV1p1beta1ImageContext.properties.textDetectionParams (Total Keys: 1) - schemas.GoogleCloudVisionV1p1beta1TextDetectionParams (Total Keys: 3) #### vision:v1p2beta1 The following keys were added: - schemas.GoogleCloudVisionV1p2beta1ImageContext.properties.textDetectionParams (Total Keys: 1) - schemas.GoogleCloudVisionV1p2beta1TextDetectionParams (Total Keys: 3)
1 parent 8bba0f7 commit accf471

21 files changed

+26056
-25903
lines changed

docs/dyn/vision_v1.files.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,9 @@ <h3>Method Details</h3>
143143
],
144144
&quot;productSet&quot;: &quot;A String&quot;, # The resource name of a ProductSet to be searched for similar images. Format is: `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`.
145145
},
146+
&quot;textDetectionParams&quot;: { # Parameters for text detections. This is used to control TEXT_DETECTION and DOCUMENT_TEXT_DETECTION features. # Parameters for text detection and document text detection.
147+
&quot;enableTextDetectionConfidenceScore&quot;: True or False, # 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.
148+
},
146149
&quot;webDetectionParams&quot;: { # Parameters for web detection request. # Parameters for web detection.
147150
&quot;includeGeoResults&quot;: True or False, # Whether to include results derived from the geo information in the image.
148151
},
@@ -812,6 +815,9 @@ <h3>Method Details</h3>
812815
],
813816
&quot;productSet&quot;: &quot;A String&quot;, # The resource name of a ProductSet to be searched for similar images. Format is: `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`.
814817
},
818+
&quot;textDetectionParams&quot;: { # Parameters for text detections. This is used to control TEXT_DETECTION and DOCUMENT_TEXT_DETECTION features. # Parameters for text detection and document text detection.
819+
&quot;enableTextDetectionConfidenceScore&quot;: True or False, # 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.
820+
},
815821
&quot;webDetectionParams&quot;: { # Parameters for web detection request. # Parameters for web detection.
816822
&quot;includeGeoResults&quot;: True or False, # Whether to include results derived from the geo information in the image.
817823
},

docs/dyn/vision_v1.images.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,9 @@ <h3>Method Details</h3>
150150
],
151151
&quot;productSet&quot;: &quot;A String&quot;, # The resource name of a ProductSet to be searched for similar images. Format is: `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`.
152152
},
153+
&quot;textDetectionParams&quot;: { # Parameters for text detections. This is used to control TEXT_DETECTION and DOCUMENT_TEXT_DETECTION features. # Parameters for text detection and document text detection.
154+
&quot;enableTextDetectionConfidenceScore&quot;: True or False, # 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.
155+
},
153156
&quot;webDetectionParams&quot;: { # Parameters for web detection request. # Parameters for web detection.
154157
&quot;includeGeoResults&quot;: True or False, # Whether to include results derived from the geo information in the image.
155158
},
@@ -801,6 +804,9 @@ <h3>Method Details</h3>
801804
],
802805
&quot;productSet&quot;: &quot;A String&quot;, # The resource name of a ProductSet to be searched for similar images. Format is: `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`.
803806
},
807+
&quot;textDetectionParams&quot;: { # Parameters for text detections. This is used to control TEXT_DETECTION and DOCUMENT_TEXT_DETECTION features. # Parameters for text detection and document text detection.
808+
&quot;enableTextDetectionConfidenceScore&quot;: True or False, # 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.
809+
},
804810
&quot;webDetectionParams&quot;: { # Parameters for web detection request. # Parameters for web detection.
805811
&quot;includeGeoResults&quot;: True or False, # Whether to include results derived from the geo information in the image.
806812
},

docs/dyn/vision_v1.projects.files.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,9 @@ <h3>Method Details</h3>
144144
],
145145
&quot;productSet&quot;: &quot;A String&quot;, # The resource name of a ProductSet to be searched for similar images. Format is: `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`.
146146
},
147+
&quot;textDetectionParams&quot;: { # Parameters for text detections. This is used to control TEXT_DETECTION and DOCUMENT_TEXT_DETECTION features. # Parameters for text detection and document text detection.
148+
&quot;enableTextDetectionConfidenceScore&quot;: True or False, # 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.
149+
},
147150
&quot;webDetectionParams&quot;: { # Parameters for web detection request. # Parameters for web detection.
148151
&quot;includeGeoResults&quot;: True or False, # Whether to include results derived from the geo information in the image.
149152
},
@@ -814,6 +817,9 @@ <h3>Method Details</h3>
814817
],
815818
&quot;productSet&quot;: &quot;A String&quot;, # The resource name of a ProductSet to be searched for similar images. Format is: `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`.
816819
},
820+
&quot;textDetectionParams&quot;: { # Parameters for text detections. This is used to control TEXT_DETECTION and DOCUMENT_TEXT_DETECTION features. # Parameters for text detection and document text detection.
821+
&quot;enableTextDetectionConfidenceScore&quot;: True or False, # 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.
822+
},
817823
&quot;webDetectionParams&quot;: { # Parameters for web detection request. # Parameters for web detection.
818824
&quot;includeGeoResults&quot;: True or False, # Whether to include results derived from the geo information in the image.
819825
},

docs/dyn/vision_v1.projects.images.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,9 @@ <h3>Method Details</h3>
151151
],
152152
&quot;productSet&quot;: &quot;A String&quot;, # The resource name of a ProductSet to be searched for similar images. Format is: `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`.
153153
},
154+
&quot;textDetectionParams&quot;: { # Parameters for text detections. This is used to control TEXT_DETECTION and DOCUMENT_TEXT_DETECTION features. # Parameters for text detection and document text detection.
155+
&quot;enableTextDetectionConfidenceScore&quot;: True or False, # 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.
156+
},
154157
&quot;webDetectionParams&quot;: { # Parameters for web detection request. # Parameters for web detection.
155158
&quot;includeGeoResults&quot;: True or False, # Whether to include results derived from the geo information in the image.
156159
},
@@ -803,6 +806,9 @@ <h3>Method Details</h3>
803806
],
804807
&quot;productSet&quot;: &quot;A String&quot;, # The resource name of a ProductSet to be searched for similar images. Format is: `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`.
805808
},
809+
&quot;textDetectionParams&quot;: { # Parameters for text detections. This is used to control TEXT_DETECTION and DOCUMENT_TEXT_DETECTION features. # Parameters for text detection and document text detection.
810+
&quot;enableTextDetectionConfidenceScore&quot;: True or False, # 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.
811+
},
806812
&quot;webDetectionParams&quot;: { # Parameters for web detection request. # Parameters for web detection.
807813
&quot;includeGeoResults&quot;: True or False, # Whether to include results derived from the geo information in the image.
808814
},

docs/dyn/vision_v1.projects.locations.files.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,9 @@ <h3>Method Details</h3>
144144
],
145145
&quot;productSet&quot;: &quot;A String&quot;, # The resource name of a ProductSet to be searched for similar images. Format is: `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`.
146146
},
147+
&quot;textDetectionParams&quot;: { # Parameters for text detections. This is used to control TEXT_DETECTION and DOCUMENT_TEXT_DETECTION features. # Parameters for text detection and document text detection.
148+
&quot;enableTextDetectionConfidenceScore&quot;: True or False, # 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.
149+
},
147150
&quot;webDetectionParams&quot;: { # Parameters for web detection request. # Parameters for web detection.
148151
&quot;includeGeoResults&quot;: True or False, # Whether to include results derived from the geo information in the image.
149152
},
@@ -814,6 +817,9 @@ <h3>Method Details</h3>
814817
],
815818
&quot;productSet&quot;: &quot;A String&quot;, # The resource name of a ProductSet to be searched for similar images. Format is: `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`.
816819
},
820+
&quot;textDetectionParams&quot;: { # Parameters for text detections. This is used to control TEXT_DETECTION and DOCUMENT_TEXT_DETECTION features. # Parameters for text detection and document text detection.
821+
&quot;enableTextDetectionConfidenceScore&quot;: True or False, # 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.
822+
},
817823
&quot;webDetectionParams&quot;: { # Parameters for web detection request. # Parameters for web detection.
818824
&quot;includeGeoResults&quot;: True or False, # Whether to include results derived from the geo information in the image.
819825
},

docs/dyn/vision_v1.projects.locations.images.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,9 @@ <h3>Method Details</h3>
151151
],
152152
&quot;productSet&quot;: &quot;A String&quot;, # The resource name of a ProductSet to be searched for similar images. Format is: `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`.
153153
},
154+
&quot;textDetectionParams&quot;: { # Parameters for text detections. This is used to control TEXT_DETECTION and DOCUMENT_TEXT_DETECTION features. # Parameters for text detection and document text detection.
155+
&quot;enableTextDetectionConfidenceScore&quot;: True or False, # 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.
156+
},
154157
&quot;webDetectionParams&quot;: { # Parameters for web detection request. # Parameters for web detection.
155158
&quot;includeGeoResults&quot;: True or False, # Whether to include results derived from the geo information in the image.
156159
},
@@ -803,6 +806,9 @@ <h3>Method Details</h3>
803806
],
804807
&quot;productSet&quot;: &quot;A String&quot;, # The resource name of a ProductSet to be searched for similar images. Format is: `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`.
805808
},
809+
&quot;textDetectionParams&quot;: { # Parameters for text detections. This is used to control TEXT_DETECTION and DOCUMENT_TEXT_DETECTION features. # Parameters for text detection and document text detection.
810+
&quot;enableTextDetectionConfidenceScore&quot;: True or False, # 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.
811+
},
806812
&quot;webDetectionParams&quot;: { # Parameters for web detection request. # Parameters for web detection.
807813
&quot;includeGeoResults&quot;: True or False, # Whether to include results derived from the geo information in the image.
808814
},

docs/dyn/vision_v1p1beta1.files.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,9 @@ <h3>Method Details</h3>
143143
],
144144
&quot;productSet&quot;: &quot;A String&quot;, # The resource name of a ProductSet to be searched for similar images. Format is: `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`.
145145
},
146+
&quot;textDetectionParams&quot;: { # Parameters for text detections. This is used to control TEXT_DETECTION and DOCUMENT_TEXT_DETECTION features. # Parameters for text detection and document text detection.
147+
&quot;enableTextDetectionConfidenceScore&quot;: True or False, # 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.
148+
},
146149
&quot;webDetectionParams&quot;: { # Parameters for web detection request. # Parameters for web detection.
147150
&quot;includeGeoResults&quot;: True or False, # Whether to include results derived from the geo information in the image.
148151
},
@@ -812,6 +815,9 @@ <h3>Method Details</h3>
812815
],
813816
&quot;productSet&quot;: &quot;A String&quot;, # The resource name of a ProductSet to be searched for similar images. Format is: `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`.
814817
},
818+
&quot;textDetectionParams&quot;: { # Parameters for text detections. This is used to control TEXT_DETECTION and DOCUMENT_TEXT_DETECTION features. # Parameters for text detection and document text detection.
819+
&quot;enableTextDetectionConfidenceScore&quot;: True or False, # 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.
820+
},
815821
&quot;webDetectionParams&quot;: { # Parameters for web detection request. # Parameters for web detection.
816822
&quot;includeGeoResults&quot;: True or False, # Whether to include results derived from the geo information in the image.
817823
},

docs/dyn/vision_v1p1beta1.images.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,9 @@ <h3>Method Details</h3>
150150
],
151151
&quot;productSet&quot;: &quot;A String&quot;, # The resource name of a ProductSet to be searched for similar images. Format is: `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`.
152152
},
153+
&quot;textDetectionParams&quot;: { # Parameters for text detections. This is used to control TEXT_DETECTION and DOCUMENT_TEXT_DETECTION features. # Parameters for text detection and document text detection.
154+
&quot;enableTextDetectionConfidenceScore&quot;: True or False, # 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.
155+
},
153156
&quot;webDetectionParams&quot;: { # Parameters for web detection request. # Parameters for web detection.
154157
&quot;includeGeoResults&quot;: True or False, # Whether to include results derived from the geo information in the image.
155158
},
@@ -801,6 +804,9 @@ <h3>Method Details</h3>
801804
],
802805
&quot;productSet&quot;: &quot;A String&quot;, # The resource name of a ProductSet to be searched for similar images. Format is: `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`.
803806
},
807+
&quot;textDetectionParams&quot;: { # Parameters for text detections. This is used to control TEXT_DETECTION and DOCUMENT_TEXT_DETECTION features. # Parameters for text detection and document text detection.
808+
&quot;enableTextDetectionConfidenceScore&quot;: True or False, # 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.
809+
},
804810
&quot;webDetectionParams&quot;: { # Parameters for web detection request. # Parameters for web detection.
805811
&quot;includeGeoResults&quot;: True or False, # Whether to include results derived from the geo information in the image.
806812
},

docs/dyn/vision_v1p1beta1.projects.files.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,9 @@ <h3>Method Details</h3>
144144
],
145145
&quot;productSet&quot;: &quot;A String&quot;, # The resource name of a ProductSet to be searched for similar images. Format is: `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`.
146146
},
147+
&quot;textDetectionParams&quot;: { # Parameters for text detections. This is used to control TEXT_DETECTION and DOCUMENT_TEXT_DETECTION features. # Parameters for text detection and document text detection.
148+
&quot;enableTextDetectionConfidenceScore&quot;: True or False, # 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.
149+
},
147150
&quot;webDetectionParams&quot;: { # Parameters for web detection request. # Parameters for web detection.
148151
&quot;includeGeoResults&quot;: True or False, # Whether to include results derived from the geo information in the image.
149152
},
@@ -814,6 +817,9 @@ <h3>Method Details</h3>
814817
],
815818
&quot;productSet&quot;: &quot;A String&quot;, # The resource name of a ProductSet to be searched for similar images. Format is: `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`.
816819
},
820+
&quot;textDetectionParams&quot;: { # Parameters for text detections. This is used to control TEXT_DETECTION and DOCUMENT_TEXT_DETECTION features. # Parameters for text detection and document text detection.
821+
&quot;enableTextDetectionConfidenceScore&quot;: True or False, # 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.
822+
},
817823
&quot;webDetectionParams&quot;: { # Parameters for web detection request. # Parameters for web detection.
818824
&quot;includeGeoResults&quot;: True or False, # Whether to include results derived from the geo information in the image.
819825
},

docs/dyn/vision_v1p1beta1.projects.images.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,9 @@ <h3>Method Details</h3>
151151
],
152152
&quot;productSet&quot;: &quot;A String&quot;, # The resource name of a ProductSet to be searched for similar images. Format is: `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`.
153153
},
154+
&quot;textDetectionParams&quot;: { # Parameters for text detections. This is used to control TEXT_DETECTION and DOCUMENT_TEXT_DETECTION features. # Parameters for text detection and document text detection.
155+
&quot;enableTextDetectionConfidenceScore&quot;: True or False, # 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.
156+
},
154157
&quot;webDetectionParams&quot;: { # Parameters for web detection request. # Parameters for web detection.
155158
&quot;includeGeoResults&quot;: True or False, # Whether to include results derived from the geo information in the image.
156159
},
@@ -803,6 +806,9 @@ <h3>Method Details</h3>
803806
],
804807
&quot;productSet&quot;: &quot;A String&quot;, # The resource name of a ProductSet to be searched for similar images. Format is: `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`.
805808
},
809+
&quot;textDetectionParams&quot;: { # Parameters for text detections. This is used to control TEXT_DETECTION and DOCUMENT_TEXT_DETECTION features. # Parameters for text detection and document text detection.
810+
&quot;enableTextDetectionConfidenceScore&quot;: True or False, # 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.
811+
},
806812
&quot;webDetectionParams&quot;: { # Parameters for web detection request. # Parameters for web detection.
807813
&quot;includeGeoResults&quot;: True or False, # Whether to include results derived from the geo information in the image.
808814
},

0 commit comments

Comments
 (0)