iOS: How do recognize MICR using Tesseract

1.7k Views Asked by At

My requirement is to recognize MICR code from a cheque. I already referred LEADTOOL for MICR recognizer and it's need paid code for MICR recognizer.

What is the easiest way to recognize MICR code using Tesseract in iOS?

2

There are 2 best solutions below

1
On

I have attached MICR trained data with this post.Please download it and use in your code.

https://www.dropbox.com/s/anh3ooifn2c7xin/mcr.traineddata.zip?dl=0

And also you can generate customize trained data using tesseract. Please refer below link.

https://blog.cedric.ws/how-to-train-tesseract-301

Thanks.

0
On

Copy mcr.traineddata (attached to one of the Tesseract-OCR Groups posts) to tessdata folder, and you should be good to go.