Skip to content

OpenSourceComputerVision/HOCUS-POCUS

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

✨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!

About

ABRACADABRA!!! You will be vanished

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%