• Stars
    star
    198
  • Rank 196,898 (Top 4 %)
  • Language
    C++
  • License
    MIT License
  • Created almost 6 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Official implementation for paper "A Real-Time and Long-Term Face Tracking Method Using Convolutional Neural Network and Optical Flow for Internet of Things" using C++

2021.06.06 Pytorch version: https://github.com/HansRen1024/C-OF. Code is released (20210816).

2021.05.10 Pytorch version will be released soon.

2019.01.25 UPDATE

Some guys are not familiar with ncnn, and compile this repo with an error of could not find net.h. Please move to https://github.com/Tencent/ncnn to find what is ncnn and how to install it. Download the version we used from https://github.com/Tencent/ncnn/archive/refs/tags/20180830.zip.

2018.12.20 IMPORTANT UPDATE

I extremely optimized the code, all useless contents were removed. Right now, tracking speed is approximate 3ms. Besides, I deleted initialization funtion and OpenCV 3.x is supported now.

RK3399 20+ ms/frame

Face-Tracking-Using-Optical-Flow-and-CNN

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

This version of TLD 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. Running time on my PC(Intelยฎ Xeon(R) CPU E5-2673 v3 @ 2.40GHz ร— 48) is about 16ms(MTCNN, ncnn), 30ms(TLD initialization), 10ms(TLD tracking) on an image of 320*240 resolution. Besides, MTCNN can be replaced by PCN or any other face/object 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 ncnn's include and lib pathes 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

More Repositories

1

SVM-classification-localization

HoG, PCA, PSO, Hard Negative Mining, Sliding Window, Edge Boxes, NMS
Python
162
star
2

PCN-ncnn

PCN based on ncnn framework.
C++
82
star
3

Stabilized-Face-Detection-Bbox

Based on Onet to stabilize Face Detection BoundingBox. Fast, Smooth.
C++
61
star
4

Face-Attributes-MultiTask-Classification

Use Cafffe to do Face Attributes MultiTask Classification based on CelebA data sets
C++
32
star
5

C-OF

Official implementation for paper "A Real-Time and Long-Term Face Tracking Method Using Convolutional Neural Network and Optical Flow for Internet of Things" using pytorch
Python
18
star
6

Tensorflow-preprocessing-training-testing

(non-distribution & distribution) Use Tensorflow to do classification containing data preparation, training, testing.(single computer single GPU & single computer multi-GPU & multi-computer multi-GPU)
Python
14
star
7

Easy-LAB

Look at Boundary: A Boundary-Aware Face Alignment Algorithm
C++
13
star
8

Detect-QRS-HRV-HR-from-standard-ECG-signal

Python
8
star
9

Object-Classification-of-Mapping-Features

Python
3
star
10

CRNN-Keras-Enable_eager_execution

Python
3
star
11

Use-Python-to-call-Caffe-module

Use-Python-to-call-Caffe-module
Python
3
star
12

Image-Pre-Classification

Extracting Hist Features to do Image Classification using Decision Tree or Random Forest or Adaboost
Python
2
star
13

Tensorflow-SSD

Tensorflow-SSD-preprocessing-training-testing
Python
1
star
14

caffenet-cam-classification

Using caffenet to do classification by a webcam
C++
1
star
15

Semi-Automatic-Crawling-CSDN-Articles

ๅŠ่‡ชๅŠจๅŒ–็ˆฌๅ–CSDNๆ–‡็ซ 
Python
1
star
16

BK_Tree

Python
1
star
17

CTCDecoder

ctc decoder
Python
1
star
18

Merge-Batchnorm-layer-with-Convolution-layer

This tool is useful for either mobilenet or faxboxes.
Python
1
star