Giter VIP home page Giter VIP logo

face-tracking-based-on-opentld-and-rnet's Introduction

2019.01.25 UPDATE

Many people are not familiar with NCNN, and compile this repo with an error that could not find net.h. Please move to 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

face-tracking-based-on-opentld-and-rnet's People

Contributors

hansren1024 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.