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 visualize the result without background? #3427

Closed
shinpaul14 opened this issue Nov 9, 2023 · 5 comments
Closed

how to visualize the result without background? #3427

shinpaul14 opened this issue Nov 9, 2023 · 5 comments

Comments

@shinpaul14
Copy link

Hello.

I just had a question about visualization.

I am hoping to overpay my model's prediction to the input image, however, the appearance of the background and the name tag is the big problem.
How can I remove them when I visualize my results?

Thank you.

@guozhen-dev
Copy link

According to my understanding, I assume you want to have an export result image without a background and the label text. I am working on supporting a switch to enable the selection of layers on this.

@guozhen-dev
Copy link

guozhen-dev commented Dec 11, 2023

Just want to make sure this is the feature you want to have. I introduced a switch that allows you to show only the prediction without the background and the name tag.
image

@shinpaul14
Copy link
Author

Yes, I want to show only the prediction without the background and the name tag.

@xiexinch
Copy link
Collaborator

Please check the use case in this PR #3466

@bjzhb666
Copy link

bjzhb666 commented Apr 23, 2024

@xiexinch @guozhen-dev Hi, I am running tools/test.py and facing the same problem. How to solve it?
#3648

python tools/test.py configs.py \
 work_dirs/0.pth \
 --show-dir work_dirs

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

4 participants