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

Problem in training tesseract for vietnamese #407

Open
MinhQuan1909 opened this issue Dec 4, 2024 · 0 comments
Open

Problem in training tesseract for vietnamese #407

MinhQuan1909 opened this issue Dec 4, 2024 · 0 comments

Comments

@MinhQuan1909
Copy link

MinhQuan1909 commented Dec 4, 2024

image
When I use tessseract to ocr the image above, I got some character error. Ex: Hòa (image) -> điòa (tesseract), Điều 1 (image) -> Điều L (tesseract).
So I am training tesseract with vietnamese to get better result. I create 30k images with https://github.com/Belval/TextRecognitionDataGenerator with 4 font time new roman (normal, bold, italic, bold italic). I trained with result BCER train=0.009%, BWER train=0.035%. But after I trained, some case got better, but some case got worse. Ex:
Better: điòa (tesseract before train) -> Hòa (after trained, correct)
Worse: 123/HD/NN (tesseract before train, correct) -> 123/HDANN (after trained)
Why some case got worse? Is my dataset small or something else?

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

1 participant