Invisible Cloak...

Let's do some kind of Magic in our Planet .....
Seems like a daydreamer for many of us right...Like visiting to Hogwarts and
acquire a knowledge of
magical
spells just like a Harry Potter & his friends woah!
I always imagined to be invisible for a moment then I found something in which scientists and
researchers are still
researching ...And see what they invented, and this device said to be Invisible Cloak methodology.
What is the perspective to design ?..
The Cloak be a magic & invisible inside HArry Potter movie. As we all knew there is no magic at all right, possibly its a science trick.Now... What is the concept behind this magic? Let's see...invisibility is a fusion of science fantasy and collective imagination, we can say. Althogh I tried to make my invisible cloak via python codes... Curiosity high to see how its happening!

Project Prerequisites:
● Python – Version 3.x or above(we use here version 3.10)
● Numpy -1.19.2
● OpenCV -4.5
● Selection of IDE for project as per your choice (we are using Pycharm and it is also works on VS Code)
● For deployment of project we used here github.
Now let's start understanding how it's working practically ::
Basic requirements::
We need to choose a highly saturated color cloth and I'll choose red color because it's my favourite
although you can choose any from your wardrobe to make yourself ivisible folk i.e.red, green or blue
(rgb), because these are highly sturated
color.Now if we sected red then
ensure that our background does not contain any red colour. Because if the
background contains that colour, then it will cause problems alright.


cv2.inRange() function returns a segmented binary mask of the frame where the green color is present.
Now finally Removing unnecessary black ad white noise from mask :

Results

This is the output of Machine Learning Project...
Conclusion and Future Scope
OpenCV is a vast field and has many practical applications available in the industry like object detection, motion detection, facial recognition, and nowadays many organizations are using the same in the name of AI and Computer Vision for developing surveillance systems to keep track of criminal activities.
Another reason for its useful its execution speed and efficiency as compared to other image processing libraries. Once you dive into it, will open the way for many innovative ideas and fun projects like you can control a racing game with gloves in your hand or else you can be invisible in your online video classrooms and many more.
It will not be the real cloak but some graphical tricks with OpenCV and Python to make things invisible in front of the camera based on colour detection and colour segmentation techniques. The same has been done for an android camera using OpenCV and Python.
Reference
Image Segmentation Using Color Spaces in OpenCV + Python, [online] Available: Click me
HSV color space, [online] Available: www.learnopencv.com.
Morphological operations (Erosion Dilation morphological open), [online] Available: Click me
People also search...
People who read also read this


