Machine Vision: Measuring a planar object using Computer Vision.
Programmed and developed USB camera measurement tool using computer vision functions.
Investigated and experimented with computer vision techniques using OpenCV’s algorithms and Matlab’s data access, image and visualization capabilities.
Used Matlab's MEX (matlab executable) compiler to interface with matlab.
At a resolution of 800x600 a USB webcam distinguished and measured a red bottle cap of 26.78 mm diameter and identified and measured it to within 0.22 mm of measurement made with a micrometer.
At a resolution of 800x600 the USB microscope was able to distinguish and measure a red plastic cap of 3.54 mm diameter and identify and measure it to within 0.15 mm of the measurement made with a micrometer.

Background subtracted image used in webcam measurement. Note the coin in the upper right hand corner which is not being measured.

After background is removed, the chessboard calibration detection algorithm draws the detected chessboard alongside the red bottle cap being measured.

Post-processed image of 26.78 mm bottle cap

Detected Circles (left) and Rectangles (right) superimposed as white blobs onto the post-processed image.

Generated output text from Matlab