Automatic sensor and light source positioning for machine vision | Synapse