A system for the detection of blood vessels includes an image sensor coupled to generate video data including a sequence of images of the blood vessels, and a heart rate monitor to measure a heart rate of a patient and to generate heart rate data. A controller is coupled to the image sensor to receive the video data, and coupled to the heart rate monitor to receive the heart rate data. The controller includes logic that when executed by the controller causes the controller to perform operations including isolate localized motion of the blood vessels in the video data using the heart rate data. The controller also computes a blood vessel mask (that includes differences between the video data and the localized motion of the blood vessels) and combined video data (that includes the video data and the blood vessel mask).