View Demo
View Viki
Report Bug
Request Feature
The increasing number of traffic accidents and the casualties and property losses caused by them have gradually become a common concern of the society.
How to detect the fatigue state of drivers efficiently and accurately is of great social significance to effectively protect the life and property safety of drivers and other related personnel.
This project uses night vision cameras to monitor the driver's status in real time. The system recognises and alerts the driver when they are yawning, nodding and blinking frequently.
- Clone this repository
git clone https://github.com/FatigueDetecting/Fatigue_detecting.git
- FatigueDetect path
cd FatigueDetect
- Run
./FatigueDetect
If you want to edit the source code,you could install Qt creator and open UIproject.pro to edit.
Download and configure QT5
- Update
sudo apt-get update
sudo apt-get upgrade
- Prepare to install
sudo apt-get install qt5-default
sudo apt-get install qtcreator
- Configure
a)Open Qt creator
b)Configure the compiler: menu bar->Tools->Options->Build&Run
Select Compilers
Click add->GCC Select Add C
Click Browser
Select /usr/bin/gcc in Compiler Path and click Apply
Similarly, adding c++ is the same operation, the only difference is that c++ needs to add g++ instead of gcc.
- Configure libfacedetection:
a)Add the following four files to the header and source respectively: facedetectcnn-model.cpp, facedetectcnn-data.cpp, facedetectcnn.cpp and facedetectcnn.h
b)Click make to compile. After compiling, open the directory to find the newly generated facedetection_export.h file and import the header.
c)Add on the fourth line: #define FACEDETECTION_EXPORT and recompile
- Ming Deng(2675614D)Project management and coordination, User research, Basic Raspberry Pi configuration debugging
- Ruixian Hong(2646699H)Basic Raspberry Pi configuration debugging, Functional testing,Real-time face recognition and feature point extraction
- Yenuo Liu(2706420L)Fatigue detection algorithms, Functional testing
- Rui Sun(2664218S) Qt interface design, Project integration, Functional testing