How to detect object of particular color in OpenCV? Leave a Comment / OpenCV, Programming / By Aims Creation / February 24, 2021 February 25, 2021 / color space, detect object of particular color, hsv We can extract any color of image using color space and inRange function. Convert image BGR to HSV. then threshold the HSV image for a range of red color.