Skip to main content

SINGLE PINGPONG-hand

Playing a pingpong game with just color detection using opencv and python scripts

PONG

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.

Release files for virtualpp 0.0.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for virtualpp 0.0.7
File Size Uploaded
virtualpp-0.0.7.tar.gz 4.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for virtualpp 0.0.7
File Interpreter ABI Platform
virtualpp-0.0.7-py3-none-any.whl Python 3 none any Details

Total release size: 10.8 kB

Release files / virtualpp-0.0.7.tar.gz

Download URL virtualpp-0.0.7.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
d0513921b6e11de4799519d10c13650199e1d579d493d783beca364b4d6ca083
BLAKE2b-256 checksum
How to use checksums
20c50ad1d656829a9c807d9e5c47e47238e3893a1e3bd0c9aaa4d593d2a1821d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.0

Release files / virtualpp-0.0.7-py3-none-any.whl

Download URL virtualpp-0.0.7-py3-none-any.whl
Size 6.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
59daad15572740647b71bead1b577acbc73ae1b5f4d07e751dba0782afbfd8fe
BLAKE2b-256 checksum
How to use checksums
d724ed261b0f06ce170bf6a613e1380b473d27be8d58add2d187ba2cf347a028
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.0

Release history Release notifications | RSS feed

This release

0.0.7 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page