Values.DetectLabelsImagePropertiesSourceInformation about the quality and dominant colors of an input image. Quality and color information is returned for the entire image, foreground, and background.
type nonrec t = {quality : DetectLabelsImageQuality.t option;Information about the quality of the image foreground as defined by brightness, sharpness, and contrast. The higher the value the greater the brightness, sharpness, and contrast respectively.
*)dominantColors : DominantColors.t option;Information about the dominant colors found in an image, described with RGB values, CSS color name, simplified color name, and PixelPercentage (the percentage of image pixels that have a particular color).
*)foreground : DetectLabelsImageForeground.t option;Information about the properties of an image’s foreground, including the foreground’s quality and dominant colors, including the quality and dominant colors of the image.
*)background : DetectLabelsImageBackground.t option;Information about the properties of an image’s background, including the background’s quality and dominant colors, including the quality and dominant colors of the image.
*)}val to_value :
t ->
[> `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `Float of Percent.t
| `Integer of UInteger.t
| `String of String_.t ])
list ]
list
| `Structure of
(string
* [> `Float of Float_.t
| `List of
[> `Structure of
(string
* [> `Float of Percent.t
| `Integer of UInteger.t
| `String of String_.t ])
list ]
list
| `Structure of (string * [> `Float of Float_.t ]) list ])
list ])
list ]