Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(ocr): init
TESSERACT
on main thread
if the image list have only one element, the ocr processing is called on the main thread by `into_par_iter`. If the var `TESSERACT` is not initialized on the main thread, the function crash on the unwrap. This should fix issue [Error: called `Option::unwrap()` on a `None` value](#6)
- Loading branch information