-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
Tesserwrap used to work fine for me until that fateful day I updated my Tesseract from 3.02 to 3.03, just because an alpr software recommend .03 and I wanted to also make use of the training materials.
Upon calling:
tr = Tesseract()
tr.ocr_image(img)
or get_text() or get_utf8_text(), tesserwrap calls the del function in init.py, self.handle and core is true then tr.Tesserwrap_Destroy(self.handle) simply exits the program, no errors logged (I know this from debugging).
All code below that function call would cease as the main program has been exited.
I commented out tr.Tesserwrap_Destroy(self.handle) and now it works fine again.
I can use tesserwrap on Tesseract 3.03, no worries here
However, I don't believe that hack is best.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels