fruit-slicer-cv Fruit Slicer with OpenCV computer vision control - Use phone flashlight in place of mouse - Built as an early prototype of flashlight control for Beat Slicer How to run: Clone the repository, and run game.py - that's all! OpenCV Python library is required. The program is run on cmu_112_graphics: https://www.cs.cmu.edu/~112/notes/cmu_112_graphics.py The slicing relies on the Sutherland-Hodgman polygon clipping algorithm. Information can be found here: https://rosettacode.org/wiki/Sutherland-Hodgman_polygon_clipping#Python To play: Fruits fly up from the bottom of the screen. Drag your mouse over them to slice and get points. You can slice the fruit multiple times. Commands: Press 't' generate more fruits.