-
Notifications
You must be signed in to change notification settings - Fork 141
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
Support output predict #47
Comments
@thachkysanh1996 This should be a problem with coding and decoding. You can check the relevant information. You can also use python2 to try the correctness of the result through this command |
@A-bone1 thanks you !!! |
@A-bone1 Does your project work on photo ocr ? or just a image cropped with text |
@thachkysanh1996 The type of task depends on your training data. If your training data is photo ocr, the model can work on photo ocr. |
@A-bone1 Thanks! I have another question. If training data is photo ocr with multiple text in image. How can i format the label ? |
@thachkysanh1996 I have not tried this situation, but I think it is possible to add a text detection network in front of the text recognition network. It may be better to crop the detected text from the original image and then perform text recognition separately. |
@A-bone1 Thanks you !!! |
@A-bone1 I wrote the code to generate syntext data for fsns (Background white and put text on it). After training model 120k step, it will recognize the data like i syn. But when test with cut image (in real). It cannot recognize and accuracy is very poor. |
@thachkysanh1996 Is the prediction result of the test set similar to the training set accurate? If the training set differs greatly from the test set style, the accuracy is really poor. I think the generated training set should be as similar as possible to the test set. In addition, the cut image should not be distorted after reshaping. |
@A-bone1 Yes, the test set is text image from the real world. (Different with training set which i generated like image above). The accuracy is really poor. I think that my generate is very simple, not inconsistent light condition like text image in the wild. In addition, the cut image like this. How can i know about distortion after the model reshape image? |
hi ! @thachkysanh1996 how to predict a single image (ramdom size)?? what file do you run? |
After trained model with your tutorial. (Using your dic.txt and fsns in data/train/tfexample.record). Then i use the model-checkpoint to infer 2 image. But the output is not right. Please help me!
The text was updated successfully, but these errors were encountered: