The invention discloses a device and method for fatigue driving early warning of a driver of a
truck. The device and the method are characterized in that the
heart rate before driver driving is preliminarily detected through a first preset
heart rate, so that the driver is warned to avoid dangerous driving when the
heart rate of the driver is too low due to
disease, fatigue driving and the like, the fatigue state of the driver is preliminarily determined through the rapid comparison of the initial heart rate and the first judgment heart rate, so that the method and the device are beneficial toimproving the detection accuracy. According to the method and the device, the first judgment
face model is generated by combining the initial face information of the driver with the existing public face three-dimensional model, and then the first
facial expression three-dimensional contrast
library is generated by combining the existing fatigue driving
expression library, so that the driver of different facial features can have the own individual
facial expression three-dimensional contrast
library, and the recognition accuracy of the fatigue state of the driver is improved.