Skip to content

This makes the blue-colored object invisible just similar to Harry Potter's magical cloak

Notifications You must be signed in to change notification settings

AbhinandanAdhikari/Harry-Potter-Invisibility-Cloak

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Harry Potter's Invisibility Cloak using Computer Vision

  • This is project uses the concept of computer vision implemented using Python, OpenCv, Numpy.
  • This is opposite green-screening(which removes background frame). Here, it will remove the foreground blue-colored object, creating a sense of invisibility.
  • Click Here to watch the demo Video

System Requirements:

  • Python
  • OpenCv
  • Numpy
  • Webcam

Algorithm:

  • Capture and store the background frame.
  • Detects the blue-colored object/cloth using color detection.
  • Segment out the blue-colored cloth by generating a mask.
  • Finally, merges the masked background frame with the real frame, creating a sense of invisibility.

Concepts used:

  • Color Space Conversion
  • Color Tracking
  • Image Masking
  • Image segmentation

Original Harry Potter's Cloak:

image image

How to use it:

Keep the webcam stable and ensure there's nothing initially infront of the camera

image

Run the python code

Let it capture the background frame for few seconds

image

When you bring a blue-colored object infront of camera the output would be like this:

image

image

Hope you all like this magical project ❤️

About

This makes the blue-colored object invisible just similar to Harry Potter's magical cloak

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages