Comments (16)
I also need such a function, it is very practical.
from comfyui-yolo.
Do you want label names too?
from comfyui-yolo.
If possible, that would be great!
from comfyui-yolo.
Amazing. thanks!
from comfyui-yolo.
Is there a sample image? Have you ever tested it?
from comfyui-yolo.
![example](https://private-user-images.githubusercontent.com/6028016/342072691-df3cdaaf-5901-4eca-8abe-2a983a2f182c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ2NjQ1MDMsIm5iZiI6MTcyNDY2NDIwMywicGF0aCI6Ii82MDI4MDE2LzM0MjA3MjY5MS1kZjNjZGFhZi01OTAxLTRlY2EtOGFiZS0yYTk4M2EyZjE4MmMucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDgyNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA4MjZUMDkyMzIzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NmVmMWJhMDFjOGQ5MTVmMDJjZTUwMzBhZTA0MjcxZDIxYTVmMTViYjU1MjU2M2E5MWZiMTllMGRmMGYyZjRjMiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.FL46QyFFBblX_tbsXlV8WMXY8Bgq9Gj4xpQwQNDQrf4)
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?
from comfyui-yolo.
Please let me know when you have updated with this feature. Thanks again
from comfyui-yolo.
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
from comfyui-yolo.
@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.
from comfyui-yolo.
Can you share an example image so I don't get the same error?
from comfyui-yolo.
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](https://private-user-images.githubusercontent.com/6028016/343207391-f04387f4-1fd9-4749-a3ea-805c50f66788.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ2NjQ1MDMsIm5iZiI6MTcyNDY2NDIwMywicGF0aCI6Ii82MDI4MDE2LzM0MzIwNzM5MS1mMDQzODdmNC0xZmQ5LTQ3NDktYTNlYS04MDVjNTBmNjY3ODgucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDgyNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA4MjZUMDkyMzIzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NTZhZDFlNDJmOGI0MGFiYTcwMzFlNTg1ZjEzN2NmNjczYTMxNGI0MmJjNDUxZmZlNjc5ZjFmOWQ4YzJhZTEyMCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.BOhTnV1lInNLkvL3vZS2akzBzBIVDS5gY-BMNzmYO9M)
from comfyui-yolo.
I will add it this evening. Is there any other feature you want?
from comfyui-yolo.
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.
from comfyui-yolo.
I added the Label feature. I will add other features today. I will add more parameters related to visualization.
from comfyui-yolo.
I added 3 features. I don't know about transparent images.
![image](https://private-user-images.githubusercontent.com/36204372/346684096-f31199bd-1db6-4fc9-940d-64e50029602e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ2NjQ1MDMsIm5iZiI6MTcyNDY2NDIwMywicGF0aCI6Ii8zNjIwNDM3Mi8zNDY2ODQwOTYtZjMxMTk5YmQtMWRiNi00ZmM5LTk0MGQtNjRlNTAwMjk2MDJlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI2VDA5MjMyM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQyZTQ1ZmE2ZTM4OGFlMmE0NDIwOTdlNzRjNmRhMjQzMGY3YzM0MDdiNDA5NjI3ZTU5NGY3YjhjYWIwMmRmOWImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.MozE7dvzltWrKzfOTZ4ZhpwYbC4dOVxqaOL7hETe76I)
from comfyui-yolo.
Works great!
![Screenshot 2024-07-09 at 12 28 10 PM](https://private-user-images.githubusercontent.com/6028016/347038712-5aaf0f25-65a1-47bb-940e-995649aa2533.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ2NjQ1MDMsIm5iZiI6MTcyNDY2NDIwMywicGF0aCI6Ii82MDI4MDE2LzM0NzAzODcxMi01YWFmMGYyNS02NWExLTQ3YmItOTQwZS05OTU2NDlhYTI1MzMucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDgyNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA4MjZUMDkyMzIzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ODU0ZTA3MGRmY2Y0OWNlNmEzYTUyYzA5MzdhYTgzOTQ3NjQ5YTRiYzZmODM4Y2I3MDgwNzRhMTljYjNkZjZkOSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.rP2smVsC6J0t8ggrNGhp7yfnPzScHg5GMF6AhHNQt6o)
from comfyui-yolo.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from comfyui-yolo.