/usr/local/lib/python2.7/dist-packages/skimage/transform/_warps.py:84: UserWarning: The default mode, 'constant', will be changed to 'reflect' in skimage 0.15. warn("The default mode, 'constant', will be changed to 'reflect' in " detection finished recognition begin Traceback (most recent call last): File "examples/text/demo.py", line 202, in <module> '-dicPath', config['lexicon_path']]) File "/usr/lib/python2.7/subprocess.py", line 536, in check_call retcode = call(*popenargs, **kwargs) File "/usr/lib/python2.7/subprocess.py", line 523, in call return Popen(*popenargs, **kwargs).wait() File "/usr/lib/python2.7/subprocess.py", line 711, in __init__ errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1343, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory
I have tried running the demo.py attached after installing everything but got this error. But from what i see the lexicon_path is defined properly in the script and there is the lexicon.txt file in the directory as well. Am i missing another parameter that is making it not reading the file as it should? thanks
Anyhow I have found solution for this problem, Just want to share..
Download model_crnn.t7 from main page and copy it in ./crnn/model
If it still fails, then you have problem with the installation of CRNN dependencies (Folly, Fbthrift or Fblualib)
In my case I had problem with the installation of Fblualib. After successful installation of fblualib and compiled textboxes++ again. Now recognition works correctly...
/usr/local/lib/python2.7/dist-packages/skimage/transform/_warps.py:84: UserWarning: The default mode, 'constant', will be changed to 'reflect' in skimage 0.15. warn("The default mode, 'constant', will be changed to 'reflect' in " detection finished recognition begin Traceback (most recent call last): File "examples/text/demo.py", line 202, in <module> '-dicPath', config['lexicon_path']]) File "/usr/lib/python2.7/subprocess.py", line 536, in check_call retcode = call(*popenargs, **kwargs) File "/usr/lib/python2.7/subprocess.py", line 523, in call return Popen(*popenargs, **kwargs).wait() File "/usr/lib/python2.7/subprocess.py", line 711, in __init__ errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1343, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory
I have tried running the demo.py attached after installing everything but got this error. But from what i see the lexicon_path is defined properly in the script and there is the lexicon.txt file in the directory as well. Am i missing another parameter that is making it not reading the file as it should? thanks