Face-Tracker-Linux icon indicating copy to clipboard operation
Face-Tracker-Linux copied to clipboard

Face tracking based on DeepSort algorithm for Linux

📚 Product & Resources - Here

🛟 Help Center - Here

💼 KYC Verification Demo - Here

🙋‍♀️ Docker Hub - Here

Face Tracking C++ Demo on Linux

Overview

We implemented real-time face-tracking technology in this demo project. This project can be built on Ubuntu 22.04 and model inference was implemented for web camera and real-time video streaming

You can visit our YouTube video for our face tracking SDK's performance here to see how well our demo app works. Face Tracking Demo

Install dependencies

  • Build OpenCV on your platform, follow the steps in the link below. https://gist.github.com/kleysonr/c0752306bb6c021a1ff3c448996636ee
  • Install vulkan sdk with the command "./install.sh"

How to build

Go to the project folder and enter the following command. ./build.sh

How to run

Go to the build folder and run with the below command

./<executive file name> --frame_num <frame number>

for example:

  ./face_track --frame_num 150

If you need to save a video file with tracking, you can run the command below

  ./<executive file name> --video_out true

for example:

  ./face_track --video_out true

TrackData contains one cropped face image per person, this can be used later for recognition purpose

  TrackData track_data = GetTrackData(frame, tracks);

Improvement

This project can be improved by using KBY-AI's face recognition SDK here.