Skip to content

Implementing Lucas Kanade Optical Flow algorithm to stabilize the facial landmarks detected.

Notifications You must be signed in to change notification settings

KarimIbrahim11/Lucas-Kanade-Stabilized-Facial-Landmarks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lucas-Kanade-Stabilized-Facial-Landmarks

Implementing Lucas Kanade Optical Flow algorithm to stabilize the facial landmarks detected.

Demo

Green landmarks is the stabilized LK stream while Red is the normal detections.

LukasKanade_demo.mp4

Results Duplication

To run the project please download and install conda from Anaconda Official Website then run the following commands:

git clone https://github.com/KarimIbrahim11/Lucas-Kanade-Stabilized-Facial-Landmarks.git
cd Lucas-Kanade-Stabilized-Facial-Landmarks
conda env create -f env.yaml
conda activate env
python main.py

Press [SPACE] to shuffle between the stable and unstable stream, [ESC] to exit the script.

please note that this script is developed to work realtime using your desktop/laptop's camera.

Experimental Results before Averaging

LukasKanade_demo_without_average-2024-02-04_06.02.07.mp4

About

Implementing Lucas Kanade Optical Flow algorithm to stabilize the facial landmarks detected.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages