Being a harry potter fan I always had a childhood fantasy of using an invisibility cloak. Well it turns out that using simple image processing tricks I can now actually fulfil my childhood fantasy. This code turns a "Red Colour Cloth" into an invisibility cloak.
OpenCV (Python)
##Requirements:
Python must be installed
numpy==1.17.4
opencv_contrib_python==4.6.0.66
## Steps to run this project on your Local Machine
- For Linux User-> Do this in Terminal and For Windows User-> Do this in Command Prompt
- Install Python
- Install OpenCV
- Move to Desktop
- Clone this repository into your local machine
- Change Directory to Invisiblity Cloak
- Open Code Editor
- Replace the image file with your background OR
- Run background.py and wait for some seconds to camera window open take a image (without you) by presssing "q"
- Name of the image file must be "image.jpg"
- Run Invisiblity-cloak.py
- Enjoy with your invisiblity cloak
sudo apt-get install python3.8
pip install opencv-python
cd Desktop
git clone https://github.com/sinhasaurabh079/Invisiblity-Cloak.git
cd Invisiblity-Cloak
code .