Skip to content

AtomScott/Easy-Face-Tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Easy Face Tracker

Install pyannote-video to use this.

Example Usage

  1. Download a sample video with youtube-dl
youtube-dl -f 'bestvideo[height<=480]+bestaudio/best[height<=480]' \
 -o sample \
 https://www.youtube.com/watch?v=MevKTPN4ozw 
  1. Detect faces with pyannote-video

To use pyannote-video as the face tracker use the code below:

python pyannote-video/scripts/pyannote-structure.py shot \
        --verbose \
        sample.mkv \
        sample.shots.json

python pyannote-video/scripts/pyannote-face.py \
        track --verbose \
        sample.mkv \
        sample.shots.json \
        sample.track.txt

To use Easy Face Tracker as the face tracker use the code below:


  1. Build face track videos from tracked videos