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
This algorithm frequently fits character into narrow space ...But I want to add multi lines into broad space #47
Comments
I don't know how to solve this problem....I guess I should change something in text_util.py in line 118 But don't know exactly what to do |
@JarveeLee : The segmentation regions are randomly selected for placing text (check here). If you remove this, and instead go through the regions in sequence, the regions should be ordered in decreasing order of their areas -- so then the largest region (as found in the segmentation step), should be selected first for placing text. Next, regarding rendering multiple lines: |
Ah ha your solution works pretty nice!Thanks~ |
Hi, @JarveeLee , I want to generate Chinese scene images through SynthText, I have generated char_freq.cp and font_px2pt.cp based on newsgroup.txt, but it comes somes mistakes. Traceback (most recent call last): So could you tell how to generate Chinese scene images in details? Thank you. |
@clscy generate own font_px2pt.cp by adding more chinese fonts which end with .tff,and run invert_font_size.py . And update char_freq.cp based on newsgroup.txt. And you should fix all chinese utf-8 coding problem both in OS and python... |
@JarveeLee is it possible for you to share your code / data with the changes you made for generating Chinese text? It would be very useful for a lot of users. Thanks! |
@ankush-me I can email to you my code next week when go back to company. |
@JarveeLee, would it be possible for you to share code and data with me ? It will be of great help for my ongoing project. |
@JarveeLee : Is it possible to share it openly, e.g. on GitHub? |
@ankush-me I will do this ....Busy with final exam these days... |
@JarveeLee Thanks a lot! |
No description provided.
The text was updated successfully, but these errors were encountered: