1 Star 0 Fork 0

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

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

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

MIT License Copyright (c) 2021 Hans Ren Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

Face-Tracking 展开 收起
README
MIT
取消

发行版

暂无发行版

贡献者

全部

语言

近期动态

不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/MayuyuzZ/Face-Tracking-Using-CNN-and-Optical-Flow.git
git@gitee.com:MayuyuzZ/Face-Tracking-Using-CNN-and-Optical-Flow.git
MayuyuzZ
Face-Tracking-Using-CNN-and-Optical-Flow
Face-Tracking-Using-CNN-and-Optical-Flow
master

搜索帮助