Companion

object Companion

Companion for static members.

Properties

Link copied to clipboard

Whether Tesseract OSD (Orientation and Script Detection) is currently available.

Link copied to clipboard

Whether Tesseract OCR is ready to process requests.

Functions

Link copied to clipboard

Erkennt die Ausrichtung des angegebenen Bildes mithilfe des OSD von Tesseract.

Link copied to clipboard
fun performOcr(imageBytes: ByteArray, mode: String, options: Map<String, String> = emptyMap()): String

Führt OCR direkt für die angegebenen Bildbytes durch und gibt ein JSON-Ergebnis zurück.