Localization of Handwritten and Printed Text in doctors' prescription. It consists of two stages, first retrival of possible Text Regions in the prescriptions overcoming the challenges like lines, dotted lines and tables and finally classification of them using Machine Learning.
To run the GUI
First install the utilities:
$ sudo add-apt-repository main
$ sudo apt-get install python3.6
$ sudo apt-get install python3-tk
$ sudo apt-get install python3-pil python3-pil.imagetk
$ pip install -r requirements.txt
$ pip install pickle-mixin
$ pip install pdbpp
Then run the script
$ python3 tkinteropen.py
Keep the data.joblib in the same directory with the tkinteropen.py
Here is an example.
INPUT IMAGE:
GUI SNAPSHOT
OUTPUT IMAGE: