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

How to get some bigger text? #42

Closed
zheng006 opened this issue May 16, 2017 · 4 comments
Closed

How to get some bigger text? #42

zheng006 opened this issue May 16, 2017 · 4 comments

Comments

@zheng006
Copy link

Thanks for sharing the code. I want to get some bigger text (for example, the text occupies a large part of the image), can you tell me how to operate your code? Thank you very much.

@ankush-me
Copy link
Owner

The text is rendered to fit inside a "segmentation" region.
Hence, if you make the segmentation regions bigger/coarser, that would indirectly make the text bigger too.

@zheng006
Copy link
Author

Thank you very much. When I single step executing the code, i meet this problem as follows:
0 of 4
** instance # : 0
Traceback (most recent call last):
File "/home/zy/pycharm-community-2016.2.3/helpers/pydev/_pydevd_bundle/pydevd_frame.py", line 541, in trace_dispatch
self.do_wait_suspend(thread, frame, event, arg)
File "/home/zy/pycharm-community-2016.2.3/helpers/pydev/_pydevd_bundle/pydevd_frame.py", line 71, in do_wait_suspend
self._args[0].do_wait_suspend(*args, **kwargs)
File "/home/zy/pycharm-community-2016.2.3/helpers/pydev/pydevd.py", line 738, in do_wait_suspend
time.sleep(0.01)
File "/home/zy/SynthText-master/common.py", line 38, in signal_handler
raise TimeoutException, colorize(Color.RED, " *** Timed out!", highlight=True)
TimeoutException: *** Timed out!
*** Timed out!
1 of 4
** instance # : 0
2 of 4
** instance # : 0
3 of 4
** instance # : 0
4 of 4
** instance # : 0
Process finished with exit code 0
So what is the problem?

@ankush-me
Copy link
Owner

Set SECS_PER_IMAGE to None here:
https://github.com/ankush-me/SynthText/blob/master/gen.py#L27

@zheng006
Copy link
Author

I am very appreciate your help. Thank you!

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

2 participants