BAEL-3874 - OCR with Tesseract
This commit is contained in:
parent
475087a1ab
commit
b7b701de1d
@ -3,7 +3,6 @@ package com.baeldung.tesseract;
|
|||||||
import org.bytedeco.javacpp.BytePointer;
|
import org.bytedeco.javacpp.BytePointer;
|
||||||
import org.bytedeco.leptonica.PIX;
|
import org.bytedeco.leptonica.PIX;
|
||||||
import org.bytedeco.tesseract.TessBaseAPI;
|
import org.bytedeco.tesseract.TessBaseAPI;
|
||||||
import org.bytedeco.tesseract.Tesseract;
|
|
||||||
|
|
||||||
public class TesseractPlatformExample {
|
public class TesseractPlatformExample {
|
||||||
|
|
||||||
@ -19,11 +18,6 @@ public class TesseractPlatformExample {
|
|||||||
BytePointer outText = tessApi.GetUTF8Text();
|
BytePointer outText = tessApi.GetUTF8Text();
|
||||||
System.out.println(outText.getString());
|
System.out.println(outText.getString());
|
||||||
tessApi.End();
|
tessApi.End();
|
||||||
|
|
||||||
|
|
||||||
Tesseract t = new Tesseract();
|
|
||||||
t.
|
|
||||||
|
|
||||||
} catch(Exception e) {
|
} catch(Exception e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user