HW1

Due on Feb 20

  • Setup the OpenCV environment and capture a short video of yourself. Please submit a screenshot of running your code (5 points).

  • Segment all blue pixels (with H values between 99 and 125 in the HSV color-space) in a captured frame. Display the segmentation result (all segmented pixels shown as white with the rest shown as black) along with the captured frame (10 points).

  • Display the ratio of the segmented pixels over all pixels on the frame (5 points).