Giter Site home page Giter Site logo

novatecconsulting / facerecognition-in-arkit Goto Github PK

View Code? Open in Web Editor NEW
833.0 41.0 116.0 11.7 MB

Detects faces using the Vision-API and runs the extracted face through a CoreML-model to identiy the specific persons.

License: MIT License

Ruby 1.86% Swift 98.14%
arkit coreml machine-learning ios face-recognition

facerecognition-in-arkit's Introduction

FaceRecognition in ARKit

This is a simple showcase project, that detects faces using the Vision-API and runs the extracted face through a CoreML-model to identiy the specific persons.

image of scene with face recognition

Requirements

  • Xcode 9
  • iPhone 6s or newer
  • Machine-Learning model

Machine-Learning model

To create your own machine-learning model, you can read our blog post "How we created our Face-Recognition model"

The short version is:

  • We trained a model in the AWS using Nvidia DIGITS
  • Took a couple of hundred pictures of each person, and extracted the faces
  • Also added an "unknown" category with differnent faces.
  • Used a pretrained model fine-tuned for face-recognition.

Acknowledgements

facerecognition-in-arkit's People

Contributors

m-ruhl 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  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  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  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

facerecognition-in-arkit's Issues

Does not work on macOS Majove and Xcode 10

Basically, the libraries RxSwift and PKHUD don't work and the observer.onNext calls in your code flag as being a problem. There is no way to just pick up the code and get it running in Majove and Xcode 10 without doing a bit of work...

".mlmodel" file is missing

Hi All,

We have download and checked this project but we are getting compile error like ".mlmodel" file is missing.
Could you please update the latest source code to test this project? this help us to know more about this technology and move forward.

Thanks
Suresh

This model only recognize faces trained?

The training data is classified for each person.

  1. Each person has over 300 augmented photos.
  2. Each person is classified as one class.
  3. Plus other photos not classified as a person above, rather classified just as other class.

In the example, there are 4 classes, 3 for each person, 1 for others.

Train with these photos would recognize only classified persons.
That is one of the reasons why model is not provided, because this model recognizes
only the three people.

Do you know how to convert dlib_face_recognition_resnet_model_v1 to coreml?

Sorry for the super newbie question but this model generates "face features" that can be stored and compared later on.

The thing is I don't know what format it is so I can use the conversion tools provided by Apple to convert it to CoreML format.

TIA and thanks for sharing such a clean minimalistic code! ❤️

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.