Invisibility Cloak using python and Opencv
A Harry Potter fan would already know what is an invisbility cloak is.So with a few line of code you can implement it.
color detection and segmentation.
- numpy
- cv2
- First capture and store the background using background variable.
- Detect a cloak(a red color cloth) using detection algorithm.
- Then segment out the red color cloth by generating mask
- Generate the final augmented output.
And there is your magical cloak.