JOIV : International Journal on Informatics Visualization
Vol 6, No 4 (2022)

Digital Image Processing for Height Measurement Application Based on Python OpenCV and Regression Analysis

Aji Bijaksana Abadi (Universitas Borneo Tarakan, Tarakan, 77123, Indonesia)
Syahfrizal Tahcfulloh (Universitas Borneo Tarakan, Tarakan, 77123, Indonesia)



Article Info

Publish Date
31 Dec 2022

Abstract

Pixel is the smallest element given by the image from a digital camera and is used as a data source in the digital image processing process. In this paper, two data collection processes are carried out, i.e. taking actual height data using a standard stature meter and taking sample photos using a camera placed from the sample with a distance of 160 cm and a height of 100 cm. The sample photos obtained are then processed for segmentation of the sample body against the surrounding environment using several digital image-processing techniques such as grayscale, blur, edge detection, and bounding box in order to obtain a pixel value that represents the height of the sample. The next stage is the regression analysis process by correlating actual height with pixel height using five regression equation analysis methods such as least squares, logarithmic powers, exponentials, quadratic polynomials, and cubic polynomials. This study analyzes the differences between these methods in terms of correlation coefficient, Root Mean Squared Error (RMSE), average error, and accuracy between height calculation data based on digital image processing and actual height measurement data. From the results obtained, the logarithmic power method produces the best analytical value compared to other methods with the correlation coefficient, RMSE, average error percentage, and percentage accuracy of 0.976, 1.3, 0.58%, and 99.42%, respectively. While the cubic polynomial is in the last position, the correlation coefficient, RMSE, average error percentage, and accuracy percentage are 0.978, 1.41, 0.64%, and 99.36%, respectively.

Copyrights © 2022






Journal Info

Abbrev

joiv

Publisher

Subject

Computer Science & IT

Description

JOIV : International Journal on Informatics Visualization is an international peer-reviewed journal dedicated to interchange for the results of high quality research in all aspect of Computer Science, Computer Engineering, Information Technology and Visualization. The journal publishes state-of-art ...