Analog Gauge Reader Using OpenCV in Python*

ID 659026
Updated 11/28/2017
Version Latest
Public

author-image

By

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*