Using OpenCV to find and draw contours in video
This is a very similar post to that posted previously, which used a OpenCV and cvBlobsLib to identify contours in video footage and display them on the screen. Please refer to this for detail on how to convert the Red, Green, Blue (RGB) format into Hue, Saturation, Value (HSV) format, and threshold the HSV into the black and white format needed for finding contours in OpenCV: https://www.technical-recipes.com/2011/track-colored-objects-in-video-using-opencv-and-cvblobslib/ This example achieves the same but without using the cvBlobsLib to identify contours / strongly connected components, just 100% OpenCV calls.