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.
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.
-
To achieve this, initially, we’ll be capturing and storing the backdrop frame.
-
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.
-
Then we’ll segment out the red-colored fabric by generating a mask and then finally.
-
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!