The below code is working perfectly file when I am executing in eclipse. String name = args[0]; // image file name kanji.jpg String path = args[1]; // image file path C:\Chiranjib File imageFile = new File(path + "/" + name); ITesseract instance = new Tesseract(); // JNA Interface Mapping //Please change the path instance.setDatapath(tessDataPath); // tessdata directory C:\Users\365468\GE WorkSpace\Tess4J-3.4.0-src\tessdata instance.setLanguage("jpn"); String result = instance.doOCR(imageFile); But...
The below code is working perfectly file when I am executing in eclipse. String name = args[0]; // image file name kanji.jpg String path = args[1]; // image file path C:\Chiranjib File imageFile = new File(path + "/" + name); ITesseract instance = new Tesseract(); // JNA Interface Mapping //Please change the path instance.setDatapath(tessDataPath); // tessdata directory C:\Users\365468\GE WorkSpace\Tess4J-3.4.0-src\tessdata instance.setLanguage("jpn"); String result = instance.doOCR(imageFile); But...
The below code is working perfectly file when I am executing in eclipse. String name = args[0]; // image file name kanji.jpg String path = args[1]; // image file path C:\Chiranjib File imageFile = new File(path + "/" + name); ITesseract instance = new Tesseract(); // JNA Interface Mapping //Please change the path instance.setDatapath(tessDataPath); // tessdata directory C:\Users\365468\GE WorkSpace\Tess4J-3.4.0-src\tessdata instance.setLanguage("jpn"); String result = instance.doOCR(imageFile); But...
Hi Zac. Are you able to figure out some solution of your problem?