There are three different ways to accomplish this project. Please install opencv in advanced.
- First one is Color-base approach. The output video will be in .output/color-based folder
$ python color-based.py -p <video_name>.mp4
2. Second one is Hough_base approach. The output video will be in .output/hough_based folder
$ python hough-based.py -p <video_name>.mp4
3. Last approch is developed by myself. The output video will be in .output/own_solved folder
$ python own_solved.py -p <video_name>.mp4
The results from my own approach can almost detect the countour of yellow, but the blue part of the anchery cannot work out. I suspect that one of the problem is maybe the hand holding on the anchery makes my algorithm more difficult to detect as a circle.