LED Light Intensity Control Using Bolt IoT & Hand Gestures(Computer Vision๐ท)
Get link
Facebook
X
Pinterest
Email
Other Apps
Introduction :
I am Subhendu Choudhury Robotics and Automation Engineering student at THE NEOTIA UNIVERSITY. I Build a Bolt IoT Project on light intensity control using hand gestures. In this video, you can see what I build.
.I use a Hand-Tracking module based on a media-pipe which can detect ✋hands, all fingers joints & position, fingers Up or Down, and tip distance of two-finger.
media-pipe is a CNN(convolution Neural Network) based Computer Vision library that gives a real-time hand-tracking solution. Using this solution I'm made a hand tracking module.
. Using findDistance() function I measure tip distance between the index and thumb finger that gives me a variable length(range 50 - 200 experimental integer value), that's is my point to convert this length value with an Intensity value(range of 0 - 255).
By linearly interpolating these two ranges of value I'm getting a variable Intensity value.
. Now due to the limitation of sending API requests to Bolt Cloud, I need a trigger point that why I can control when I should send the intensity value to bolt cloud.
By up and down Pinky finger I use to trigger the API request(using fingersUp()function).
# Check fingers up
fingers = detector.fingersUp()
print(fingers)
# If pinky is down send Intensity value to bolt server
. When an API request sends to Bolt cloud it gives an Analog signal output to the Bolt IoT device on the defined pin. Here I define pin no. "0" as an output of an analog signal to control the intensity level of led.
Conclusion & Motivation :
My main motivation for doing this project is to showcase that we can control IoT devices using Computer Vision ๐ท response and that makes a big possibility.
Using this same method and using more optimized hardware(also some change on code) I can control an IoT-enabled robotic hand. Due to a lack of resources now I am unable to do this project but it's my future project expect.
Comments
Post a Comment