/RingMeter

An OpenCV application for measurement of the diameter of rings using a web camera

Primary LanguageC#

Description

This OpenCV based program has been designed to measure the internal diameter of rings using a web camera. Before the measurement the system should be calibrated using a checkered picture.

Demo video

RingMeter demo video

Calibration

alt tag Calibration is required for two purposes:

  1. Finding relation between pixel measure and real world distance.
  2. Compensation of camera distortion.

Background correction

alt tag

Measurement

alt tag After internal ring contour recognition, it is approximated to a circle using the LMS method. The diameter of the circle is the measured value.

Keywords

OpenCV, opencvsharp, C#, image processing, camera calibration, ring measurement, обработка изображений, калибровка камеры, измерение диаметра кольца.