Smart inspection helmet
Hardware- 2 Devlogs
- 9 Total hours
A smart helmet project that uses computer vision to read analog gauges and monitor industrial equipment.
A smart helmet project that uses computer vision to read analog gauges and monitor industrial equipment.
i have fixed the fps issue previously and getting stable fps to perform my task through a webcam its mentioned in first devlog so i moved on to next part
so after that i started working on detecting gauge and its main pin
first i started with detecting the circle and middle point of the gauge so i used gauge image for that for now and then i apply same algorithm in video input
so i understanded the geometry of circle to detect circle in the gauge
then i get to know that we have prepare the image first for the detection in which we apply grayscale filter and blur to image , blur to reduce the noise
after that preparing i used the “cv2.HoughCircles()” library of open cv this library search the circular shapes in images it have multiple parameter we can tweak to get desirable outcome
after using that library to detect circle i draw the circle in the image and displayed the output in terminal
after detecting the main circle in gauge finding the pin mid point is easy just put an dot on middle of circle(repented by red)
(some time is inflated due to some error in hackatime i hope it solve asap it tracked my unrelated grokbot session time in this project )
i checked the new webcam i choose this cam because its best for my use , got its feed on window using python
decided using open cv library of python to track the gauge data live
learned you to add images in opencv window and add filters to them learned how to apply different types of filters
i faced from in getting stable fps in video feed using web cam so i tried multiple technique then i figured out by lowering the resolution and changing the video format give me output that i want
so set the resolution to 640X480 and format to MJPG