Hi John,

I've put up the first version of the wire app here:
https://github.com/betzuka/laserleve...uilds/wire.zip

Extract and run wire.bat, needs java installed as per the laser app. The wire needs to be crossing the rectangular field of view of the sensor in the short dimension, e.g. if your sensor is 640 wide by 480 tall wire should be crossing the sensor from top to bottom.

It doesn't care whether it is looking at a bright wire on a dark background or vice versa, just needs a decent contrast and the microscope focused so that the wire edges appear reasonably crisp. My fishing line is just black mono filament, super cheap kids stuff that I already had. The main reason for the different algo from the laser is that the objective is lit from the front rather than behind, so it isn't acting like a shadow camera, this means you get lots of reflection off of the surface of the wire which would misslead anything searching for a gaussian, or indeed searching for anything other than the wire edges.

Your idea of using it to check for planar surfaces is brilliant ! I could stand my machine on end, drop two plumb lines and measure the relative error between the two lines from each respective rail.

At some point I will integrate it into the laser app so all the other error plotting stuff works. Do you have a microscope to test it with? If not this is the one I'm using, it is also very handy for SMD soldering etc.
https://www.amazon.co.uk/Microscope-.../dp/B07BF86SRP

Cheers, Joe