Skip to content

Classical-machine-learning/invisiblityCloak

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

This project aims to emulate an invisibility cloak like in Harry Potter.

Note: Run this before you start

pip install -r requirements.txt
  1. First we need to choose the color to mask. The code works by masking a specific color.
python range_det.py -f HSV --webcam

After you run this, you will be presented with a a few camera views. Go to the one with the slider and the one which starts off with a white screen.

  1. Adjust the values till only the object you wish to make invisible becomes white and the rest is black. The finer you get this, the finer your invisibility will be.

  2. Press q to quit on any of the open camera windows.

  3. After you do that. Run invisible.py

  4. Move away from the webcam for a few seconds and come back holding the cloak. Congratulations!! You are now a wizard!!

PS. Look at the video for an example.

About

Emulate an invisibility cloak

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages