Skip to content

A cool way to implement Harry Potter's Invisibility Cloak using simple Python and OpenCV techniques.

License

Notifications You must be signed in to change notification settings

freAK14/Invisibility-Cloak-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Invisibility-Cloak-Python

Requirements:

Python Libraries

  • NumPy
  • OpenCV
  • time

Physical Requirements:

  • Red colored cloth(saturated and solid)
Note: Incase you wish to use a different colored cloth, you would need to change the hsv(hue saturation value) parameters in the code.
I've used a solid red colored cloth. Preferably use pure Red, Green or Blue colors since they are the most saturated options.

How To Use:

  • Run the script and wait for around 3-5 seconds without you being in the frame.(To capture the background which we will use later to replace the pixels of cloth.)
  • Then, try out the output yourself with your newly cretaed Invisiblity Cloak, just like Harry Potter.

Reference:

Kaustubh Sadekar's Github Repository: https://github.com/kaustubh-sadekar/ (He has a well explained tutorial in his respository as well.)

About

A cool way to implement Harry Potter's Invisibility Cloak using simple Python and OpenCV techniques.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages