Metadata-Version: 2.1
Name: virtualpp
Version: 0.0.7
Summary: An opencv based virtual pingpong
Home-page: https://github.com/abhijithneilabraham/PINGPONG-hand
Author: Abhijith Neil Abraham
Author-email: abhijithneilabrahampk@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown

# SINGLE PINGPONG-hand 
Playing a pingpong game with just color detection  using opencv and python scripts
<p align="center">
  <img src="https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcTkpBRwgufN0QBcq5lDst8UM5lLP_DxGLFaJb3RLECMG0n1nQQ8"
       height="500" width="500"alt="PONG"/>
</p>



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.







