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

怎么改变批量预测的结果字体的大小 #96

Open
pdqdw opened this issue Apr 8, 2024 · 7 comments
Open

怎么改变批量预测的结果字体的大小 #96

pdqdw opened this issue Apr 8, 2024 · 7 comments

Comments

@pdqdw
Copy link

pdqdw commented Apr 8, 2024

No description provided.

@Fafa-DL
Copy link
Owner

Fafa-DL commented Apr 8, 2024

  1. 可将
    font_scale=0.5,
    0.5改为更小值;
  2. 可将
    font_size=int(font_scale * 50),
    从50改为更小值。

@pdqdw
Copy link
Author

pdqdw commented Apr 9, 2024

单个测试的时候出现预测结果重叠的问题怎们办
1712640410793

@pdqdw
Copy link
Author

pdqdw commented Apr 9, 2024

改了参数后左上角预测结果的字体还是没变化
1712641214216

@Fafa-DL
Copy link
Owner

Fafa-DL commented Apr 9, 2024

改了参数后左上角预测结果的字体还是没变化 1712641214216

你如果是要调大的话就将前述提及的相应地方调大就行,我理解错了以为你要调小

@pdqdw
Copy link
Author

pdqdw commented Apr 10, 2024

我font_scale分别调到了0.9,5和50,font_size=int(font_scale * 50)调成了font_size=int(font_scale * 500),左上角的预测结果字体大小还是没有变化

@pdqdw
Copy link
Author

pdqdw commented Apr 10, 2024

测试单张图片的时候更改参数字体大小会变化,批量测试的时候更改参数大小不变

@Fafa-DL
Copy link
Owner

Fafa-DL commented Apr 25, 2024

批量的在这

def imshow_infos(img,

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