Giter Club home page Giter Club logo

facerecognizer's Introduction

APPLICATION DESIGN

Componenti dell'app

FaceRecognitionFragment

Attività che mostra il video della fotocamera, ci sovrappone l'etichetta/quadratino della faccia se trovata e riconosciuta.

Da qui si può navigare verso l'attività di training FaceDetectionFragment e verso la SettingsFragment.

FaceDetectionActivity

Chiama l'attività android per fare la foto. Se non ci sono facce nella foto, richiedere un'altra foto all'utente.

Una volta fatta la foto, l'utente sceglie una faccia tra quelle trovate. (filtra i false positive)

Poi vengono estratte le features e vengono ritornate al chiamante (insieme ad altre cose utili: thumbnail etc..). Questa activity verrà avviata dal FacesManagementFragment con startActivityForResult()

FacesManagementFragment

Lista coi nomi delle facce riconosciute, possibiltà di aggiungere (vedi FaceDetectionFragment) o rimuovere facce/nomi.

SettingsFragment

Attività per i settaggi. Per ora contiene:

  • eventuali parametri del detection e del recognition
  • ??? ancora non saprei

FacesContentProvider (o FaceDB)

Database delle facce. Deve poter gestire le seguenti "tabelle":

People: < person_id, nome, [eventiali_dati_di_un_nome] >
Faces: < face_id, person_id, thumbnail, features >

Note

Si pensava di usare i fragment invece che le activity perchè l'ADT rende automatico fare una UI ganza con navigazione a swipe e altre cose carine che praticamente vengono gratis coi fragment!

La fregatura è che dobbiamo stare attenti ad allocare e deallocare le risorse (Fotocamera, Servizi di OpenCV, etc..) nella lifecycle dei fragment altrimenti si potrebbe compromettere tutta l'activity (cioè tutta l'app)!

facerecognizer's People

Contributors

danieleformichelli avatar fabiocarrara avatar mappamondo avatar niphis avatar

Watchers

 avatar  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.