[tesseract-ocr] error

2020-02-12 Thread bosh sherikar
can you please help I'm beginner i don't know this issue why its happening -- You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To unsubscribe from this group and stop receiving emails from it, send an email to

[tesseract-ocr] Re: Tess4J: Invalid memory access

2020-02-12 Thread Rajith Kariyawsam
Hi Quan, I didn't got wht do you mean by 'tessdata ' folder. given pth is the copied image(png) location. my image name is* 'testcap.png'* as per the below line String pth = "C:\\Users\\username\\Downloads\\capthca1\\testcap.png"; FileHandler.copy(imgFile, new File(pth)); Appreciate it if

[tesseract-ocr] Re: Tess4J: Invalid memory access

2020-02-12 Thread Quan Nguyen
It looks like the datapath is set incorrectly. It should be set to tessdata folder. On Tuesday, February 11, 2020 at 2:30:45 AM UTC-6, Rajith Kariyawsam wrote: > > Still, the same error occurred for me. > > code: > > > net.sourceforge.tess4j > tess4j > 4.3.1 > > > > >

[tesseract-ocr] Exception on using ctypes with tesserac-ocr TessPageIteratorBoundingBox

2020-02-12 Thread Philip Lee
import ctypesimport os os.putenv("PATH", r'C:\Program Files\Tesseract-OCR') os.environ["TESSDATA_PREFIX"] = r'C:\Program Files\Tesseract-OCR\tessdata' liblept = ctypes.cdll.LoadLibrary('liblept-5.dll') pix = liblept.pixRead('test.png'.encode())print(pix) tesseractLib =

[tesseract-ocr] New fonts/teminologies in Chinese

2020-02-12 Thread Bo Tang
Hello, everyone, I am doing OCR to detect sanned supplier certificate. On the image, there are Chinese simple and traditional and English languages. With standard OCR api, the accuracy is not high, since there are lots of noise, red/blue seal/circles, special terminologies on image. Pleas help