Closed mshakirDr closed 5 years ago
Paste the following at the start of generate_line_box.py
. File editing won't work in Linux Subsystem for Windows (Permission denied error). Virtual machine or a Linux Machine is the solution.
# encoding=utf8
import sys
reload(sys)
sys.setdefaultencoding('utf8')
I am trying to run Urdu training data (using Noori Nastaleeq font) but
make training urd
results in the following:I have attached the problematic line image with .gt.txt. The files are generated on Windows uisng GDI and .net and imported to Linux. Putting urd.traineddata beforehand doesn't help as well. output.zip