Module Values.DetectLabelsImageBackgroundSource

The background of the image with regard to image quality and dominant colors.

Sourcetype nonrec t = {
  1. quality : DetectLabelsImageQuality.t option;
    (*

    The quality of the image background as defined by brightness and sharpness.

    *)
  2. dominantColors : DominantColors.t option;
    (*

    The dominant colors found in the background of an image, defined with RGB values, CSS color name, simplified color name, and PixelPercentage (the percentage of image pixels that have a particular color).

    *)
}
Sourceval make : ?quality:??? -> ?dominantColors:??? -> unit -> t
Sourceval 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 ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t