Giter VIP home page Giter VIP logo

Comments (5)

gv22ga avatar gv22ga commented on May 24, 2024 1

See if changing the threshold in this line do any good

if (length(face_descriptors[i]-rec_face_descriptors[j]) < 0.6) {

from dlib-face-recognition-android.

gv22ga avatar gv22ga commented on May 24, 2024

I think this is an opencv issue with c++11.

The problem is dlib 19 uses c++11 features but the opencv library can't compile with c++11.

So don't use c++11.
'std::round' is a c++11 feature so you have to figure out a workaround

So don't change APP_STL but try to make small changes or write your own functions for say 'std::round' in dlib files.

let me know if there is any problem

from dlib-face-recognition-android.

blackmenthor avatar blackmenthor commented on May 24, 2024

Hi Gaurav,

Thanks for the answer, i found another problem.
When i add more than one person in the database, the recognition became more prone to error.

Let's say there's person A and B in the database, when i detect person A, the dialog says two people found, A and B at the same time.

Have u ever experienced this?
thanks

from dlib-face-recognition-android.

gv22ga avatar gv22ga commented on May 24, 2024

Hi Angga,

You are right. It is recognizing multiple people.

It used to work correctly before. I will look into this when I get time.

from dlib-face-recognition-android.

Ratnadeep22 avatar Ratnadeep22 commented on May 24, 2024

Using android-ndk-r16b will solve all the Issues.

from dlib-face-recognition-android.

Related Issues (20)

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.