Are you a PotterHead? If yes, then you would surely know about the Harry Potter's Invisibility Cloak.
Ever wondered of using it? Guess what, you can fulfil your childhood fantasy using simple image processing tricks.
This 50-60 lines of python code will actually allow you to turn a simple red cloth into an invisibility cloak! 🌠
- Numpy
Command for installing in Windows :pip install numpy - openCV
Command for installing in Windows :pip install opencv-contrib-python
If you have previous/other manually installed version of OpenCV installed (e.g. cv2 module in the root of Python's site-packages), remove it before installation to avoid conflicts(It may give you recursion errors). - time(pre-installed)
- Let the webcam capture the background for 2-3 seconds
- Come inside the frame holding your magical red cloth
- YOU ARE INVISIBLE! 😯

