Coder Social home page Coder Social logo

abhn / marvel Goto Github PK

View Code? Open in Web Editor NEW
227.0 17.0 132.0 16.11 MB

Marvel - Face Recognition With Android & OpenCV

License: MIT License

Java 100.00%
image-processing opencv open-source attendance android java object-detection face-detection face-recognition

marvel's Introduction

Marvel - Face Recognition With Android & OpenCV

Marvel is an open source android application that does face recognition using OpenCV. Originally made for attendence marking in college, Marvel can be used for any generic use case of face recognition.

License: MIT

Credits

Video Demo

Marvel Demo

Screenshots

  1. Home page - For switching between training and testing
  2. Home > Training (enter ID) - Enter ID for the train images
  3. Home > Training (enter ID) > Capture - Capture train image for the ID
  4. Home > Recognition - Recognize faces
  5. Home > Recognition > Review - Review capture results (Optionally push to database)

Usage

OR

  • Clone this repository
  • Open project in android studio
  • Optional: Configure firebase if required. Check out comments in ReviewResults activity
  • Compile, install the Apk
  • Go to training, set an ID and capture a face to train. Repeat this a couple of times with different people and IDs
  • Go to recognition, click scan and try to capture everyone in the video stream. The detected faces will be recognized and shown.
  • Once done, stop scanning and click submit to review capture results. Implement the "Mark Attendence" button if required.

Known Issues & TODO

  • Face recognition is not accurate. Far from it
  • Recognition model gets created each time "Recognize" tab is clicked. Slows down as number of training images increase

Directories

  • /sdcard/facerecogOCV - Training images

License

MIT

marvel's People

Contributors

abhn 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

marvel's Issues

Face liveness detection

While Trying to access with mobile photos , App recognition was granted. How do i make changes to not allow the mobile photos for accessing the application.

Coding style issues

Hey, I was very impressed by this project and I wanted to contribute a little something considering the android/java coding style. It doesn't impact any usability feature, nor does it break something.
It's only cosmethics but it does improve readability when conferring to standards.
Thanks !

#10

Api level limitation

It works fine till lollipop Api level, but it does not work above lollipop.
And also i found accuracy issues. it always gives more than one result.

l

UnsatisfiedLinkError

When I enter person name and pressing Next Button, it throws java.lang.UnsatisfiedLinkError: dlopen failed: library "../../lib/libtbb.so" not found .
at line faceRecognizer = com.googlecode.javacv.cpp.opencv_contrib.createLBPHFaceRecognizer(2,8,8,8,200);
for this I changed I to faceRecognizer = com.googlecode.javacv.cpp.opencv_contrib.createEigenFaceRecognizer(10,123.0);
also.
But did't work.
Please Help

issue

Could not find com.android.support:appcompat-v7:22.2.0.
Required by:
marvel-master:facerecognition:unspecified

UnsatisfiedLinkError

java.lang.UnsatisfiedLinkError: dlopen failed: library "../../lib/libtbb.so" not found

Unable to compile

Hi,
i am unable to compile the project.
It is throwing compile time errors.

Unrecognition

In the recognition view, the app gives an identity to every face inside the screen, meaning someone not added will be identified since it is printing the closest match.

methode

what's the name of methode (pca or svm or ..)

screen rotation portrait

Hi,
Working fine with landscape mode,But while using portrait mode the screen was rotating to adjacent sides and not working properly.

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.