sush0408 / magicCloak

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

magicCloak

Run without any installation

  1. Download .exe file from https://drive.google.com/drive/folders/1ed7nqUVBhtMXb2d8pvdqj2znPcJRvpJy?usp=sharing

  2. Double click on 'invisible' (.exe file) to run script (make sure you have webcam connected with computer)

  3. Let the script launch live stream and capture background then enter in the frame with red cloth to get invisible.

  4. Press 'Esc' to exit, After exit, system will automatically save output video in the same folder.

How to run (Python setup):

  1. Download complete folder and rename it to magicCloak.

  2. Create virtual environment named 'env' and activate it using (in windows)

cd env\scripts

activate

  1. Change directory to magicCloak folder

  2. install openCV using

pip install opencv-python

  1. Run the script using

python invisible.py

  1. 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

About

License:MIT License


Languages

Language:Python 100.0%