Skip to content

This repository contains the implementation of invisibility cloak as shown in the movie series Harry Potter.

Notifications You must be signed in to change notification settings

sarvekash/Harry-Potter-Invisible-Cloak

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Invisibility Cloak

Create your very own invisibility cloak using python's opencv package.

Features:

  • It works based on background detection and colour detection.
  • You can adjust the colours of the cloak by changing the H values of the lower and upper red limits. In this code we have taken red coloured cloak so the value is from 10-170.
  • For the colour codes or the HSV values of green and blue colours refer the web. Green starts from 120-180.
  • You can adjust the saturation and brightness values by changing the S and V values.
  • First show the webcam towards the background as it is the mask1 of the code and then show the cloak as it the mask 2 of the code.
  • The code is basically the superimposition of the 2 images.

Pre-requisites:

  • Python3 installed
  • Opencv package installed
  • Numpy package installed

About

This repository contains the implementation of invisibility cloak as shown in the movie series Harry Potter.

Topics

Resources

Stars

Watchers

Forks

Languages