Coder Social home page Coder Social logo

sarvekash / harry-potter-invisible-cloak Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 10.61 MB

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

Python 100.00%
opencv python harry-potter invisible-cloak

harry-potter-invisible-cloak's Introduction

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

harry-potter-invisible-cloak's People

Contributors

sarvekash avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.