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

如何控制一张图中文本的个数? #12

Open
lai6964 opened this issue Jul 12, 2021 · 2 comments
Open

如何控制一张图中文本的个数? #12

lai6964 opened this issue Jul 12, 2021 · 2 comments

Comments

@lai6964
Copy link

lai6964 commented Jul 12, 2021

大佬,我想在背景图上添加固定数目文本框,但是这个文本框的数目在哪儿可以设置?没有找到。。。。

@BboyHanat
Copy link
Owner

大佬,我想在背景图上添加固定数目文本框,但是这个文本框的数目在哪儿可以设置?没有找到。。。。

这个逻辑比较复杂,我们是设置多个block,一个block 里面可能有多个box 的形式进行生成的,所以暂时没有设置文本框的个数,具体可以去 LayoutProvider.py 里去查看一下。

@FlyHighest
Copy link

我尝试了一下,调整long_side参数可以增加图像中文本数量,或者用更大的背景图像也可以在一张图中生成更多。但long_side调大会显著降低程序运行速度。

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

3 participants