• Stars
    star
    371
  • Rank 115,103 (Top 3 %)
  • Language
    C++
  • License
    Apache License 2.0
  • Created about 5 years ago
  • Updated over 4 years ago

Reviews

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

Repository Details

开源移动端快速视频人脸跟踪-移动端150FPS+

HyperFT

简介

开源视频人脸跟踪算法,基于mtcnn人脸加测+onet人脸跟踪,移动端速度可以达到150fps+。该项目基于Android工程,提供底层JNI实现,使用者可以自行编译移植到其他平台。算法依赖ncnn深度学习计算库,体积小,易于集成。

Demo(运行于 Ubuntu 18.04, i5-7400, NCNN)
Demo(运行于 Ubuntu 18.04, i5-7400, NCNN)

如果你想要了解更多,请参考:

代码编译

环境准备

  • Android Studio v3.5

  • CMake:3.6.4

  • Android SDK Platform-Tools:29.0.3

  • Android SDK Tools:26.1.1

  • NDK:r15c

依赖库

  • OpenCV:3.4.7 OpenCV

  • ncnn:20190611 bade132 ncnn

编译设置

1.设置Android NDK与Android SDK地址

2.修改CMake编译文件,在app/src/main/cpp/下修改CMakeLists.txt文件:

include_directories (D:/Wendell/Develop/libs/ncnn-android-lib/include)
include_directories(D:/Wendell/Develop/libs/OpenCV-android-sdk/sdk/native/jni/include)
set(OpenCV_DIR "D:/Wendell/Develop/libs/OpenCV-android-sdk/sdk/native/jni")
set_target_properties(libncnn PROPERTIES IMPORTED_LOCATION D:/Wendell/Develop/libs/ncnn-android-lib/${ANDROID_ABI}/libncnn.a)

相关资源

体验

TODO

  • Sorry,目前还是需要依赖opencv,稍后提交精简版

  • iOS Project Develop

联系方式