Ask Your Question

Revision history [back]

Maybe reading this would help you understand the results you get after the HSV conversion.

What you need to do is convert the BGR colour to it's respective HSV component. It is a simple calculation that can be a little fun challenge for you to implement. Details of the algorithm can be found here.

If you feel lazy; which I hope you don't, here's a Github repo with the implementation.

Happy Coding!

Cheers :)