Run without any installation
-
Download .exe file from https://drive.google.com/drive/folders/1ed7nqUVBhtMXb2d8pvdqj2znPcJRvpJy?usp=sharing
-
Double click on 'invisible' (.exe file) to run script (make sure you have webcam connected with computer)
-
Let the script launch live stream and capture background then enter in the frame with red cloth to get invisible.
-
Press 'Esc' to exit, After exit, system will automatically save output video in the same folder.
How to run (Python setup):
-
Download complete folder and rename it to magicCloak.
-
Create virtual environment named 'env' and activate it using (in windows)
cd env\scripts
activate
-
Change directory to magicCloak folder
-
install openCV using
pip install opencv-python
- Run the script using
python invisible.py
- Press 'esc' to exit. After exit script will store output of video in the same folder.
NOTE: Take a red colored cloth or blanket and cover yourself to be invisible.
Reference: https://mehebuba.blogspot.com/2019/05/harry-potters-magical-cloak-with-opencv.html