models.ResponseModels.scala Maven / Gradle / Ivy
The newest version!
package sight.models
case class RecognizedText(text: String, confidence: Double, topLeftX: Int
, topLeftY: Int, topRightX: Int,topRightY: Int
, bottomLeftX: Int, bottomLeftY: Int
, bottomRightX: Int, bottomRightY: Int)
case class RecognizedTexts(recognizedTexts: Seq[RecognizedText])
case class PollingUrl(pollingUrl: String)
case class Page(error: Option[String], fileIndex: Int
, pageNumber: Int, numberOfPagesInFile: Int
, recognizedText: Seq[RecognizedText])
case class Pages(pages: Seq[Page])