Hello community, here is the log from the commit of package ghc-gogol-vision for openSUSE:Factory checked in at 2017-08-31 20:55:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-gogol-vision (Old) and /work/SRC/openSUSE:Factory/.ghc-gogol-vision.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "ghc-gogol-vision" Thu Aug 31 20:55:21 2017 rev:2 rq:513353 version:0.3.0 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-gogol-vision/ghc-gogol-vision.changes 2017-05-10 20:44:31.489583466 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-gogol-vision.new/ghc-gogol-vision.changes 2017-08-31 20:55:23.428462323 +0200 @@ -1,0 +2,5 @@ +Thu Jul 27 14:07:49 UTC 2017 - psimons@suse.com + +- Update to version 0.3.0. + +------------------------------------------------------------------- Old: ---- gogol-vision-0.1.1.tar.gz New: ---- gogol-vision-0.3.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-gogol-vision.spec ++++++ --- /var/tmp/diff_new_pack.h1ikue/_old 2017-08-31 20:55:24.596298238 +0200 +++ /var/tmp/diff_new_pack.h1ikue/_new 2017-08-31 20:55:24.624294305 +0200 @@ -18,7 +18,7 @@ %global pkg_name gogol-vision Name: ghc-%{pkg_name} -Version: 0.1.1 +Version: 0.3.0 Release: 0 Summary: Google Cloud Vision SDK License: MPL-2.0 ++++++ gogol-vision-0.1.1.tar.gz -> gogol-vision-0.3.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gogol-vision-0.1.1/README.md new/gogol-vision-0.3.0/README.md --- old/gogol-vision-0.1.1/README.md 2016-11-03 14:26:26.000000000 +0100 +++ new/gogol-vision-0.3.0/README.md 2017-07-12 16:45:05.000000000 +0200 @@ -8,7 +8,7 @@ ## Version -`0.1.1` +`0.3.0` ## Description diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gogol-vision-0.1.1/gen/Network/Google/Vision/Types/Product.hs new/gogol-vision-0.3.0/gen/Network/Google/Vision/Types/Product.hs --- old/gogol-vision-0.1.1/gen/Network/Google/Vision/Types/Product.hs 2016-11-03 14:26:26.000000000 +0100 +++ new/gogol-vision-0.3.0/gen/Network/Google/Vision/Types/Product.hs 2017-07-12 16:45:05.000000000 +0200 @@ -44,7 +44,9 @@ -- NormalizeLatLng(-180.0, 10.0) assert (0.0, -170.0) == -- NormalizeLatLng(180.0, 10.0) assert (-90.0, 10.0) == -- NormalizeLatLng(270.0, 10.0) assert (90.0, 10.0) == --- NormalizeLatLng(-270.0, 10.0) +-- NormalizeLatLng(-270.0, 10.0) The code in +-- logs\/storage\/validator\/logs_validator_traits.cc treats this type as +-- if it were annotated as ST_LOCATION. -- -- /See:/ 'latLng' smart constructor. data LatLng = LatLng' @@ -93,10 +95,10 @@ [("latitude" .=) <$> _llLatitude, ("longitude" .=) <$> _llLongitude]) --- | The /Feature/ indicates what type of image detection task to perform. --- Users describe the type of Google Cloud Vision API tasks to perform over --- images by using /Feature/s. Features encode the Cloud Vision API --- vertical to operate on and the number of top-scoring results to return. +-- | Users describe the type of Google Cloud Vision API tasks to perform over +-- images by using *Feature*s. Each Feature indicates a type of image +-- detection task to perform. Features encode the Cloud Vision API vertical +-- to operate on and the number of top-scoring results to return. -- -- /See:/ 'feature' smart constructor. data Feature = Feature' @@ -239,7 +241,7 @@ ("code" .=) <$> _sCode, ("message" .=) <$> _sMessage]) --- | Arbitrary name\/value pair. +-- | A \`Property\` consists of a user-supplied name\/value pair. -- -- /See:/ 'property' smart constructor. data Property = Property' @@ -286,7 +288,7 @@ -- -- /See:/ 'image' smart constructor. data Image = Image' - { _iContent :: !(Maybe Base64) + { _iContent :: !(Maybe Bytes) , _iSource :: !(Maybe ImageSource) } deriving (Eq,Show,Data,Typeable,Generic) @@ -311,11 +313,11 @@ iContent :: Lens' Image (Maybe ByteString) iContent = lens _iContent (\ s a -> s{_iContent = a}) . - mapping _Base64 + mapping _Bytes --- | Google Cloud Storage image location. If both \'content\' and \'source\' --- are filled for an image, \'content\' takes precedence and it will be --- used for performing the image annotation request. +-- | Google Cloud Storage image location. If both \`content\` and \`source\` +-- are provided for an image, \`content\` takes precedence and is used to +-- perform the image annotation request. iSource :: Lens' Image (Maybe ImageSource) iSource = lens _iSource (\ s a -> s{_iSource = a}) @@ -333,9 +335,9 @@ ("source" .=) <$> _iSource]) -- | A face-specific landmark (for example, a face feature). Landmark --- positions may fall outside the bounds of the image when the face is near --- one or more edges of the image. Therefore it is NOT guaranteed that 0 --- \<= x \< width or 0 \<= y \< height. +-- positions may fall outside the bounds of the image if the face is near +-- one or more edges of the image. Therefore it is NOT guaranteed that \`0 +-- \<= x \< width\` or \`0 \<= y \< height\`. -- -- /See:/ 'landmark' smart constructor. data Landmark = Landmark' @@ -600,7 +602,7 @@ { _liLatLng = Nothing } --- | Lat - long location coordinates. +-- | lat\/long location coordinates. liLatLng :: Lens' LocationInfo (Maybe LatLng) liLatLng = lens _liLatLng (\ s a -> s{_liLatLng = a}) @@ -685,8 +687,8 @@ = object (catMaybes [("requests" .=) <$> _bairRequests]) --- | Color information consists of RGB channels, score and fraction of image --- the color occupies in the image. +-- | Color information consists of RGB channels, score, and the fraction of +-- the image that the color occupies in the image. -- -- /See:/ 'colorInfo' smart constructor. data ColorInfo = ColorInfo' @@ -723,8 +725,8 @@ = lens _ciScore (\ s a -> s{_ciScore = a}) . mapping _Coerce --- | Stores the fraction of pixels the color occupies in the image. Value in --- range [0, 1]. +-- | The fraction of pixels the color occupies in the image. Value in range +-- [0, 1]. ciPixelFraction :: Lens' ColorInfo (Maybe Double) ciPixelFraction = lens _ciPixelFraction @@ -794,7 +796,7 @@ , _airImagePropertiesAnnotation = Nothing } --- | If present, logo detection completed successfully. +-- | If present, logo detection has completed successfully. airLogoAnnotations :: Lens' AnnotateImageResponse [EntityAnnotation] airLogoAnnotations = lens _airLogoAnnotations @@ -802,7 +804,7 @@ . _Default . _Coerce --- | If present, label detection completed successfully. +-- | If present, label detection has completed successfully. airLabelAnnotations :: Lens' AnnotateImageResponse [EntityAnnotation] airLabelAnnotations = lens _airLabelAnnotations @@ -810,7 +812,7 @@ . _Default . _Coerce --- | If present, face detection completed successfully. +-- | If present, face detection has completed successfully. airFaceAnnotations :: Lens' AnnotateImageResponse [FaceAnnotation] airFaceAnnotations = lens _airFaceAnnotations @@ -819,18 +821,18 @@ . _Coerce -- | If set, represents the error message for the operation. Note that --- filled-in mage annotations are guaranteed to be correct, even when --- 'error' is non-empty. +-- filled-in image annotations are guaranteed to be correct, even when +-- \`error\` is set. airError :: Lens' AnnotateImageResponse (Maybe Status) airError = lens _airError (\ s a -> s{_airError = a}) --- | If present, safe-search annotation completed successfully. +-- | If present, safe-search annotation has completed successfully. airSafeSearchAnnotation :: Lens' AnnotateImageResponse (Maybe SafeSearchAnnotation) airSafeSearchAnnotation = lens _airSafeSearchAnnotation (\ s a -> s{_airSafeSearchAnnotation = a}) --- | If present, landmark detection completed successfully. +-- | If present, landmark detection has completed successfully. airLandmarkAnnotations :: Lens' AnnotateImageResponse [EntityAnnotation] airLandmarkAnnotations = lens _airLandmarkAnnotations @@ -838,7 +840,7 @@ . _Default . _Coerce --- | If present, text (OCR) detection completed successfully. +-- | If present, text (OCR) detection has completed successfully. airTextAnnotations :: Lens' AnnotateImageResponse [EntityAnnotation] airTextAnnotations = lens _airTextAnnotations @@ -882,7 +884,7 @@ ("imagePropertiesAnnotation" .=) <$> _airImagePropertiesAnnotation]) --- | Stores image properties (e.g. dominant colors). +-- | Stores image properties, such as dominant colors. -- -- /See:/ 'imageProperties' smart constructor. newtype ImageProperties = ImageProperties' @@ -994,8 +996,8 @@ , _faLandmarks = Nothing } --- | Pitch angle. Indicates the upwards\/downwards angle that the face is --- pointing relative to the image\'s horizontal plane. Range [-180,180]. +-- | Pitch angle, which indicates the upwards\/downwards angle that the face +-- is pointing relative to the image\'s horizontal plane. Range [-180,180]. faTiltAngle :: Lens' FaceAnnotation (Maybe Double) faTiltAngle = lens _faTiltAngle (\ s a -> s{_faTiltAngle = a}) . @@ -1008,12 +1010,12 @@ (\ s a -> s{_faBlurredLikelihood = a}) -- | The bounding polygon around the face. The coordinates of the bounding --- box are in the original image\'s scale, as returned in ImageParams. The --- bounding box is computed to \"frame\" the face in accordance with human --- expectations. It is based on the landmarker results. Note that one or --- more x and\/or y coordinates may not be generated in the BoundingPoly --- (the polygon will be unbounded) if only a partial face appears in the --- image to be annotated. +-- box are in the original image\'s scale, as returned in \`ImageParams\`. +-- The bounding box is computed to \"frame\" the face in accordance with +-- human expectations. It is based on the landmarker results. Note that one +-- or more x and\/or y coordinates may not be generated in the +-- \`BoundingPoly\` (the polygon will be unbounded) if only a partial face +-- appears in the image to be annotated. faBoundingPoly :: Lens' FaceAnnotation (Maybe BoundingPoly) faBoundingPoly = lens _faBoundingPoly @@ -1032,17 +1034,17 @@ (\ s a -> s{_faLandmarkingConfidence = a}) . mapping _Coerce --- | Yaw angle. Indicates the leftward\/rightward angle that the face is --- pointing, relative to the vertical plane perpendicular to the image. +-- | Yaw angle, which indicates the leftward\/rightward angle that the face +-- is pointing relative to the vertical plane perpendicular to the image. -- Range [-180,180]. faPanAngle :: Lens' FaceAnnotation (Maybe Double) faPanAngle = lens _faPanAngle (\ s a -> s{_faPanAngle = a}) . mapping _Coerce --- | Roll angle. Indicates the amount of clockwise\/anti-clockwise rotation --- of the face relative to the image vertical, about the axis perpendicular --- to the face. Range [-180,180]. +-- | Roll angle, which indicates the amount of clockwise\/anti-clockwise +-- rotation of the face relative to the image vertical about the axis +-- perpendicular to the face. Range [-180,180]. faRollAngle :: Lens' FaceAnnotation (Maybe Double) faRollAngle = lens _faRollAngle (\ s a -> s{_faRollAngle = a}) . @@ -1054,12 +1056,12 @@ = lens _faUnderExposedLikelihood (\ s a -> s{_faUnderExposedLikelihood = a}) --- | This bounding polygon is tighter than the previous 'boundingPoly', and --- encloses only the skin part of the face. Typically, it is used to --- eliminate the face from any image analysis that detects the \"amount of --- skin\" visible in an image. It is not based on the landmarker results, --- only on the initial face detection, hence the 'fd' (face detection) --- prefix. +-- | The \`fd_bounding_poly\` bounding polygon is tighter than the +-- \`boundingPoly\`, and encloses only the skin part of the face. +-- Typically, it is used to eliminate the face from any image analysis that +-- detects the \"amount of skin\" visible in an image. It is not based on +-- the landmarker results, only on the initial face detection, hence the +-- 'fd' (face detection) prefix. faFdBoundingPoly :: Lens' FaceAnnotation (Maybe BoundingPoly) faFdBoundingPoly = lens _faFdBoundingPoly @@ -1204,21 +1206,21 @@ mapping _Coerce -- | The relevancy of the ICA (Image Content Annotation) label to the image. --- For example, the relevancy of \'tower\' to an image containing \'Eiffel --- Tower\' is likely higher than an image containing a distant towering --- building, though the confidence that there is a tower may be the same. --- Range [0, 1]. +-- For example, the relevancy of \"tower\" is likely higher to an image +-- containing the detected \"Eiffel Tower\" than to an image containing a +-- detected distant towering building, even though the confidence that +-- there is a tower in each image may be the same. Range [0, 1]. eaTopicality :: Lens' EntityAnnotation (Maybe Double) eaTopicality = lens _eaTopicality (\ s a -> s{_eaTopicality = a}) . mapping _Coerce -- | The language code for the locale in which the entity textual --- 'description' (next field) is expressed. +-- \`description\` is expressed. eaLocale :: Lens' EntityAnnotation (Maybe Text) eaLocale = lens _eaLocale (\ s a -> s{_eaLocale = a}) --- | Image region to which this entity belongs. Not filled currently for +-- | Image region to which this entity belongs. Currently not produced for -- \`LABEL_DETECTION\` features. For \`TEXT_DETECTION\` (OCR), -- \`boundingPoly\`s are produced for the entire text detected in an image -- region, followed by \`boundingPoly\`s for each word within the detected @@ -1229,38 +1231,38 @@ (\ s a -> s{_eaBoundingPoly = a}) -- | The accuracy of the entity detection in an image. For example, for an --- image containing \'Eiffel Tower,\' this field represents the confidence --- that there is a tower in the query image. Range [0, 1]. +-- image in which the \"Eiffel Tower\" entity is detected, this field +-- represents the confidence that there is a tower in the query image. +-- Range [0, 1]. eaConfidence :: Lens' EntityAnnotation (Maybe Double) eaConfidence = lens _eaConfidence (\ s a -> s{_eaConfidence = a}) . mapping _Coerce --- | Opaque entity ID. Some IDs might be available in Knowledge Graph(KG). --- For more details on KG please see: --- https:\/\/developers.google.com\/knowledge-graph\/ +-- | Opaque entity ID. Some IDs may be available in [Google Knowledge Graph +-- Search API](https:\/\/developers.google.com\/knowledge-graph\/). eaMid :: Lens' EntityAnnotation (Maybe Text) eaMid = lens _eaMid (\ s a -> s{_eaMid = a}) -- | The location information for the detected entity. Multiple --- 'LocationInfo' elements can be present since one location may indicate --- the location of the scene in the query image, and another the location --- of the place where the query image was taken. Location information is --- usually present for landmarks. +-- \`LocationInfo\` elements can be present because one location may +-- indicate the location of the scene in the image, and another location +-- may indicate the location of the place where the image was taken. +-- Location information is usually present for landmarks. eaLocations :: Lens' EntityAnnotation [LocationInfo] eaLocations = lens _eaLocations (\ s a -> s{_eaLocations = a}) . _Default . _Coerce --- | Entity textual description, expressed in its 'locale' language. +-- | Entity textual description, expressed in its \`locale\` language. eaDescription :: Lens' EntityAnnotation (Maybe Text) eaDescription = lens _eaDescription (\ s a -> s{_eaDescription = a}) --- | Some entities can have additional optional 'Property' fields. For --- example a different kind of score or string that qualifies the entity. +-- | Some entities may have optional user-supplied \`Property\` (name\/value) +-- fields, such a score or string that qualifies the entity. eaProperties :: Lens' EntityAnnotation [Property] eaProperties = lens _eaProperties (\ s a -> s{_eaProperties = a}) @@ -1375,10 +1377,11 @@ { _isGcsImageURI = Nothing } --- | Google Cloud Storage image URI. It must be in the following form: --- \`gs:\/\/bucket_name\/object_name\`. For more details, please see: --- https:\/\/cloud.google.com\/storage\/docs\/reference-uris. NOTE: Cloud --- Storage object versioning is not supported! +-- | Google Cloud Storage image URI, which must be in the following form: +-- \`gs:\/\/bucket_name\/object_name\` (for details, see [Google Cloud +-- Storage Request +-- URIs](https:\/\/cloud.google.com\/storage\/docs\/reference-uris)). NOTE: +-- Cloud Storage object versioning is not supported. isGcsImageURI :: Lens' ImageSource (Maybe Text) isGcsImageURI = lens _isGcsImageURI @@ -1394,9 +1397,6 @@ = object (catMaybes [("gcsImageUri" .=) <$> _isGcsImageURI]) --- | Set of features pertaining to the image, computed by various computer --- vision methods over safe-search verticals (for example, adult, spoof, --- medical, violence). -- -- /See:/ 'safeSearchAnnotation' smart constructor. data SafeSearchAnnotation = SafeSearchAnnotation' @@ -1427,16 +1427,16 @@ , _ssaViolence = Nothing } --- | Spoof likelihood. The likelihood that an obvious modification was made --- to the image\'s canonical version to make it appear funny or offensive. +-- | Spoof likelihood. The likelihood that an modification was made to the +-- image\'s canonical version to make it appear funny or offensive. ssaSpoof :: Lens' SafeSearchAnnotation (Maybe SafeSearchAnnotationSpoof) ssaSpoof = lens _ssaSpoof (\ s a -> s{_ssaSpoof = a}) --- | Represents the adult contents likelihood for the image. +-- | Represents the adult content likelihood for the image. ssaAdult :: Lens' SafeSearchAnnotation (Maybe SafeSearchAnnotationAdult) ssaAdult = lens _ssaAdult (\ s a -> s{_ssaAdult = a}) --- | Likelihood this is a medical image. +-- | Likelihood that this is a medical image. ssaMedical :: Lens' SafeSearchAnnotation (Maybe SafeSearchAnnotationMedical) ssaMedical = lens _ssaMedical (\ s a -> s{_ssaMedical = a}) @@ -1464,7 +1464,7 @@ ("medical" .=) <$> _ssaMedical, ("violence" .=) <$> _ssaViolence]) --- | Image context. +-- | Image context and\/or feature-specific parameters. -- -- /See:/ 'imageContext' smart constructor. data ImageContext = ImageContext' @@ -1495,7 +1495,7 @@ -- results (although it will be a significant hindrance if the hint is -- wrong). Text detection returns an error if one or more of the specified -- languages is not one of the [supported --- languages](\/translate\/v2\/translate-reference#supported_languages). +-- languages](\/vision\/docs\/languages). icLanguageHints :: Lens' ImageContext [Text] icLanguageHints = lens _icLanguageHints @@ -1503,7 +1503,7 @@ . _Default . _Coerce --- | Lat\/long rectangle that specifies the location of the image. +-- | lat\/long rectangle that specifies the location of the image. icLatLongRect :: Lens' ImageContext (Maybe LatLongRect) icLatLongRect = lens _icLatLongRect @@ -1543,7 +1543,7 @@ { _dcaColors = Nothing } --- | RGB color values, with their score and pixel fraction. +-- | RGB color values with their score and pixel fraction. dcaColors :: Lens' DominantColorsAnnotation [ColorInfo] dcaColors = lens _dcaColors (\ s a -> s{_dcaColors = a}) . @@ -1561,7 +1561,7 @@ toJSON DominantColorsAnnotation'{..} = object (catMaybes [("colors" .=) <$> _dcaColors]) --- | Rectangle determined by min and max LatLng pairs. +-- | Rectangle determined by min and max \`LatLng\` pairs. -- -- /See:/ 'latLongRect' smart constructor. data LatLongRect = LatLongRect' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gogol-vision-0.1.1/gen/Network/Google/Vision/Types/Sum.hs new/gogol-vision-0.3.0/gen/Network/Google/Vision/Types/Sum.hs --- old/gogol-vision-0.1.1/gen/Network/Google/Vision/Types/Sum.hs 2016-11-03 14:26:26.000000000 +0100 +++ new/gogol-vision-0.3.0/gen/Network/Google/Vision/Types/Sum.hs 2017-07-12 16:45:05.000000000 +0200 @@ -25,19 +25,19 @@ -- Unknown likelihood. | VeryUnlikely -- ^ @VERY_UNLIKELY@ - -- The image very unlikely belongs to the vertical specified. + -- It is very unlikely that the image belongs to the specified vertical. | Unlikely -- ^ @UNLIKELY@ - -- The image unlikely belongs to the vertical specified. + -- It is unlikely that the image belongs to the specified vertical. | Possible -- ^ @POSSIBLE@ - -- The image possibly belongs to the vertical specified. + -- It is possible that the image belongs to the specified vertical. | Likely -- ^ @LIKELY@ - -- The image likely belongs to the vertical specified. + -- It is likely that the image belongs to the specified vertical. | VeryLikely -- ^ @VERY_LIKELY@ - -- The image very likely belongs to the vertical specified. + -- It is very likely that the image belongs to the specified vertical. deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic) instance Hashable FaceAnnotationUnderExposedLikelihood @@ -74,19 +74,19 @@ -- Unknown likelihood. | FAHLVeryUnlikely -- ^ @VERY_UNLIKELY@ - -- The image very unlikely belongs to the vertical specified. + -- It is very unlikely that the image belongs to the specified vertical. | FAHLUnlikely -- ^ @UNLIKELY@ - -- The image unlikely belongs to the vertical specified. + -- It is unlikely that the image belongs to the specified vertical. | FAHLPossible -- ^ @POSSIBLE@ - -- The image possibly belongs to the vertical specified. + -- It is possible that the image belongs to the specified vertical. | FAHLLikely -- ^ @LIKELY@ - -- The image likely belongs to the vertical specified. + -- It is likely that the image belongs to the specified vertical. | FAHLVeryLikely -- ^ @VERY_LIKELY@ - -- The image very likely belongs to the vertical specified. + -- It is very likely that the image belongs to the specified vertical. deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic) instance Hashable FaceAnnotationHeadwearLikelihood @@ -116,26 +116,26 @@ instance ToJSON FaceAnnotationHeadwearLikelihood where toJSON = toJSONText --- | Represents the adult contents likelihood for the image. +-- | Represents the adult content likelihood for the image. data SafeSearchAnnotationAdult = SSAAUnknown -- ^ @UNKNOWN@ -- Unknown likelihood. | SSAAVeryUnlikely -- ^ @VERY_UNLIKELY@ - -- The image very unlikely belongs to the vertical specified. + -- It is very unlikely that the image belongs to the specified vertical. | SSAAUnlikely -- ^ @UNLIKELY@ - -- The image unlikely belongs to the vertical specified. + -- It is unlikely that the image belongs to the specified vertical. | SSAAPossible -- ^ @POSSIBLE@ - -- The image possibly belongs to the vertical specified. + -- It is possible that the image belongs to the specified vertical. | SSAALikely -- ^ @LIKELY@ - -- The image likely belongs to the vertical specified. + -- It is likely that the image belongs to the specified vertical. | SSAAVeryLikely -- ^ @VERY_LIKELY@ - -- The image very likely belongs to the vertical specified. + -- It is very likely that the image belongs to the specified vertical. deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic) instance Hashable SafeSearchAnnotationAdult @@ -172,19 +172,19 @@ -- Unknown likelihood. | FAALVeryUnlikely -- ^ @VERY_UNLIKELY@ - -- The image very unlikely belongs to the vertical specified. + -- It is very unlikely that the image belongs to the specified vertical. | FAALUnlikely -- ^ @UNLIKELY@ - -- The image unlikely belongs to the vertical specified. + -- It is unlikely that the image belongs to the specified vertical. | FAALPossible -- ^ @POSSIBLE@ - -- The image possibly belongs to the vertical specified. + -- It is possible that the image belongs to the specified vertical. | FAALLikely -- ^ @LIKELY@ - -- The image likely belongs to the vertical specified. + -- It is likely that the image belongs to the specified vertical. | FAALVeryLikely -- ^ @VERY_LIKELY@ - -- The image very likely belongs to the vertical specified. + -- It is very likely that the image belongs to the specified vertical. deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic) instance Hashable FaceAnnotationAngerLikelihood @@ -214,26 +214,26 @@ instance ToJSON FaceAnnotationAngerLikelihood where toJSON = toJSONText --- | Likelihood this is a medical image. +-- | Likelihood that this is a medical image. data SafeSearchAnnotationMedical = SSAMUnknown -- ^ @UNKNOWN@ -- Unknown likelihood. | SSAMVeryUnlikely -- ^ @VERY_UNLIKELY@ - -- The image very unlikely belongs to the vertical specified. + -- It is very unlikely that the image belongs to the specified vertical. | SSAMUnlikely -- ^ @UNLIKELY@ - -- The image unlikely belongs to the vertical specified. + -- It is unlikely that the image belongs to the specified vertical. | SSAMPossible -- ^ @POSSIBLE@ - -- The image possibly belongs to the vertical specified. + -- It is possible that the image belongs to the specified vertical. | SSAMLikely -- ^ @LIKELY@ - -- The image likely belongs to the vertical specified. + -- It is likely that the image belongs to the specified vertical. | SSAMVeryLikely -- ^ @VERY_LIKELY@ - -- The image very likely belongs to the vertical specified. + -- It is very likely that the image belongs to the specified vertical. deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic) instance Hashable SafeSearchAnnotationMedical @@ -270,19 +270,19 @@ -- Unknown likelihood. | FABLVeryUnlikely -- ^ @VERY_UNLIKELY@ - -- The image very unlikely belongs to the vertical specified. + -- It is very unlikely that the image belongs to the specified vertical. | FABLUnlikely -- ^ @UNLIKELY@ - -- The image unlikely belongs to the vertical specified. + -- It is unlikely that the image belongs to the specified vertical. | FABLPossible -- ^ @POSSIBLE@ - -- The image possibly belongs to the vertical specified. + -- It is possible that the image belongs to the specified vertical. | FABLLikely -- ^ @LIKELY@ - -- The image likely belongs to the vertical specified. + -- It is likely that the image belongs to the specified vertical. | FABLVeryLikely -- ^ @VERY_LIKELY@ - -- The image very likely belongs to the vertical specified. + -- It is very likely that the image belongs to the specified vertical. deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic) instance Hashable FaceAnnotationBlurredLikelihood @@ -319,19 +319,19 @@ -- Unknown likelihood. | SSAVVeryUnlikely -- ^ @VERY_UNLIKELY@ - -- The image very unlikely belongs to the vertical specified. + -- It is very unlikely that the image belongs to the specified vertical. | SSAVUnlikely -- ^ @UNLIKELY@ - -- The image unlikely belongs to the vertical specified. + -- It is unlikely that the image belongs to the specified vertical. | SSAVPossible -- ^ @POSSIBLE@ - -- The image possibly belongs to the vertical specified. + -- It is possible that the image belongs to the specified vertical. | SSAVLikely -- ^ @LIKELY@ - -- The image likely belongs to the vertical specified. + -- It is likely that the image belongs to the specified vertical. | SSAVVeryLikely -- ^ @VERY_LIKELY@ - -- The image very likely belongs to the vertical specified. + -- It is very likely that the image belongs to the specified vertical. deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic) instance Hashable SafeSearchAnnotationViolence @@ -383,12 +383,10 @@ -- Run OCR. | SafeSearchDetection -- ^ @SAFE_SEARCH_DETECTION@ - -- Run various computer vision models to compute image safe-search - -- properties. + -- Run computer vision models to compute image safe-search properties. | ImageProperties -- ^ @IMAGE_PROPERTIES@ - -- Compute a set of properties about the image (such as the image\'s - -- dominant colors). + -- Compute a set of image properties, such as the image\'s dominant colors. deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic) instance Hashable FeatureType @@ -645,27 +643,27 @@ instance ToJSON Xgafv where toJSON = toJSONText --- | Spoof likelihood. The likelihood that an obvious modification was made --- to the image\'s canonical version to make it appear funny or offensive. +-- | Spoof likelihood. The likelihood that an modification was made to the +-- image\'s canonical version to make it appear funny or offensive. data SafeSearchAnnotationSpoof = SSASUnknown -- ^ @UNKNOWN@ -- Unknown likelihood. | SSASVeryUnlikely -- ^ @VERY_UNLIKELY@ - -- The image very unlikely belongs to the vertical specified. + -- It is very unlikely that the image belongs to the specified vertical. | SSASUnlikely -- ^ @UNLIKELY@ - -- The image unlikely belongs to the vertical specified. + -- It is unlikely that the image belongs to the specified vertical. | SSASPossible -- ^ @POSSIBLE@ - -- The image possibly belongs to the vertical specified. + -- It is possible that the image belongs to the specified vertical. | SSASLikely -- ^ @LIKELY@ - -- The image likely belongs to the vertical specified. + -- It is likely that the image belongs to the specified vertical. | SSASVeryLikely -- ^ @VERY_LIKELY@ - -- The image very likely belongs to the vertical specified. + -- It is very likely that the image belongs to the specified vertical. deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic) instance Hashable SafeSearchAnnotationSpoof @@ -702,19 +700,19 @@ -- Unknown likelihood. | FASLVeryUnlikely -- ^ @VERY_UNLIKELY@ - -- The image very unlikely belongs to the vertical specified. + -- It is very unlikely that the image belongs to the specified vertical. | FASLUnlikely -- ^ @UNLIKELY@ - -- The image unlikely belongs to the vertical specified. + -- It is unlikely that the image belongs to the specified vertical. | FASLPossible -- ^ @POSSIBLE@ - -- The image possibly belongs to the vertical specified. + -- It is possible that the image belongs to the specified vertical. | FASLLikely -- ^ @LIKELY@ - -- The image likely belongs to the vertical specified. + -- It is likely that the image belongs to the specified vertical. | FASLVeryLikely -- ^ @VERY_LIKELY@ - -- The image very likely belongs to the vertical specified. + -- It is very likely that the image belongs to the specified vertical. deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic) instance Hashable FaceAnnotationSurpriseLikelihood @@ -751,19 +749,19 @@ -- Unknown likelihood. | FVeryUnlikely -- ^ @VERY_UNLIKELY@ - -- The image very unlikely belongs to the vertical specified. + -- It is very unlikely that the image belongs to the specified vertical. | FUnlikely -- ^ @UNLIKELY@ - -- The image unlikely belongs to the vertical specified. + -- It is unlikely that the image belongs to the specified vertical. | FPossible -- ^ @POSSIBLE@ - -- The image possibly belongs to the vertical specified. + -- It is possible that the image belongs to the specified vertical. | FLikely -- ^ @LIKELY@ - -- The image likely belongs to the vertical specified. + -- It is likely that the image belongs to the specified vertical. | FVeryLikely -- ^ @VERY_LIKELY@ - -- The image very likely belongs to the vertical specified. + -- It is very likely that the image belongs to the specified vertical. deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic) instance Hashable FaceAnnotationSorrowLikelihood @@ -800,19 +798,19 @@ -- Unknown likelihood. | FAJLVeryUnlikely -- ^ @VERY_UNLIKELY@ - -- The image very unlikely belongs to the vertical specified. + -- It is very unlikely that the image belongs to the specified vertical. | FAJLUnlikely -- ^ @UNLIKELY@ - -- The image unlikely belongs to the vertical specified. + -- It is unlikely that the image belongs to the specified vertical. | FAJLPossible -- ^ @POSSIBLE@ - -- The image possibly belongs to the vertical specified. + -- It is possible that the image belongs to the specified vertical. | FAJLLikely -- ^ @LIKELY@ - -- The image likely belongs to the vertical specified. + -- It is likely that the image belongs to the specified vertical. | FAJLVeryLikely -- ^ @VERY_LIKELY@ - -- The image very likely belongs to the vertical specified. + -- It is very likely that the image belongs to the specified vertical. deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic) instance Hashable FaceAnnotationJoyLikelihood diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gogol-vision-0.1.1/gogol-vision.cabal new/gogol-vision-0.3.0/gogol-vision.cabal --- old/gogol-vision-0.1.1/gogol-vision.cabal 2016-11-03 14:26:26.000000000 +0100 +++ new/gogol-vision-0.3.0/gogol-vision.cabal 2017-07-12 16:45:05.000000000 +0200 @@ -1,5 +1,5 @@ name: gogol-vision -version: 0.1.1 +version: 0.3.0 synopsis: Google Cloud Vision SDK. homepage: https://github.com/brendanhay/gogol bug-reports: https://github.com/brendanhay/gogol/issues @@ -44,5 +44,5 @@ , Network.Google.Vision.Types.Sum build-depends: - gogol-core == 0.1.1.* + gogol-core == 0.3.0.* , base >= 4.7 && < 5