I just picked up some Opto-E telecentric lenses with this exact idea in mind. (That plus possibly scanning microfiche so I don't have to mess with focus.)
If I can do it on a small scale with my long-suffering Ender 3 (which keeps getting weirder and weirder stuff stuck to it), then transplanting it to a larger motion platform is trivial.
I wrote a python script that sent G-code to step the machine in a grid via the USB-serial link, and then take photos that I later stitched with a script using OpenCV.
I think I spent more time trying to make a little tk-inter GUI for it ... that I never actually used because I all did was step in a regular grid pattern at a fixed speed... than everything else combined, and that included printing a combo ring light/lens holder-to-spindle-adapter to mount the lens in the CNC.
It was a fun single-day project. Seems like I should have started a company selling them.
Comments
I just picked up some Opto-E telecentric lenses with this exact idea in mind. (That plus possibly scanning microfiche so I don't have to mess with focus.)
If I can do it on a small scale with my long-suffering Ender 3 (which keeps getting weirder and weirder stuff stuck to it), then transplanting it to a larger motion platform is trivial.
What did you do for software?
I wrote a python script that sent G-code to step the machine in a grid via the USB-serial link, and then take photos that I later stitched with a script using OpenCV.
I think I spent more time trying to make a little tk-inter GUI for it ... that I never actually used because I all did was step in a regular grid pattern at a fixed speed... than everything else combined, and that included printing a combo ring light/lens holder-to-spindle-adapter to mount the lens in the CNC.
It was a fun single-day project. Seems like I should have started a company selling them.