Skip to content

An advanced real-time video processing algorithm that detects human faces and accurately determines head orientation (neutral, left bend, right bend). Designed for live video streams, this project utilizes cutting-edge computer vision techniques to facilitate applications in security, user interaction, and behavioral analysis.

License

Notifications You must be signed in to change notification settings

ShayanK1996/RealTimeFaceOrientation

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RealTimeFaceOrientation

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.

Features

  • 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.

Prerequisites

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.dat for facial landmark detection.

Installation

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.bz2

Usage

python main.py

Contributors

Thanks to @ShayanK1996 who has contributed to this project

License

This project uses the following license: MIT

About

An advanced real-time video processing algorithm that detects human faces and accurately determines head orientation (neutral, left bend, right bend). Designed for live video streams, this project utilizes cutting-edge computer vision techniques to facilitate applications in security, user interaction, and behavioral analysis.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%