Invisible cloak (a la Harry Potter) implemented in opencv.
$ git clone git@github.com:/alok1974/cvcloak.git
$ cd cvcloak
$ pip install .
- Start the app on a desktop / laptop with a web cam. Stay away from the camera.
$ cvcloak
- The app will take a few seconds to capture the background. Camera feed will be displayed after that. A static background will yield good results.
- Any bright red colored object that enter the screen now will appear transparent.
- To change the detection color, open calibration and change the master hue.
Enjoy!