Vision Feature#
Feature#
Feature represenging various types of annotating.
-
class
google.cloud.vision.feature.Feature(feature_type, max_results=1)[source]# Bases:
objectFeature object specifying the annotation type and maximum results.
Parameters: See: https://cloud.google.com/vision/reference/rest/v1/images/annotate#Feature
-
feature_type# “Feature type string.
-
max_results# Maximum number of results for feature type.
-
-
class
google.cloud.vision.feature.FeatureTypes[source]# Bases:
objectFeature Types to indication which annotations to perform.
See: https://cloud.google.com/vision/reference/rest/v1/images/annotate#Type
-
FACE_DETECTION= 'FACE_DETECTION'#
-
LABEL_DETECTION= 'LABEL_DETECTION'#
-
LANDMARK_DETECTION= 'LANDMARK_DETECTION'#
-
LOGO_DETECTION= 'LOGO_DETECTION'#
-
SAFE_SEARCH_DETECTION= 'SAFE_SEARCH_DETECTION'#
-
TEXT_DETECTION= 'TEXT_DETECTION'#
-