OpenCV project
Day7 of #100DaysOfCode:
built a snake game using OpenCV.
git repo: https://t.co/Btkw7Yc326
To see more of my projects, visit: https://t.co/3bLxlwYtIY#python #Opencv #snake #oop #programming pic.twitter.com/RDBakQg2zY — Priyanshu Kumar (@priyanshu2k02) March 20, 2022
I have built this project using the CVZone Hand tracking module, which uses MediaPipe, an open-source ML library by Google.
The basic functioning of this project is similar to the Snake Game project, with the main difference being Game over logic, for which the Polyline function of the cv2 module is used which calculates the minimum distance of the Snake’s head(Your index fingertip) to the snake’s body.