Git Product home page Git Product logo

Comments (4)

arpit1997 avatar arpit1997 commented on May 17, 2024

#22

How to detect faces and divide them to save

I am not clear what you are asking. I understand two things from this issue:

  1. You want to train a model for face recognition
  2. you already have a model and want to know how to use that model to make predictions and interpret the results.

Please clear out your question so it is for us to provide the appropriate solution. 😸

from human-detection-and-tracking.

wukuai avatar wukuai commented on May 17, 2024

I want to train a model for face recognition.
Now I have so many photos of my face and I want to detect faces in these photos and divide them to save in './data'.
In the './scripts' I can't find which script to do the work mentioned above. 😁

from human-detection-and-tracking.

arpit1997 avatar arpit1997 commented on May 17, 2024

I will walk you through the steps:

  • This is the file that we have used to train our face recognition model

  • We have a specific filename format that we use for images. The format subjectX.Y.jpg where X is the subject label and Y is an auto increment number just for different images.

  • next you need to run the file mentioned above create_face_model.py
    python3 create_face_model.py /path/to/images/directory
    Let me know if you find any problem in that.

from human-detection-and-tracking.

arpit1997 avatar arpit1997 commented on May 17, 2024

closing this issue #22 with answer:

I will walk you through the steps:

  • This is the file that we have used to train our face recognition model
  • We have a specific filename format that we use for images. The format subjectX.Y.jpg where X is the subject label and Y is an auto increment number just for different images.
  • next you need to run the file mentioned above create_face_model.py
    python3 create_face_model.py /path/to/images/directory
    Let me know if you find any problem in that.

from human-detection-and-tracking.

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.