GithubHelp home page GithubHelp logo

Comments (11)

oarriaga avatar oarriaga commented on June 12, 2024 1

I believe the detection is working properly, and dlib will probably not increase the accuracy of the classifications. However, it might be better for detection when it comes to slight head rotations which are problematic in the current openCV face detection function.

from face_classification.

Zumbalamambo avatar Zumbalamambo commented on June 12, 2024

why is that it is not detecting asian faces? is it because imdb has only westerners faces?

from face_classification.

oarriaga avatar oarriaga commented on June 12, 2024

I didn't know this problem existed. If is not detecting correctly any sort of faces it only depends on the openCV detection module. It might work better with dlib. I will gladly accept a pull request with this change.

from face_classification.

oarriaga avatar oarriaga commented on June 12, 2024

BTW, when you say detection is not working you are referring to the fact that bounding boxes are not being drawn in Asian faces? Or that the bounding boxes are there but the classification of the emotion/gender is not working?

from face_classification.

Zumbalamambo avatar Zumbalamambo commented on June 12, 2024

it can draw bounding boxes. However,recognition is not accurate. I have tried imwrite the cropped face that Im passing to the model. It is not recognizing any of such cropped asian faces accurately

from face_classification.

Zumbalamambo avatar Zumbalamambo commented on June 12, 2024

If I have to add images to the imdb with asian faces, will it work? if so How do I go about sorting the dataset so I can use it for training

from face_classification.

Zumbalamambo avatar Zumbalamambo commented on June 12, 2024

imdb has very very less amount of asian faces

from face_classification.

oarriaga avatar oarriaga commented on June 12, 2024

Yes if you expand your data it will help.

from face_classification.

Zumbalamambo avatar Zumbalamambo commented on June 12, 2024

Alright I will openup pull request expanded model. Do you have any idea about how data has to be organized as in imdb so I can retrain the existing model?

from face_classification.

oarriaga avatar oarriaga commented on June 12, 2024

Please look at the source code I believe it shouldn't be to complicated to understand. The inputs shape is organized as follow (num_samples, height, width, num_channels) the outputs shape (num_samples, num_classes).

from face_classification.

Zumbalamambo avatar Zumbalamambo commented on June 12, 2024

It makes use of imdb.mat file. How do I annotate the dataset with mat file?

from face_classification.

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.