From b7b701de1d599ca73fc7c9796d627c30b8aa342b Mon Sep 17 00:00:00 2001 From: Anshul BANSAL Date: Sun, 8 Mar 2020 17:48:27 +0200 Subject: [PATCH] BAEL-3874 - OCR with Tesseract --- .../com/baeldung/tesseract/TesseractPlatformExample.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/image-processing/src/main/java/com/baeldung/tesseract/TesseractPlatformExample.java b/image-processing/src/main/java/com/baeldung/tesseract/TesseractPlatformExample.java index 200d9ecd70..6c8fa8709f 100644 --- a/image-processing/src/main/java/com/baeldung/tesseract/TesseractPlatformExample.java +++ b/image-processing/src/main/java/com/baeldung/tesseract/TesseractPlatformExample.java @@ -3,7 +3,6 @@ package com.baeldung.tesseract; import org.bytedeco.javacpp.BytePointer; import org.bytedeco.leptonica.PIX; import org.bytedeco.tesseract.TessBaseAPI; -import org.bytedeco.tesseract.Tesseract; public class TesseractPlatformExample { @@ -19,11 +18,6 @@ public class TesseractPlatformExample { BytePointer outText = tessApi.GetUTF8Text(); System.out.println(outText.getString()); tessApi.End(); - - - Tesseract t = new Tesseract(); - t. - } catch(Exception e) { e.printStackTrace(); }