Make sure there are two folders, output
and data
, in the directory.
Just run pip -r requirements.txt
to intall library from pip.
Just run python create_img.py
to generate image with kinds of txt for training.
Or you can set your own dataset.
python train.py
to train models
python webSTR.py [your path to image]
For example:
python webSTR.py .\example.png
to SR your image in path .\example.png
.