Capture and store the background frame [ This will be done for some seconds ]
Detect the red colored cloth using color detection and segmentation algorithm.
Segment out the red colored cloth by generating a mask. [ used in code ]
Generate the final augmented output to create a magical effect. [ video.mp4 ]