Somewhere on Mach forum you can find some code written by user TweakieCNC.
I'll try to find it on my computer and to put it here.
Anyhow, you will need at least two registration marks, and one should be your XY zero.
I use BigTex Blue screen set that I modified to suite my needs.
You will need to install camera plugin from Klaus: https://kd-dietz.com/index_eng.html and...
If you are interrested you can PM me.
On MDI page
On Program Run page
Thread on Mach3 forum: https://www.machsupport.com/forum/in...?topic=22932.0