Make you become invisible with Python and OpenCV
Uncompleted project. I hope can make this project become better in the future
Very simple, remove the foreground frame:
- Capture and store the background (save this in the temp.txt file and then just open and load it)
- Detect the defined color (in this code default used red color, you can change it on the Trackbar)
- Segment out the defined color part by generating a mask
- Replace the part in step 3 by the background saved in step 1
Downloaded InvisibilityCloak.py
and run by the command python InvisibilityCloak.py