MhLiao / TextBoxes_plusplus

TextBoxes++: A Single-Shot Oriented Scene Text Detector
Other
956 stars 281 forks source link

Error with running examples/text/demo.py #50

Open stephenxp04 opened 6 years ago

stephenxp04 commented 6 years ago

/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

DecentMakeover commented 5 years ago

Hi Did you fix this , facing the same issue.

Thanks

sarathsrk commented 5 years ago

Facing same issue, Found any solution?

sarathsrk commented 5 years ago

Anyhow I have found solution for this problem, Just want to share..

  1. Download model_crnn.t7 from main page and copy it in ./crnn/model
  2. 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...