Skip to content
This repository was archived by the owner on Feb 13, 2024. It is now read-only.

Commit cd9c2b9

Browse files
docs: update comments for image annotator OCR models (#485)
* docs: update comments for image annotator OCR models PiperOrigin-RevId: 474070246 Source-Link: googleapis/googleapis@346e2f2 Source-Link: https://github.com/googleapis/googleapis-gen/commit/50b34515fa89525989021be4b6989d49059d8d26 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNTBiMzQ1MTVmYTg5NTI1OTg5MDIxYmU0YjY5ODlkNDkwNTlkOGQyNiJ9 * 🦉 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 deff7fc commit cd9c2b9

File tree

5 files changed

+25
-15
lines changed

5 files changed

+25
-15
lines changed

google/cloud/vision_v1/types/image_annotator.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,11 @@ class Feature(proto.Message):
9797
``TEXT_DETECTION``, ``DOCUMENT_TEXT_DETECTION``, or
9898
``CROP_HINTS``.
9999
model (str):
100-
Model to use for the feature.
101-
Supported values: "builtin/stable" (the default
102-
if unset) and "builtin/latest".
100+
Model to use for the feature. Supported values:
101+
"builtin/stable" (the default if unset) and
102+
"builtin/latest". ``DOCUMENT_TEXT_DETECTION`` and
103+
``TEXT_DETECTION`` also support "builtin/weekly" for the
104+
bleeding edge release updated weekly.
103105
"""
104106

105107
class Type(proto.Enum):

google/cloud/vision_v1p1beta1/types/image_annotator.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,11 @@ class Feature(proto.Message):
7878
max_results (int):
7979
Maximum number of results of this type.
8080
model (str):
81-
Model to use for the feature.
82-
Supported values: "builtin/stable" (the default
83-
if unset) and "builtin/latest".
81+
Model to use for the feature. Supported values:
82+
"builtin/stable" (the default if unset) and
83+
"builtin/latest". ``DOCUMENT_TEXT_DETECTION`` and
84+
``TEXT_DETECTION`` also support "builtin/weekly" for the
85+
bleeding edge release updated weekly.
8486
"""
8587

8688
class Type(proto.Enum):

google/cloud/vision_v1p2beta1/types/image_annotator.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,11 @@ class Feature(proto.Message):
9090
``TEXT_DETECTION``, ``DOCUMENT_TEXT_DETECTION``, or
9191
``CROP_HINTS``.
9292
model (str):
93-
Model to use for the feature.
94-
Supported values: "builtin/stable" (the default
95-
if unset) and "builtin/latest".
93+
Model to use for the feature. Supported values:
94+
"builtin/stable" (the default if unset) and
95+
"builtin/latest". ``DOCUMENT_TEXT_DETECTION`` and
96+
``TEXT_DETECTION`` also support "builtin/weekly" for the
97+
bleeding edge release updated weekly.
9698
"""
9799

98100
class Type(proto.Enum):

google/cloud/vision_v1p3beta1/types/image_annotator.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,11 @@ class Feature(proto.Message):
9292
``TEXT_DETECTION``, ``DOCUMENT_TEXT_DETECTION``, or
9393
``CROP_HINTS``.
9494
model (str):
95-
Model to use for the feature.
96-
Supported values: "builtin/stable" (the default
97-
if unset) and "builtin/latest".
95+
Model to use for the feature. Supported values:
96+
"builtin/stable" (the default if unset) and
97+
"builtin/latest". ``DOCUMENT_TEXT_DETECTION`` and
98+
``TEXT_DETECTION`` also support "builtin/weekly" for the
99+
bleeding edge release updated weekly.
98100
"""
99101

100102
class Type(proto.Enum):

google/cloud/vision_v1p4beta1/types/image_annotator.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,11 @@ class Feature(proto.Message):
9898
``TEXT_DETECTION``, ``DOCUMENT_TEXT_DETECTION``, or
9999
``CROP_HINTS``.
100100
model (str):
101-
Model to use for the feature.
102-
Supported values: "builtin/stable" (the default
103-
if unset) and "builtin/latest".
101+
Model to use for the feature. Supported values:
102+
"builtin/stable" (the default if unset) and
103+
"builtin/latest". ``DOCUMENT_TEXT_DETECTION`` and
104+
``TEXT_DETECTION`` also support "builtin/weekly" for the
105+
bleeding edge release updated weekly.
104106
"""
105107

106108
class Type(proto.Enum):

0 commit comments

Comments
 (0)