An opencv based virtual pingpong
Project description
SINGLE PINGPONG-hand
Playing a pingpong game with just color detection using opencv and python scripts
Using opencv, to detect a specific colour(of the glove),and draw a contour over it and use the glove movements to move the centroid obtained from the operations.This will in turn move the paddle for the game.
The Game is written such a way that there is only a single player and you gotta survive for as much time as possible.
Installation
pip install virtualpp
Example
from virtualpp import final
final.GameColor("Green")
(optional)You can integrate this into a projector inside a dark room and it will give good results.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
virtualpp-0.0.7.tar.gz
(4.8 kB
view hashes)
Built Distribution
Close
Hashes for virtualpp-0.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59daad15572740647b71bead1b577acbc73ae1b5f4d07e751dba0782afbfd8fe |
|
MD5 | 80cd076f810429a5b2ff81dfebe67a14 |
|
BLAKE2b-256 | d724ed261b0f06ce170bf6a613e1380b473d27be8d58add2d187ba2cf347a028 |