Many traffic accidents take place throughout the world every day claiming lives as well as commodities and people involved in the accidents have to stay long periods at the hospitals. Traffic accidents are caused by many reasons. One of the reasons is the driver's having a heart attack just before the accident took place. If the heartbeat of the driver can continuously be measured, then most probably one of the reasons of traffic accidents can be eliminated. The designed model aims to measure the driver's heartbeat using infrared imaging. Some car models already have a driver heartbeat monitoring system and it measures the heartbeats by using the back seat electrodes. But these systems are expensive and unique to their models and what is more; its adaptation to other car models can pose a difficulty. Implementing on the car's rear-view mirror this new design monitoring system is very cheap and also it can be mounted to all motor vehicles easily.