Python - Python is a high level programming language designed to be easy to read and simple to implement. It is open source, which means it is free to use, even for commercial applications.
OpenCV(Open Source Computer Vision) : It is an open source package or a library which is aimed at real time computer vision. It is a cross platform which can support Python, Java or C++. Originally developed by Intel, it is free for use under open source license.
OpenCV library is one of the most widely used packages for implementing videos detection, motion detection, video recognition, image recognition and even deep learning facial recognition applications.
Numpy - It is a Python library used for working with arrays (array is collection of items stored at a particular memory location). It also has functions for working in the domain of linear algebra, algebra transform, and matrices.
Colour detection and segmentation -
- It is an image processing method wherein , by making segments of single predefined color from the video and replacing it with a pre-existing background, we can create the Invisible cloak.
- You must have a cloth of similar shading and there should be no other shading noticeable in that material. Here we are taking red cloth and if you want, you can take some other color cloth - like green, blue etc. But there will be some changes in timing and code as well.
HSV colour space value -
- H is Hue, Hue describes color information, ranging from 0 to 360 degrees.
- Red lies somewhere in the range of 0 and 60.
- Yellow lies somewhere in the range of 61 and 120.
- Green lies in the range of 120- 180.
- Cyan lies in the range of 181-240.
- Blue lies in the range of 241-300.
- Magenta lies in the range of 301-360.
- S is Saturation, it defines the dim shading in specific shading running from 0 to 100% and also the purity of color.
- V is Value, it describes the brightness of color, on a scale of 0-100%, where 0 is totally dark and 100 is brightest and uncovers the most shading.