-
Notifications
You must be signed in to change notification settings - Fork 8
Bad Result #6
New issue
Have a question about this project? Sign up for a free GitHub 8000 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
Comments
Thank you for your interest in this work. There are a few key points that require clarification. First, this project is currently only applicable to single-line text images, with the input size limited to patches of 128x512, and the number of text characters is no more than 24. Therefore, for other images containing text patches, you should first detect the text line image from the original image using a text detection method like PaddleOCR, then crop and resize the patches to 128x512 and input them into the DiffTSR model. Second, the text area in the cropped image should occupy the center. Usually, the text patches detected by the text detection model meet this condition. Additionally, the DiffTSR model is robust to text deformation. Third, the DiffTSR model focuses on scene text images. We have not fully tested its performance in other scenarios, but it can be easily adapted for other scenarios with fine-tuning. For more details, please refer to the main manuscript and the supplementary materials. Thanks for your interest, and we are also working on developing methods that are more adaptable. |
Thanks for your reply and appreciate your work. I'm going to check your paper again and follow your proposal soon afterwards to see whether the model actually works or not in my case. Please keep this issue open, I think I could post my feedback here. |
I used your model on my task, it seems no that good?


I clipped the size of my img to (512, 128) following your size. The original input img is the first below followed by the result img.
Is there anything wrong?
Below is my code:
The text was updated successfully, but these errors were encountered: