gali8 / Tesseract-OCR-iOS

Tesseract OCR iOS is a Framework for iOS7+, compiled also for armv7s and arm64.
http://www.nexor.it
MIT License
4.2k stars 947 forks source link

TessFunctionResultCallback memory leaks #405

Open mark-bragg opened 5 years ago

mark-bragg commented 5 years ago

When performing the recognition on the operation queue, the callback is not getting released. The following image shows the excessive number of callbacks in memory after deallocating all objects pertaining to tesseract. tesseract callback leak image