Die Verwendung unter tess4j JARs Teil meiner Scala SBT-Projekt in IntelliJ IDEA sind und werden auch als Modulabhängigkeiten hinzugefügt:"Sie müssen das JAI Image I/O-Paket installieren." Fehler beim tess4j in IntelliJ IDEA Scala SBT Projekt
Allerdings bekomme ich eine java.lang.RuntimeException: Need to install JAI Image I/O package. https://java.net/projects/jai-imageio/
Ausnahme bei dem Versuch, den folgenden Code in einem Scala Arbeitsblatt auszuführen:
import java.io.File
import net.sourceforge.tess4j._
val imageFile = new File("LinkToJPGFile")
val instance = new Tesseract()
instance.setDatapath("MyTessdataFolder")
val result = instance.doOCR(imageFile)
print(result)
obwohl jai-imageio-core-1.3.1.jar
richtig in das Projekt einbezogen.