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

Quick Output question #3

Closed
plaidam opened this issue Jun 22, 2024 · 16 comments
Closed

Quick Output question #3

plaidam opened this issue Jun 22, 2024 · 16 comments
Assignees
Labels
good first issue Good for newcomers question Further information is requested

Comments

@plaidam
Copy link

plaidam commented Jun 22, 2024

Any idea how to output the boxes and labels separately from the input image, like on a transparent PNG or something?

@kadirnar
Copy link
Owner

Is there a sample image? Have you ever tested it?

@kadirnar kadirnar self-assigned this Jun 22, 2024
@kadirnar kadirnar added good first issue Good for newcomers question Further information is requested labels Jun 22, 2024
@plaidam
Copy link
Author

plaidam commented Jun 23, 2024

example

I did a quick Photoshop with one of your examples to show what I mean. Would love to be able to output the boxes and labels separately as an image. Let me know if this makes sense or if it's possible?

@ghostrunner-art
Copy link

I also need such a function, it is very practical.

@plaidam
Copy link
Author

plaidam commented Jun 23, 2024

Please let me know when you have updated with this feature. Thanks again

@plaidam plaidam closed this as completed Jun 23, 2024
@kadirnar
Copy link
Owner

@plaidam @ghostrunner-art

I added the Bbox2Vis node feature. You can test it. I can add any other features you want.
https://github.com/kadirnar/ComfyUI-YOLO?tab=readme-ov-file#ultralytics-bbox-visualization

@plaidam
Copy link
Author

plaidam commented Jun 26, 2024

@kadirnar Ok, I updated and matched your Ultralytics Bbox Visualization workflow and am still unable to make an output like the one I showed above. I tried leaving the image input empty but got an error. I even tried using a blank colour node as a image input but still got the original input image. If theirs any way to update to allow this, that would be great. thanks.

@kadirnar
Copy link
Owner

Can you share an example image so I don't get the same error?

@plaidam
Copy link
Author

plaidam commented Jun 26, 2024

ok, thanks. I was able to get a empty output by using a custom colour node.
Any idea how I might get the labels as well?

Screenshot 2024-06-26 at 10 23 26 AM

@kadirnar
Copy link
Owner

Do you want label names too?

@kadirnar kadirnar reopened this Jun 26, 2024
@plaidam
Copy link
Author

plaidam commented Jun 26, 2024

If possible, that would be great!

@kadirnar
Copy link
Owner

I will add it this evening. Is there any other feature you want?

@plaidam
Copy link
Author

plaidam commented Jun 26, 2024

Wishlist:

  • Font size and line width like the "Ultralytics Visualization" node.
  • Right now I have to make multiple "BBox Visualization" modes for various index's, if I could get all the visible index's output from one node instead would be great.
  • Option to Toggle label on off.
  • Transparent PNG output - right now I have to use a blank color that I will green screen out later. Great if it just output the boxes and labels with a alpha.

@kadirnar
Copy link
Owner

kadirnar commented Jul 8, 2024

@plaidam
image

I added the Label feature. I will add other features today. I will add more parameters related to visualization.

@kadirnar kadirnar closed this as completed Jul 8, 2024
@kadirnar kadirnar reopened this Jul 8, 2024
@kadirnar
Copy link
Owner

kadirnar commented Jul 8, 2024

I added 3 features. I don't know about transparent images.

image

@plaidam
Copy link
Author

plaidam commented Jul 9, 2024

Amazing. thanks!

@plaidam
Copy link
Author

plaidam commented Jul 9, 2024

Works great!

Screenshot 2024-07-09 at 12 28 10 PM

@plaidam plaidam closed this as completed Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants