Retrieve average color of an instance using SAHI+YOLOv8 #1071
Unanswered
natashahrycan
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using SAHI with YOLOv8 for instance segmentation on a custom data set. I want to use k-means to classify it later, I have been able to retrieve the area of the instances but I also need the average color of the area covered by the mask. I have tried a previous recommendation on this article, but the answers there suggest functions and attributes that don't exist.
How can I calculate the average color from the information provided in the prediction?
Beta Was this translation helpful? Give feedback.
All reactions