MhLiao / TextBoxes_plusplus

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

Bugs regarding Recognition functionality #32

Closed dissendahl closed 5 years ago

dissendahl commented 6 years ago

@MhLiao : I am currently trying out the dictionary function. There seem to be some bugs in demo.py, demo.lua and inference.lua:

  1. If apply_recognition=true : demo.lua gets called without useLexicon flag (demo.py).
  2. Value of lexicon_path does not get parsed correctly, which results in dicPath = NIL in demo.lua:102.

I worked around this by setting useLexicon and dicPath inside demo.lua manually, yet there should be another solution.

In inference.lua:30 and inference.lua:72, there are two FIXME comments. What's broken there?

Also I discovered that, if overlap_threshold is set to a small value, the recognition results get matched with wrong boxes on the recognition result output image.

What are your thoughts on these points? Can we collaborate on the mentioned issues?

MhLiao commented 6 years ago

@dissendahl Thank you for your reporting the bug of lexicon path. I will check it later.

The comments mean that the maxLength is set to 30, which may be not suitable for words whose lengths are bigger than 30.

For the overlap_threshold, can you describe more specifically, e.g., giving visualization results?

I am glad to collaborate with you if you have solutions to some problems.