Thank you, I'll check that one up. Some od the features are not needed, but at first sight it looks fine. focal length looks fine too.
I disassembled one security camera, removed camera module and connected it to 5V power supply and RCA composite video cable.
I'm testing on table to figure out few details like should I use lights at reflective configuration or back light. Back light should give good contrast and crisp edges - metal does not transmit light. Reflective light produces pleasing pictures, but it is really a goldilocks priciple to get the light right. Cut metal tends to be very reflective, cutting oil and swarf does not help much. Polarized filters could be used.
Also I'm a little concerned about CMOS cells sensitivity to IR-light, it might be helpful on certain case, but I'm pretty sure I'll be looking pretty steep IR filter.
Another thing I have conserns is vibration, not only it is potentially harmful to electronics, messes up with sharpness of the picture, but might produce some artefacts (sort of rolling shutter type).
Only a little testing will tell. Some can be done static, some needs to be done at the lathe.