USB Camera connection for optical measurement/probing

Hi, I’ve been using my shapeoko 4 as somewhat of an OMM (optical measurement machine) by attaching a simple USB microscope to the spindle mount and jogging the focal point around to capture the precise location of features via the machine coordinates.

Currently I’m just using a webcam app to view the camera and jogging around with gSender, but it would be awesome if gSender could take the image from a webcam and use it to probe after calibrating its position relative to the spindle.

bCNC has this sort of functionality, but lately I’m struggling to get it to behave properly on my mac so I’ve opted to stick with gSender for now.