Immagine di copertina del volume 513

This work introduces PyGraph Scanner, a Python-based software for the automatic digitization of historical and analog graphs. The tool addresses the need to recover time series stored on paper, which are otherwise difficult to use with modern digital tools, providing a bridge between past observations and contemporary quantitative analyses. The code integrates a GUI built with PySide6, image processing through OpenCV, and data handling with NumPy. Starting from a few reference points selected by the user, the algorithm tracks the graph by scanning horizontally and computing the centroid of color-compatible pixels, ensuring robustness against noise while allowing manual intervention in complex sections. The method was tested on synthetic graphs (straight lines, sinusoids, and...

Published: 2026-03-09