Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
Description: Everyone knows Fruit Ninja; meet 112 Ninja! This high-octane gaming experience will free you of your once sedentary lifestyle. Instead of swiping your fingers on mom's iPad like everyone else, our app allows you to truly embody the way of the *warrior/ninja* by making this classic gameplay a whole-body experience. Leveraging OpenCV video analysis with Mediapipe Human Pose Estimation, our software tracks your index finger, turning it to a truly powerful sword that slices through fruits and Piazza with ease--watch out for bombs and Kosbies, though! Authors: Pietro Coppola di Canzano (pcoppola@andrew.cmu.edu) Louis Sloot (lsloot@andrew.cmu.edu) Hridayam Tusnial (htusnial@andrew.cmu.edu) Dylan Yang (dylany@andrew.cmu.edu) Dependencies: opencv-python mediapipe cmu_graphics *Run main.py to begin the program. Citations: https://www.geeksforgeeks.org/python-opencv-cv2-cvtcolor-method/ https://ai.google.dev/edge/mediapipe/solutions/vision/hand_landmarker https://ai.google.dev/edge/api/mediapipe/js/tasks-vision.drawingutils#drawingutilsdrawlandmarks https://docs.opencv.org/3.4/d8/dfe/classcv_1_1VideoCapture.html#a57c0e81e83e60f36c83027dc2a188e80 https://www.spriters-resource.com/mobile/fruitninja/ https://academy.cs.cmu.edu/docs https://mediapipe.readthedocs.io/en/latest/solutions/hands.html ChatGPT (helped with setting up OpenCV video capture) https://ai.google.dev/edge/mediapipe/solutions/vision/pose_landmarker https://ai.google.dev/edge/api/mediapipe/js/tasks-vision.poselandmarker#poselandmarkerdetect https://colab.research.google.com/github/googlesamples/mediapipe/blob/main/examples/pose_landmarker/python/%5BMediaPipe_Python_Tasks%5D_Pose_Landmarker.ipynb#scrollTo=_JVO3rvPD4RN