A machine-vision device comprising: - a camera system comprising a camera and a plurality of origin light sources that are integrated into the camera system; and - a lighting device (12; 52) comprising: ∘ a control interface comprising: ∘ a plurality of light sensors each for capturing a respective origin light signal, issued from said one or a plurality of origin light sources, and emitting a respective sensor signal in response to the capture of said respective origin light signal; ▪ an electronic unit for processing said respective sensor signal, configured so as to transmit, as a consequence of said processing, a respective control signal to at least one respective output of the processing electronic unit , ∘ one or more automatically controlled light sources that are external to said camera system, each connected to one respective output of the processing electronic unit by respective connecting means, so as to be controlled with the control signal delivered to said output , at least one light sensor being placed so as to directly capture the light emitted by one origin light source , said light sensors being configured to detect only a light spectrum of a width smaller than 50 nm. - a camera system comprising a camera and a plurality of origin light sources that are integrated into the camera system; and - a lighting device (12; 52) comprising: ∘ a control interface comprising: ∘ a plurality of light sensors each for capturing a respective origin light signal, issued from said one or a plurality of origin light sources, and emitting a respective sensor signal in response to the capture of said respective origin light signal; ▪ an electronic unit for processing said respective sensor signal, configured so as to transmit, as a consequence of said processing, a respective control signal to at least one respective output of the processing electronic unit , ∘ one or more automatically controlled light sources that are external to said camera system, each connected to one respective output of the processing electronic unit by respective connecting means, so as to be controlled with the control signal delivered to said output , ∘ a control interface comprising: ∘ a plurality of light sensors each for capturing a respective origin light signal, issued from said one or a plurality of origin light sources, and emitting a respective sensor signal in response to the capture of said respective origin light signal; ▪ an electronic unit for processing said respective sensor signal, configured so as to transmit, as a consequence of said processing, a respective control signal to at least one respective output of the processing electronic unit , ∘ a plurality of light sensors each for capturing a respective origin light signal, issued from said one or a plurality of origin light sources, and emitting a respective sensor signal in response to the capture of said respective origin light signal; ▪ an electronic unit for processing said respective sensor signal, configured so as to transmit, as a consequence of said processing, a respective control signal to at least one respective output of the processing electronic unit , ∘ one or more automatically controlled light sources that are external to said camera system, each connected to one respective output of the processing electronic unit by respective connecting means, so as to be controlled with the control signal delivered to said output , at least one light sensor being placed so as to directly capture the light emitted by one origin light source , said light sensors being configured to detect only a light spectrum of a width smaller than 50 nm. <EOS>