Skip to content

mmabluesky/Face-Tracking-Based-on-OpenTLD-and-RNet

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2019.01.25 UPDATE

Many people do not familiar with NCNN, and compile this repo with an error that could not find net.h. Please move on https://github.com/Tencent/ncnn to find what is NCNN and how to install it.

2018.12.20 IMPORTANT UPDATE

I extremely optimized OpenTLD, all useless contents were removed. This time, tracking speed is about 3ms. Besides, I deleted initialization funtion and OpenCV 3.x is supported now.

RK3399 20+ms/frame

Face-Tracking-Based-on-OpenTLD-and-RNet

I optimized OpenTLD making it run faster and better for face tracking.

This version of TLD below is faster and more stable than that in OpenCV. I delete some funtions to make it run faster. What is more, use RNet to judge the face that TLD produced to avoid TLD tracking a wrong target. In order to get a stable bounding box, I fix the width and height that MTCNN provides when initialising. Running speeds on my PC(Intel® Xeon(R) CPU E5-2673 v3 @ 2.40GHz × 48) are about 16ms(MTCNN, ncnn), 30ms(TLD initialization), 10ms(TLD tracking) for an image in 320*240 resolutions. Besides, MTCNN can be replaced by PCN or any other face detection algorithms.

中文地址:https://blog.csdn.net/renhanchi/article/details/85089265

Installing

OpenCV 2.4.X is required!(Now OpenCV 3.x is supported)

Install NCNN firstly, and reset your NCNN path in CMakeLists.txt.

mkdir build
cd build
cmake ..
make
cd ..
./demo

Examples

image

image

References

https://github.com/Tencent/ncnn

https://github.com/CongWeilin/mtcnn-caffe

https://github.com/alantrrs/OpenTLD

About

I optimized OpenTLD making it run faster and better for face tracking.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 95.0%
  • CMake 5.0%