GithubHelp home page GithubHelp logo

dkarunakaran / facenet_mtcnn_tensorflow_inference_engine Goto Github PK

View Code? Open in Web Editor NEW
40.0 4.0 18.0 44 KB

This is a modified and simplified inference engine of davidsandberg's facenet

Python 100.00%
tensorflow python3 facenet mtcnn

facenet_mtcnn_tensorflow_inference_engine's Introduction

FaceNet and MTCNN using Tensorflow

Required packages

  • Python 3.6
  • Tensorflow 1.8
  • opencv 3.4
  • Scipy
  • Numpy
  • Pickle
  • Sklearn

Download the pretrained weights

  • Download this pretrained Facenet model and copy to model folder.
  • Download this pretrained MTCNN models and copy to mtcnn_model.

Steps to create the embeddings

  • Add images to 'people' folder for creating the embeddings
  • Run the below code to create the embeddings
face_embedding = FaceEmbedding()
embedding = face_embedding.convert_to_embedding()

Steps the comapare nw images with existing embedding created by above step:

  • Run the below code for comparison(Please note provide the image to compare in convert_to_embedding method).
face_embedding = FaceEmbedding()
embedding = face_embedding.convert_to_embedding(single=True, img_path='face6.jpg')
emb_list = face_embedding.load_pickle()
face_embedding.ecuclidean_distance(emb_list, embedding)

Custom training for Facnet and MTCNN models

This repos is mainly make use of pretrained weights and act as inference engine for face recognition. If you want to train, facnet and MTCNN models for further, Use these great two links. Once the training finished, you can copy back the models to this repo and can start doing inference.

facenet_mtcnn_tensorflow_inference_engine's People

Contributors

chaturvediabhay24 avatar dkarunakaran avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

facenet_mtcnn_tensorflow_inference_engine's Issues

detect face

this can't detect any face, porblem somewhere ???

recognition very very slow

Hello
when i wanted to test the recognition, is saw that it work very well but is very slow when its made the recognition. Is it normal ??

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.