Skip to content

cfgong/fruitninjacv

Repository files navigation

Squares are Bombs!

Computer Vision Game

Welcome to Squares are Bombs!
To play the game run: game.py or fruitNinja.py

Use your finger/ hand to hit the circles, avoid the bombs!
Press 'S' to select hand skin sample. Use cursor to draw a bounding box to select the skin.
Then, press 'ENTER' to begin game.

game.py uses skin detection and contours to get hand.
fruitNinja.py uses skin detection.

Not all code is original. Online resources have been referenced.

Required packages:

  • cv2 (pip install opencv-python)
  • numpy (pip install numpy)

About

Fruit Ninja Computer Vision Game

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages