Inspiration

I got the inspiration to built this from Harry Potter's invisible Cloak.

What it does

By executing this program all red color pixels are removed from video frame. For example if person stand with red cloth and all the area which is covered by red cloth will be invisible.

How I built it

To built this program, I have used Python's OpenCV library and numpy.

  1. I will capture the background image from video frame.
  2. Detect the red colour using color detection algorithm.
  3. Segment out the red colored cloth by generating a mask.
  4. Generate the final augmented output to create the magical effect and show it using imshow method of OpenCV.

Challenges I ran into

Try to get exact saturation value for red color is quite challenging and also to mask the image is little bit tricky.

Accomplishments that I am proud of

I have successfully developed a program of Invisible cloak using OpenCV.

What I learned

How to use color detection algorithm and masking using OpenCV.

What's next for Invisible Cloak using OpenCV (Python)

Right, now I haven't decided much to take this project further but I am looking forward to deploy this program into web application.

Built With

Share this project:

Updates