Summary: subsampling The slowest step here by far was grabbing the entire frame and converting it to HSV so subsampling greatly sped up our processing Thresholding for flesh colored pixels Components after connecting and calculating centroids Subsampling grabbing 1 out of every 4 pixels drastically increased our framerate Contour Tracking The next technique we tried was
Image Dimensions: 640 x 270
Image originally found here.