Computer vision is used to read the mechanical gauge of a Haimer 3D Sensor and Python sends commands to LinuxCNC to perform touch-off operations automatically, similar to a standard electronic probe.

GitHub page
Cliff Hall’s (ThreadExpress) probe
What is a Haimer 3D-Sensor?