1. A method for generating and acquiring structured light pattern, comprising: projecting the structured light pattern onto a scene, wherein the structured light pattern is projected using pulses of light emitted by light emitting diodes (LEDs), wherein the pulses are emitted at regular time intervals, and wherein during the pulses of the LEDs, the LEDs are driven at an overdrive current when the LEDS are ON; and integrating light from the scene by a sensor of a camera only during acquiring intervals when the pulses are ON to acquire images of the scene, wherein the acquiring intervals are substantially shorter than the regular time intervals.