GithubHelp home page GithubHelp logo

ljl02521 / tensorflow-mtcnn Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cyberfire/tensorflow-mtcnn

0.0 1.0 0.0 3.63 MB

C++ and python Inference only for MTCNN face detector on Tensorflow. Based on davidsandberg's facenet project:

License: MIT License

Python 37.60% C++ 61.56% Makefile 0.84%

tensorflow-mtcnn's Introduction

tensorflow-mtcnn

MTCNN is one of the best face detection algorithms. Here is inference only for MTCNN face detector on Tensorflow, which is based on davidsandberg's facenet project, include the python version and C++ version.

C++

There are two version for C++.

One is to be build inside tensorflow code repository, so that it needs to be copied to the directory tensorflow/example. please check cpp/tf_embedded/README.md for details.

The other is the standalone one, just needs libtensorflow.so and c_api.h to build and run. Please check cpp/standalone/README.md for more details

Python Run

  1. install tensorflow first, please refers to https://www.tensorflow.org/install
  2. install python packages: opencv, numpy
  3. python ./facedetect_mtcnn.py --input input.jpg --output new.jpg

Build tensorflow on arm64 board

Please check out the guide how to build tensorflow on firefly

Credit

MTCNN algorithm

https://github.com/kpzhang93/MTCNN_face_detection_alignment

MTCNN C++ on Caffe

https://github.com/wowo200/MTCNN

MTCNN python on Tensorflow

FaceNet uses MTCNN to align face

https://github.com/davidsandberg/facenet From this directory: facenet/src/align

tensorflow-mtcnn's People

Contributors

cyberfire avatar

Watchers

James Cloos 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.