Invisible-Cloak
First run background.py to get the background image(press 'q' to capture background)
Then run invisible_cloak.py to see the magic.
Working
This technique is opposite to the Green Screening. In green screening, we remove background but here we will remove the foreground frame.
- Capture and store the background frame
- Detect the defined color using color detection and segmentation algorithm.
- Segment out the defined colored part by generating a mask.
Requirements
-
OpenCV will be used for image processing part i.e. to start the camera, read each frame in code, color detection, color masking, and streaming final result
-
Numpy will be used to deal with arrays as images in python are a series of Numpy array.