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

Rileva l'orientamento dell'immagine data utilizzando l'OSD di Tesseract.

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

Esegue l'OCR direttamente sui byte dell'immagine specificati, restituendo un risultato JSON.