Module AssetOcr.ResponseDto

type t
val v : asset_id:string -> box_score:float -> id:string -> text:string -> text_score:float -> x1:float -> x2:float -> x3:float -> x4:float -> y1:float -> y2:float -> y3:float -> y4:float -> unit -> t

Construct a value

  • parameter box_score

    Confidence score for text detection box

  • parameter text

    Recognized text

  • parameter text_score

    Confidence score for text recognition

  • parameter x1

    Normalized x coordinate of box corner 1 (0-1)

  • parameter x2

    Normalized x coordinate of box corner 2 (0-1)

  • parameter x3

    Normalized x coordinate of box corner 3 (0-1)

  • parameter x4

    Normalized x coordinate of box corner 4 (0-1)

  • parameter y1

    Normalized y coordinate of box corner 1 (0-1)

  • parameter y2

    Normalized y coordinate of box corner 2 (0-1)

  • parameter y3

    Normalized y coordinate of box corner 3 (0-1)

  • parameter y4

    Normalized y coordinate of box corner 4 (0-1)

val asset_id : t -> string
val box_score : t -> float

Confidence score for text detection box

val id : t -> string
val text : t -> string

Recognized text

val text_score : t -> float

Confidence score for text recognition

val x1 : t -> float

Normalized x coordinate of box corner 1 (0-1)

val x2 : t -> float

Normalized x coordinate of box corner 2 (0-1)

val x3 : t -> float

Normalized x coordinate of box corner 3 (0-1)

val x4 : t -> float

Normalized x coordinate of box corner 4 (0-1)

val y1 : t -> float

Normalized y coordinate of box corner 1 (0-1)

val y2 : t -> float

Normalized y coordinate of box corner 2 (0-1)

val y3 : t -> float

Normalized y coordinate of box corner 3 (0-1)

val y4 : t -> float

Normalized y coordinate of box corner 4 (0-1)

val jsont : t Jsont.t