A method and a system for heart rate measurement are provided. The method includes: capturing at least one image, detecting skin-like points by using a skin color detector, labeling the skin-like points and tracking at least one target to be measured, taking statistics on color values of the target at multiple time points, measuring the heart rate through frequency transformation. The method and the system are easy to setup fully an automatic contact-free measurement of multiple persons heart rates at a time, and applicable in multiple regions of human body for heart rate measurement such as head and neck, arm, and palm regions.