How to run:
-
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