Opencv Pong

The concept is very similar to ThomasEgi’s headtracking demo. The preliminary demo can be viewed at:
youtube.com/watch?v=abusTzgsYYM

Source code at:

code.google.com/p/pandademomaster/downloads/list

It requires opencv version 1.1
Opencv version 1.1 python wrapper is on python 2.6, and the implementation is not very good. I use this one instead:

code.google.com/p/ctypes-opencv/downloads/list

Basically the camclient3.py is based on the camshiftdemo, which locate the table-tennis racket and send the information to panda application through socket message.

Hi clcheung,

This is awesome stuff, it would be really cool when implemented in an functional application.

Only if it is under a controlled environment. I think it works the best for specific game under specific controlled environment.