Skip to content

Latest commit

 

History

History
39 lines (17 loc) · 1.86 KB

README.md

File metadata and controls

39 lines (17 loc) · 1.86 KB

✨HOCUS-POCUS✨

Have you ever thought of making visible things invisible, just like Harry Potter did with that invisible cloak? 🧙 🧙 🧙

The cloak was magical and invisible in Harry Potter, the movie. As we know there is no magic and no invisible cloak which exists in the world. It’s all about the graphics tricks.

The concept of an invisibility cloak is a mixture of science, fantasy, and the collective imagination.

This magic project will help you to create your own ‘Invisibility Cloak’.

Here is my friend Anamika Pal

It will make use of Python and OpenCV modules specifically targeting Image Processing and Image Segmentation to create a false sense of invisibility in the frame.

How to create your own ‘Invisibility Cloak’???

  1. To achieve this, initially, we’ll be capturing and storing the backdrop frame.

  2. Thereafter we’ll be identifying the red (You can use any coloured cloak but for that just change the range of ‘H.S.V’ value according to the particular colour table) colored fabric by making use of the above-mentioned algorithms.

  3. Then we’ll segment out the red-colored fabric by generating a mask and then finally.

  4. We will generate the final augmented(magical) output to create an Invisibility cloak.

This technique is opposite to the Green Screening. But unlike green screening where we remove the background, in this application, we remove the foreground!