Module Values.LandmarkSource

Indicates the location of the landmark on the face.

Sourcetype nonrec t = {
  1. type_ : LandmarkType.t option;
    (*

    Type of landmark.

    *)
  2. x : Float_.t option;
    (*

    The x-coordinate of the landmark expressed as a ratio of the width of the image. The x-coordinate is measured from the left-side of the image. For example, if the image is 700 pixels wide and the x-coordinate of the landmark is at 350 pixels, this value is 0.5.

    *)
  3. y : Float_.t option;
    (*

    The y-coordinate of the landmark expressed as a ratio of the height of the image. The y-coordinate is measured from the top of the image. For example, if the image height is 200 pixels and the y-coordinate of the landmark is at 50 pixels, this value is 0.25.

    *)
}
Sourceval make : ?type_:??? -> ?x:??? -> ?y:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Float of Float_.t ]) 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