Comments (5)
The model outputs are corrected with a lexicon as evaluated in ICDAR 2015, and the text instances with < 3 characters are discarded. Please comment out the corresponding code here: https://github.com/MalongTech/research-charnet/blob/361d7fa07bdbfa857b4c24ce76c4d5686473eb67/charnet/modeling/postprocessing.py#L170 and try again.
from research-charnet.
I am having the same issue. My use use is for numbers. I inference can detect 3 and 3+ digits, but does not detect anything for 1 or 2 digits.
Can you guide me, if I need to change any parameters for make it working?
from research-charnet.
@mscottml : Thank you very much for your reply and the direction.
if len(word_ins.text) < 1:
in filter_and_correct function, and the inference returns detection for digits with 2 numbers. Thanks.
But, my change does not work for digit with 1 number. Is it something to do with word_ins.text_score?
from research-charnet.
It might be due to this. But please print "word_instances" before this filtering to check. The code is here https://github.com/MalongTech/research-charnet/blob/361d7fa07bdbfa857b4c24ce76c4d5686473eb67/charnet/modeling/postprocessing.py#L194.
from research-charnet.
@mscottml
I did print as you suggested. The output is as follows:
<charnet.modeling.postprocessing.WordInstance object at 0x7fbb085180f0>
<charnet.modeling.postprocessing.WordInstance object at 0x7fbb08518160>
<charnet.modeling.postprocessing.WordInstance object at 0x7fbb085181d0>
<charnet.modeling.postprocessing.WordInstance object at 0x7fbb08518240>
<charnet.modeling.postprocessing.WordInstance object at 0x7fbb085182b0>
<charnet.modeling.postprocessing.WordInstance object at 0x7fbb08518320>
<charnet.modeling.postprocessing.WordInstance object at 0x7fbb08518390>
<charnet.modeling.postprocessing.WordInstance object at 0x7fbb08518400>
<charnet.modeling.postprocessing.WordInstance object at 0x7fbb08518470>
<charnet.modeling.postprocessing.WordInstance object at 0x7fbb085184e0>
<charnet.modeling.postprocessing.WordInstance object at 0x7fbb08518550>
it is returning "WordInstance". I also did print word_ins.text. And it is returning the word. But it is not printing any digit with one number.
Maybe I need to see the function parse_words, how it is parsing a word.
from research-charnet.
Related Issues (20)
- Training mode error HOT 4
- Question about Character and Word detection branches HOT 2
- I want to test the performance of charnet.
- OS error HOT 1
- The size of input images on training
- save single char boxes HOT 6
- Bad result ? HOT 1
- Not able to download weights
- Loss function HOT 1
- How to distinguish between upper and lower case
- About training code HOT 9
- * please add requirements.txt * HOT 3
- the test demo cannot recognizenumbers using the model of icdar2015_hourglass88.pth 。 HOT 1
- Line text detection and recognizer instead of word level
- Are the bounding boxes of curve text (e.g., total_text) quadrilateral or polygonal?
- 是如何处理弯曲文本的包围盒子的?检测分支弯曲文本的区域是由四边形还是多边形给出?
- Is lexicon used for text detection ?
- The process halts hence doesn't proceed to provide outputs
- Training scripts HOT 2
- Training Script
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from research-charnet.