This is a fun application of image processing which enables you to experience the magic of an invisibility cloak using OpenCV.
For downloading python just Click Here.
Then, click Download.
You can use this link this will download the latest version of python for you https://www.python.org/ftp/python/3.8.2/python-3.8.2.exe. After that an .exe file will be downloaded.
Just go through it and it will install Python.
For this project you need to have certain libraries installed, like:
-
pip : Open Command Prompt and type
python get-pip.py
To check if installation was successfull, type:
pip -V
, you should see something like:pip 18.0 from c:\users\administrator\appdata\local\programs\python\python37\lib\site-packages\pip (python 3.7)
-
numpy : Open Command Prompt and type
pip install numpy
-
opencv : Open Command Prompt and type
pip install opencv-python
(check extra modules listing from OpenCV documentation )
To check if the installation is complete or not, go to IDLE, and type:
import cv2
import numpy
If your installation was successful, these 2 lines will produce no errors.
- Go to the repository Invisibility-Cloak, and click on Fork .
- Then you can Download the whole folder, or Clone this repository.
- Install Python and the above mentioned libraries
- Open the code
Cloak.py
in your IDE and Run.