Skip to content

Commit

Permalink
Fix vision documentation redirects and references. (#3202)
Browse files Browse the repository at this point in the history
  • Loading branch information
daspecster authored and lukesneeringer committed Mar 27, 2017
1 parent 856b3b6 commit b26750b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/google-cloud-vision/google/cloud/vision/face.py
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ class LandmarkTypes(Enum):
"""A representation of the face detection landmark types.
See:
https://cloud.google.com/vision/reference/rest/v1/images/annotate#Type_1
https://cloud.google.com/vision/docs/reference/rest/v1/images/annotate#type_1
"""
UNKNOWN_LANDMARK = 0
LEFT_EYE = 1
Expand Down
4 changes: 2 additions & 2 deletions packages/google-cloud-vision/google/cloud/vision/feature.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class FeatureTypes(object):
"""Feature Types to indication which annotations to perform.
See:
https://cloud.google.com/vision/reference/rest/v1/images/annotate#Type
https://cloud.google.com/vision/docs/reference/rest/v1/images/annotate#Type
"""
CROP_HINTS = 'CROP_HINTS'
DOCUMENT_TEXT_DETECTION = 'DOCUMENT_TEXT_DETECTION'
Expand All @@ -45,7 +45,7 @@ class Feature(object):
feature type.
See:
https://cloud.google.com/vision/reference/rest/v1/images/annotate#Feature
https://cloud.google.com/vision/docs/reference/rest/v1/images/annotate#Feature
"""
def __init__(self, feature_type, max_results=1):
try:
Expand Down
4 changes: 2 additions & 2 deletions packages/google-cloud-vision/google/cloud/vision/geometry.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ class Position(object):
"""A 3D position in the image.
See:
https://cloud.google.com/vision/reference/rest/v1/images/annotate#Position
https://cloud.google.com/vision/docs/reference/rest/v1/images/annotate#Position
:type x_coordinate: float
:param x_coordinate: X position coordinate.
Expand Down Expand Up @@ -213,7 +213,7 @@ class Vertex(object):
"""A vertex represents a 2D point in the image.
See:
https://cloud.google.com/vision/reference/rest/v1/images/annotate#Vertex
https://cloud.google.com/vision/docs/reference/rest/v1/images/annotate#Vertex
:type x_coordinate: float
:param x_coordinate: X position coordinate.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class Likelihood(Enum):
"""A representation of likelihood to give stable results across upgrades.
See:
https://cloud.google.com/vision/reference/rest/v1/images/annotate#likelihood
https://cloud.google.com/vision/docs/reference/rest/v1/images/annotate#likelihood
"""
UNKNOWN = 'UNKNOWN'
VERY_UNLIKELY = 'VERY_UNLIKELY'
Expand Down

0 comments on commit b26750b

Please sign in to comment.