Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to recognise text with numbers #63

Open
p9anand opened this issue Sep 3, 2019 · 2 comments
Open

unable to recognise text with numbers #63

p9anand opened this issue Sep 3, 2019 · 2 comments

Comments

@p9anand
Copy link

p9anand commented Sep 3, 2019

Hi,

Thanks for this amazing work. I was using this repo for recognition task but was unable to do that. Attached is the image. Please help me how i can do that. It detected it as: alainatism

I used this model.
CUDA_VISIBLE_DEVICES=0 python3 demo.py
--Transformation TPS --FeatureExtraction ResNet --SequenceModeling BiLSTM --Prediction Attn
--image_folder demo_image/
--saved_model TPS-ResNet-BiLSTM-Attn.pth
4

@ku21fan
Copy link
Contributor

ku21fan commented Sep 6, 2019

Hello,

In my opinion, the problem is 'noise' rather than 'number', since this example has heavy background noise.
Can you try with

  1. other examples which did not contain numbers?
  2. other examples which contain numbers with low background noise.

Best

@Ameya-Manas
Copy link

Ameya-Manas commented Jan 19, 2021

Hello @ku21fan

On the repo home page, MJSynth (MJ) and SynthText (ST) are mentioned as the training datasets. On the SynthText (ST) website, the following image shows that the model has been trained on such images:
image
This shows that the model has been trained for digits as well.

The results for some images with digits is, however, not correct. The images are listed below.

barton-house-numbers-address-letters-90083-64_1000
numbers_1_20_flashcards_p-0
thumbnail-word-games-numbers-11-20

The first image gives the correct prediction. The seconds and third image however give the results "be" and "peg" respectively.
Can you please suggest as to what might be the issue or what I might be doing wrong? The demo.py is being run for the best accuracy model shared in the repo.

Best.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants