Acquiring and processing heart rate data involves providing glasses having a microcontroller, a heart rate sensor positionable to a user, a configuration memory, at least one data memory, a clock/calendar electronic circuit, a visual and/or audible signaling unit, a rechargeable autonomous electrical power supply, and one switch for the heart rate detection function. The method involves providing a programming and data transfer unit external to the glasses, providing a connection system between the glasses and the external programming and data transfer unit, programming the configuration memory (102) of the glasses using the external programming and data transfer unit, with a minimum heart rate threshold value, a maximum heart rate threshold value, and a heart rate reading frequency value, acquiring readings in data memory of the glasses during activity, processing an alarm signal when a detected heart rate value is above a maximum or below a minimum.