mercredi 29 janvier 2020

I want to find dominant colour in an Image in Opencv C++

I am new to openCV and searching from past two weeks but all the answers are either in python or not that accurate. I am just looking to find maximum count of a colour in any image. I have tried converting to HSV plane and then by looping over image and extracting hue channel and then by increasing count of each colour which lies in the range. but this method was not accurate at all. So looking for a better solution.

Aucun commentaire:

Enregistrer un commentaire