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

Getting the predictions #8

Closed
Lord-Psarris opened this issue Aug 19, 2022 · 6 comments
Closed

Getting the predictions #8

Lord-Psarris opened this issue Aug 19, 2022 · 6 comments

Comments

@Lord-Psarris
Copy link

When I run the infer.py it segments the image but I don't get any of the detected objects or classes. and always have to refer to the image Is there a way I can get the segmented classes (e.g. upper, lower etc.) ?

@karndeepsingh
Copy link

Hi @Lord-Psarris,
Any successful approach for segmenting different classes as you mentioned in the issue?

Please help, I have similar issue.

Thanks

@Lord-Psarris
Copy link
Author

Hello @karndeepsingh,
I made a simple script to detect the colors in the image.

The segmented image mask have a max of 4 colors (black for background, and 3 others for full body, upper body and lower body), so it simply checks the pixels to see which of the colors are detected in the image.

You might want to optimize the image or reduce its resolution first if computing time and memory are an issue. Let me know if you'd like to see my implementation

@karndeepsingh
Copy link

Hello @karndeepsingh, I made a simple script to detect the colors in the image.

The segmented image mask have a max of 4 colors (black for background, and 3 others for full body, upper body and lower body), so it simply checks the pixels to see which of the colors are detected in the image.

You might want to optimize the image or reduce its resolution first if computing time and memory are an issue. Let me know if you'd like to see my implementation

That’s great @Lord-Psarris
Can you share your work? I would like to understand it.

Thankyou so much

@kumar-hardik
Copy link

@karndeepsingh @Lord-Psarris
I have similar issue, can you guys help with the script to retrive the original colors for the segmentation?

@Lord-Psarris
Copy link
Author

@karndeepsingh , @kumar-hardik here is a google collab of my implementation.
Feel free to utilize it as you see fit

@Lord-Psarris
Copy link
Author

Lord-Psarris commented Oct 11, 2023

@kumar-hardik , @karndeepsingh you can find my complete solution here:
https://github.com/Lord-Psarris/cloth-segmentation

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

3 participants