Cargando…

Scale-Mark-Based Gauge Reading for Gauge Sensors in Real Environments with Light and Perspective Distortions

Nowadays, many old analog gauges still require the use of manual gauge reading. It is a time-consuming, expensive, and error-prone process. A cost-effective solution for automatic gauge reading has become a very important research topic. Traditionally, different types of gauges have their own specif...

Descripción completa

Detalles Bibliográficos
Autores principales: Wang, Chia-Hui, Huang, Ke-Kai, Chang, Ray-I, Huang, Chien-Kang
Formato: Online Artículo Texto
Lenguaje:English
Publicado: MDPI 2022
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9573578/
https://www.ncbi.nlm.nih.gov/pubmed/36236588
http://dx.doi.org/10.3390/s22197490
_version_ 1784810907480621056
author Wang, Chia-Hui
Huang, Ke-Kai
Chang, Ray-I
Huang, Chien-Kang
author_facet Wang, Chia-Hui
Huang, Ke-Kai
Chang, Ray-I
Huang, Chien-Kang
author_sort Wang, Chia-Hui
collection PubMed
description Nowadays, many old analog gauges still require the use of manual gauge reading. It is a time-consuming, expensive, and error-prone process. A cost-effective solution for automatic gauge reading has become a very important research topic. Traditionally, different types of gauges have their own specific methods for gauge reading. This paper presents a systematized solution called SGR (Scale-mark-based Gauge Reading) to automatically read gauge values from different types of gauges. Since most gauges have scale marks (circular or in an arc), our SGR algorithm utilizes PCA (principal components analysis) to find the primary eigenvector of each scale mark. The intersection of these eigenvectors is extracted as the gauge center to ascertain the scale marks. Then, the endpoint of the gauge pointer is found to calculate the corresponding angles to the gauge’s center. Using OCR (optical character recognition), the corresponding dial values can be extracted to match with their scale marks. Finally, the gauge reading value is obtained by using the linear interpolation of these angles. Our experiments use four videos in real environments with light and perspective distortions. The gauges in the video are first detected by YOLOv4 and the detected regions are clipped as the input images. The obtained results show that SGR can automatically and successfully read gauge values. The average error of SGR is nearly 0.1% for the normal environment. When the environment becomes abnormal with respect to light and perspective distortions, the average error of SGR is still less than 0.5%.
format Online
Article
Text
id pubmed-9573578
institution National Center for Biotechnology Information
language English
publishDate 2022
publisher MDPI
record_format MEDLINE/PubMed
spelling pubmed-95735782022-10-17 Scale-Mark-Based Gauge Reading for Gauge Sensors in Real Environments with Light and Perspective Distortions Wang, Chia-Hui Huang, Ke-Kai Chang, Ray-I Huang, Chien-Kang Sensors (Basel) Article Nowadays, many old analog gauges still require the use of manual gauge reading. It is a time-consuming, expensive, and error-prone process. A cost-effective solution for automatic gauge reading has become a very important research topic. Traditionally, different types of gauges have their own specific methods for gauge reading. This paper presents a systematized solution called SGR (Scale-mark-based Gauge Reading) to automatically read gauge values from different types of gauges. Since most gauges have scale marks (circular or in an arc), our SGR algorithm utilizes PCA (principal components analysis) to find the primary eigenvector of each scale mark. The intersection of these eigenvectors is extracted as the gauge center to ascertain the scale marks. Then, the endpoint of the gauge pointer is found to calculate the corresponding angles to the gauge’s center. Using OCR (optical character recognition), the corresponding dial values can be extracted to match with their scale marks. Finally, the gauge reading value is obtained by using the linear interpolation of these angles. Our experiments use four videos in real environments with light and perspective distortions. The gauges in the video are first detected by YOLOv4 and the detected regions are clipped as the input images. The obtained results show that SGR can automatically and successfully read gauge values. The average error of SGR is nearly 0.1% for the normal environment. When the environment becomes abnormal with respect to light and perspective distortions, the average error of SGR is still less than 0.5%. MDPI 2022-10-02 /pmc/articles/PMC9573578/ /pubmed/36236588 http://dx.doi.org/10.3390/s22197490 Text en © 2022 by the authors. https://creativecommons.org/licenses/by/4.0/Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
spellingShingle Article
Wang, Chia-Hui
Huang, Ke-Kai
Chang, Ray-I
Huang, Chien-Kang
Scale-Mark-Based Gauge Reading for Gauge Sensors in Real Environments with Light and Perspective Distortions
title Scale-Mark-Based Gauge Reading for Gauge Sensors in Real Environments with Light and Perspective Distortions
title_full Scale-Mark-Based Gauge Reading for Gauge Sensors in Real Environments with Light and Perspective Distortions
title_fullStr Scale-Mark-Based Gauge Reading for Gauge Sensors in Real Environments with Light and Perspective Distortions
title_full_unstemmed Scale-Mark-Based Gauge Reading for Gauge Sensors in Real Environments with Light and Perspective Distortions
title_short Scale-Mark-Based Gauge Reading for Gauge Sensors in Real Environments with Light and Perspective Distortions
title_sort scale-mark-based gauge reading for gauge sensors in real environments with light and perspective distortions
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9573578/
https://www.ncbi.nlm.nih.gov/pubmed/36236588
http://dx.doi.org/10.3390/s22197490
work_keys_str_mv AT wangchiahui scalemarkbasedgaugereadingforgaugesensorsinrealenvironmentswithlightandperspectivedistortions
AT huangkekai scalemarkbasedgaugereadingforgaugesensorsinrealenvironmentswithlightandperspectivedistortions
AT changrayi scalemarkbasedgaugereadingforgaugesensorsinrealenvironmentswithlightandperspectivedistortions
AT huangchienkang scalemarkbasedgaugereadingforgaugesensorsinrealenvironmentswithlightandperspectivedistortions