Skip to content

Simulating the famous invisibilty cloak from the Harry potter movie using computer vision masking and segmentation.

Notifications You must be signed in to change notification settings

Emmytheo/Invisibility-cloak

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Invisibility Cloak

Create your own invisibility cloak using OpenCV

Download the input video

The input video can be downloaded using this link: https://drive.google.com/file/d/1rc13wZ9zC03ObG5zB3uccUtsg_rsI8hC/view?usp=sharing

Using the C++ code

Compilation

To compile the Invisibility_Cloak.cpp code, use the following:

mkdir build
cd build
cmake ..
cmake --build . --config Release

Usage

Refer to the following to use the compiled file:

./build/Invisibility_Cloak --video=Input.mp4

To take input from camera, use:

./build/Invisibility_Cloak

Using the Python code

Usage

Refer to the following to use the Python script:

python Invisibility_Cloak.py --video Input.mp4

To take input from camera, use:

python Invisibility_Cloak.py

About

Simulating the famous invisibilty cloak from the Harry potter movie using computer vision masking and segmentation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published