RealTimeFaceOrientation is a cutting-edge, real-time video processing application that detects human faces and determines the orientation of the head (neutral, left bend, or right bend) using advanced computer vision techniques.
- Real-time face detection in video streams.
- Accurate head orientation detection (neutral, left bend, right bend).
- Utilizes Histogram of Oriented Gradients (HOG) for face detection.
- Implementation of facial landmark detection for precise orientation analysis.
Before you begin, ensure you have met the following requirements:
- Python 3.6+
- Dlib
- OpenCV
- A pre-trained model file
shape_predictor_68_face_landmarks.datfor facial landmark detection.
To install and run RealTimeFaceOrientation, follow these steps:
Linux, macOS, and Windows:
git clone https://github.com/ali-rabiee/RealTimeFaceOrientation.git
cd RealTimeFaceOrientation
pip install -r requirements.txt
wget http://dlib.net/files/shape_predictor_68_face_landmarks.dat.bz2
bzip2 -d shape_predictor_68_face_landmarks.dat.bz2python main.pyThanks to @ShayanK1996 who has contributed to this project
This project uses the following license: MIT