I am applying tesseract to individual character images sequentially, the first character is detected correctly, but when processing the second the program stops as shown in the image
The problem is that Tesseract is not able to clean the object. The only solution has been to recreate the Tesseract object in each iteration but this fills the memory.