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

如何将目标区域使用红色掩码填充 #1

Open
shidizai-swpu opened this issue Mar 31, 2024 · 1 comment
Open

如何将目标区域使用红色掩码填充 #1

shidizai-swpu opened this issue Mar 31, 2024 · 1 comment

Comments

@shidizai-swpu
Copy link

目前跟踪的检测框是方框,如果想将目标区域使用红色掩码进行覆盖,这样可以更加清晰看到目标的轮廓,该怎么修改代码?望作者回复

@KdaiP
Copy link
Owner

KdaiP commented Apr 1, 2024

如果想要获得目标的轮廓的话,可能需要单独对每个方框中的内容进行实例分割。比如对每个框里面的像素再做一次分割。相关代码可以参考https://docs.ultralytics.com/tasks/segment/

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