Opencv Pong

The concept is very similar to ThomasEgi’s headtracking demo. The preliminary demo can be viewed at:

Source code at:

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:

Basically the 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.