Closed hsl20130659 closed 5 years ago
Which model did you use?
fraktur_19th_century
This model is trained to predict both characters and numbers. Could you please provide a line of your data where it fails?
it writes nothing in the result.txt
I use a picture that has numbers and chinese characters
The fraktur 19th century model can only be used for Fraktur fonts: The characters must be similar to https://en.wikipedia.org/wiki/Fraktur. It might be possible that the model could possibly detect Arabic digits embedded in Chinese fonts, however I can not guarantee that. Do you input a full image or only a single horizontal text line? The latter is required.
I put a full image into the network ,my goal is just recognizing the numbers and I dont care if there are chinese characters or not.
Calamari can only process single lines, not a full image. You need a separate tool to handle the line segmentation. You can use e. g. https://github.com/tmbdev/ocropy/wiki/Page-Segmentation for the page and line segmentation.
my pictures are cropped from ID cards ,the row of birthdays
Solely the row of birthdays? Can you attach a single image file. Maybe you need https://github.com/Calamari-OCR/calamari_models/tree/master/antiqua_modern as model (Modern typographic fonts).
you can test the pictures,and show me the results
This might work, but additional steps are required:
I manually did those steps and got (. 1986t 1 t 8 fH
as result for 001.png
.
My manually processed input line:
do you mind I make a friend with you ? My qq is 913452977, I think I have something more to ask you ,hehe
You can E-Mail me via christoph.wick@informatik.uni-wuerzburg.de.
it seems that the model can not recognize numbers