If you have watched Harry Potter you must know what invisibility cloak is. This code tries to do the same using color detection and segmentation.
- Capture and store the background frame.
- Detect the red colored cloth using color detection algorithm.
- Segment out the red colored cloth by generating a mask.
- Generate the final augmented output to create the magical effect.
First clone the repository or download its zip.
python main.py
Referred :- Invisibility cloak using OpenCV by Kaustubh Sadekar