ocr parsing rect setter
Now it is possible to set the rect to be used by tesseract for the ocr. It is useful in case you need to overlap a mask to the render view where the mrz is not in the middle of the screen.
The ocr area is now visible in red when debug == true
Note: the default mask (overlay.png) in the example project is not correct, maybe it now can be removed (or fixed)
added tesseract training data path setter
It is useful if the training data are not in the main bundle
added controls in order to allow the use the view without mounting the vc
sometimes the developer can't mount a vc but need only the view in its vc hierarchy. In this case the viewDidLoad and viewDidAppear was not well managed.
Hi, I've added some features:
ocr parsing rect setter Now it is possible to set the rect to be used by tesseract for the ocr. It is useful in case you need to overlap a mask to the render view where the mrz is not in the middle of the screen. The ocr area is now visible in red when debug == true Note: the default mask (overlay.png) in the example project is not correct, maybe it now can be removed (or fixed)
added tesseract training data path setter It is useful if the training data are not in the main bundle
added controls in order to allow the use the view without mounting the vc
Thanks and Enjoy