Analog Gauge Reader Using OpenCV in Python*

Published: 11/29/2017  

Last Updated: 11/28/2017

This sample application takes an image or frame of an analog gauge and reads the value using computer vision. It consists of two parts: the calibration and the measurement. During calibration, the user gives the application an image of the gauge to calibrate, and it prompts the user to enter the range of values in degrees. It then uses these calibrated values in the measurement stage to convert the angle of the dial into a meaningful value.

>

What You’ll Learn

  • Circle detection
  • Line detection

Gather Your Materials

  • Python* 2.7 or greater
  • OpenCV version 3.3.0 or greater
  • A picture of a gauge to try (or you can use the sample one provided).

Continues on GitHub*

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.