Working version with extracted images from CvBlob output