Real Time Object Measurement
Real Time Object Measurement
Abstract:
In these days of the 4th industrial revolution, real-time object detection and dimensioning is an important aspect from an
industrial point of view. These are requisite topics of computer vision problems. This study presents an augmented technique for
detecting objects and computing their real-time measurements from an IoT video device such as a webcam. We have suggested an
object measurement technique in real-time using AI and IoT technologies like OpenCV libraries and webcam respectively.
OpenCV includes many libraries and algorithms that are used in this project. The technique has four stages: (1) capturing image
(2) object measurement process (3) save output (4) displaying output.
webcam=True
path='1.jpeg' Fig. 04 Experimental Screenshot
cap=cv2.VideoCapture(0)
cap.set(10,160) In Fig. 04 the screenshot is taken while performing it live
cap.set(3,1920) and the screen appears to be as such. The dimensions of
cap.set(4,1080) the objects are recognized and are shown in units cm. the
scale=3 right side is the live video frame of the object.
wP=210*scale
hP=297*scale
VIII. REFERENCES
1] Muthukrishnan.R and M.Radha “Edge Detection
Techniques for image Segmentation” International Journal of
Computer Science & Information Technology (IJCSIT) Vol3,
No 6, Dec 2011.
[6] AnEmbeddedReal-
TimeObjectDetectionandMeasurementofitsSize.pdf
After calculating the measurements it displays specifically the [8] Modrow, D., Laloni, C., Doemens, G., & Rigoll, G.
length and the breadth of the two-dimensional object. Check (2007). 3d face scanning systems based on invisible infrared
Fig. 06. coded light. Advances in Visual Computing, 521-530.
VII. CONCLUSION AND FUTURE SCOPE [9] Nedev, S., & Ivanova, V.C. (2006). Web camera as a
measuring tool in the undergraduate physics laboratory.
Conclusion:
As a result of this system, many improvements can be made to European Journal of Physics 27, 1213.
the industrial sector. The project successfully measures the
dimensions of the object in real-time. Hence the computer [10] Oggier, T., Kaufmann, R., Lehmann, M., Buttgen, B.,
vision (webcam device and code) is used to measure the Neukom, S., Richter, M., Schweizer, M., Metzler, P.,
dimensions in real-time. It captures the image from the real- Lustenberger, F., & Blanc, N. (2005). Novel pixel architecture
time video frame and then displays its dimensions. A Canny with inherent background suppression for 3 D time-of-flight
edge detector is successfully used to detect the dimensions. imaging, Proc. SPIE, pp. 1-8.
This technique works fast and has many advantages and
salient features that can be implemented in the real world. [11] Rahi, M.F. (2010). Driver circuit construction using
visible semiconductor laser for distance measuremen. Al-
Future Scope: Mustansiriyah University, College of Science, Dep. Physics.
Machines are used in every part of human life. Machines work
according to us but in today’s world, we work according to [12] Sachs, J. (1996). Digital image basics. Digital Light &
machines. The rush to soar high is immense. Hence, machines Color. Retrieved from http://www.dl-
are important and so are the parts of them. If the parts do not c.com/Temp/downloads/Whitepapers/Basics.pdf
fit well a machine cannot work properly. The dimensions of
the objects sure make a great impact. This AI IOT based [13]https://www.researchgate.net/publication/330728646_An
project will help in measuring the dimensions in real-time. It is _Embedded_Real-
convenient and easy to use. It also gives accuracy and Time_Object_Detection_and_Measurement_of_its_Siz