@@ -94,9 +94,9 @@ instance ToJSON LatLng where
94 ("longitude" .=) <$> _llLongitude])
94 ("longitude" .=) <$> _llLongitude])
96-- | The /Feature/ indicates what type of image detection task to perform.
96-- | The /Feature/ indicates what type of image detection task to perform.
97−-- Users describe the type of Vision tasks to perform over images by using
97+-- Users describe the type of Google Cloud Vision API tasks to perform over
98−-- /Feature/s. Features encode the Vision vertical to operate on and the
98+-- images by using /Feature/s. Features encode the Cloud Vision API
99−-- number of top-scoring results to return.
99+-- vertical to operate on and the number of top-scoring results to return.
101-- /See:/ 'feature' smart constructor.
101-- /See:/ 'feature' smart constructor.
102data Feature = Feature'
102data Feature = Feature'
@@ -282,7 +282,7 @@ instance ToJSON Property where
282 (catMaybes
282 (catMaybes
283 [("value" .=) <$> _pValue, ("name" .=) <$> _pName])
283 [("value" .=) <$> _pValue, ("name" .=) <$> _pName])
285−-- | Client image to perform Vision tasks over.
285+-- | Client image to perform Google Cloud Vision API tasks over.
287-- /See:/ 'image' smart constructor.
287-- /See:/ 'image' smart constructor.
288data Image = Image'
288data Image = Image'
@@ -917,7 +917,7 @@ instance ToJSON ImageProperties where
917 (catMaybes
917 (catMaybes
918 [("dominantColors" .=) <$> _ipDominantColors])
918 [("dominantColors" .=) <$> _ipDominantColors])
920−-- | A face annotation contains the results of face detection.
920+-- | A face annotation object contains the results of face detection.
922-- /See:/ 'faceAnnotation' smart constructor.
922-- /See:/ 'faceAnnotation' smart constructor.
923data FaceAnnotation = FaceAnnotation'
923data FaceAnnotation = FaceAnnotation'
@@ -1216,7 +1216,11 @@ eaTopicality
1216eaLocale :: Lens' EntityAnnotation (Maybe Text)
1216eaLocale :: Lens' EntityAnnotation (Maybe Text)
1217eaLocale = lens _eaLocale (\ s a -> s{_eaLocale = a})
1217eaLocale = lens _eaLocale (\ s a -> s{_eaLocale = a})
1219−-- | Image region to which this entity belongs.
1219+-- | Image region to which this entity belongs. Not filled currently for
1220+-- \`LABEL_DETECTION\` features. For \`TEXT_DETECTION\` (OCR),
1221+-- \`boundingPoly\`s are produced for the entire text detected in an image
1222+-- region, followed by \`boundingPoly\`s for each word within the detected
1220eaBoundingPoly :: Lens' EntityAnnotation (Maybe BoundingPoly)
1224eaBoundingPoly :: Lens' EntityAnnotation (Maybe BoundingPoly)
1221eaBoundingPoly
1225eaBoundingPoly
1222 = lens _eaBoundingPoly
1226 = lens _eaBoundingPoly
@@ -1230,8 +1234,9 @@ eaConfidence
1230 = lens _eaConfidence (\ s a -> s{_eaConfidence = a})
1234 = lens _eaConfidence (\ s a -> s{_eaConfidence = a})
1231 . mapping _Coerce
1235 . mapping _Coerce
1233−-- | Knowledge Graph entity ID. Maps to a freebase entity ID. (for example,
1237+-- | Opaque entity ID. Some IDs might be available in Knowledge Graph(KG).
1234−-- \"Google\" maps to: mid \/m\/045c7b).
1238+-- For more details on KG please see:
1239+-- https:\/\/developers.google.com\/knowledge-graph\/
1235eaMid :: Lens' EntityAnnotation (Maybe Text)
1240eaMid :: Lens' EntityAnnotation (Maybe Text)
1236eaMid = lens _eaMid (\ s a -> s{_eaMid = a})
1241eaMid = lens _eaMid (\ s a -> s{_eaMid = a})
@@ -1288,8 +1293,8 @@ instance ToJSON EntityAnnotation where
1288 ("description" .=) <$> _eaDescription,
1293 ("description" .=) <$> _eaDescription,
1289 ("properties" .=) <$> _eaProperties])
1294 ("properties" .=) <$> _eaProperties])
1291−-- | Request for performing Vision tasks over a user-provided image, with
1296+-- | Request for performing Google Cloud Vision API tasks over a
1292−-- user-requested features.
1297+-- user-provided image, with user-requested features.
1294-- /See:/ 'annotateImageRequest' smart constructor.
1299-- /See:/ 'annotateImageRequest' smart constructor.
1295data AnnotateImageRequest = AnnotateImageRequest'
1300data AnnotateImageRequest = AnnotateImageRequest'
@@ -1349,7 +1354,7 @@ instance ToJSON AnnotateImageRequest where
1349 ("features" .=) <$> _airFeatures,
1354 ("features" .=) <$> _airFeatures,
1350 ("imageContext" .=) <$> _airImageContext])
1355 ("imageContext" .=) <$> _airImageContext])
1352−-- | External image source (i.e. Google Cloud Storage image location).
1357+-- | External image source (Google Cloud Storage image location).
1354-- /See:/ 'imageSource' smart constructor.
1359-- /See:/ 'imageSource' smart constructor.
1355newtype ImageSource = ImageSource'
1360newtype ImageSource = ImageSource'
@@ -1369,7 +1374,7 @@ imageSource =
1371-- | Google Cloud Storage image URI. It must be in the following form:
1376-- | Google Cloud Storage image URI. It must be in the following form:
1372−-- \"gs:\/\/bucket_name\/object_name\". For more details, please see:
1377+-- \`gs:\/\/bucket_name\/object_name\`. For more details, please see:
1373-- https:\/\/cloud.google.com\/storage\/docs\/reference-uris. NOTE: Cloud
1378-- https:\/\/cloud.google.com\/storage\/docs\/reference-uris. NOTE: Cloud
1374-- Storage object versioning is not supported!
1379-- Storage object versioning is not supported!
1375isGcsImageURI :: Lens' ImageSource (Maybe Text)
1380isGcsImageURI :: Lens' ImageSource (Maybe Text)