Instructions to use uhyon/mv2npp-gauge-pose with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ultralytics
How to use uhyon/mv2npp-gauge-pose with ultralytics:
from huggingface_hub import hf_hub_download from ultralytics import YOLO # pick the weights file from this repo's "Files and versions" tab weights = hf_hub_download("uhyon/mv2npp-gauge-pose", "<weights>.pt") model = YOLO(weights) source = 'http://images.cocodataset.org/val2017/000000039769.jpg' model.predict(source=source, save=True) - Notebooks
- Google Colab
- Kaggle
mv2npp gauge pose (Version 5b)
YOLO11s-pose model that finds an analog dial gauge in a photo and seven keypoints: dial centre, needle tip, scale minimum, scale maximum and three points on the scale arc (25, 50 and 75% of the scale). It was trained only on synthetic renders (20,000 images), as part of a machine-vision study for reading gauges on nuclear power plant rounds. It has not been evaluated on real plant photos.
- Code, data generator, evaluation and limitations: https://github.com/uhyon/mv2npp-gauge-reading
- Browser demo: https://huggingface.co/spaces/uhyon/mv2npp-gauge-reader
Files
| file | what |
|---|---|
best.onnx |
Version 5b, ONNX (640 x 640 input, output (1, 26, 8400)); used by the demos |
best.pt |
Version 5b, Ultralytics checkpoint (training run arc_v5b) |
Version 5b replaced Version 3 as the default on 2026-11-21. Version 3 is in this repository's history.
How it reads a gauge
The keypoints alone are not the reading. The reader in the repository
(gauge_reader.reader.GaugeReader) crops small gauges, reads the photo upright and turned by
±25°, fits the scale arc as a circle seen in perspective, reads the needle on the straightened
dial face, and answers RETAKE when the three readings differ by more than 5% of scale. The scale
range comes from a gauge registry, or from OCR of the dial numbers.
Results (MeterFL, 262 real pressure-gauge photos, scale range given)
| Version 3 | Version 5b | |
|---|---|---|
| photos read (rest RETAKE) | 90% | 88% |
| mean error, % of full scale | 1.79 | 1.36 |
| within 2% of full scale, read photos | 81% | 86% |
| within 2% of full scale, all photos | 73% | 76% |
ONNX Version 5b: 89% read, 1.43% FS, 85% / 75% within 2%. Details and robustness tests (low
light, radiation speckle, motion blur): docs/RESULTS.md in the repository.
Limits
- Trained on synthetic renders only; no real nuclear plant photos were available.
- Round dials with one needle and a linear, clockwise scale. Dual-scale dials, dials turned 90° or more, and strong motion blur are often wrong or sent to RETAKE.
- A demonstration, not a safety measurement.
Evaluation data (MeterFL, MeasureBench, Roboflow Universe sets) belongs to its authors under their own licences and is not redistributed here.
- Downloads last month
- 104