Introduction - If you have any usage issues, please Google them yourself
Using OpenCV to prepare, with the camera to obtain images, and the frame difference method used to extract two binary images, and then a polygonal approximation method to extract the contours of the image