Skip to content

SeeramRoboticist/ROS-based-Face-Recognition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ROS based Face Recognition

Training

Training the Model is simple follow the below steps,

  1. open the file train.py,
DEFAULT_ENCODINGS_PATH = Path("/home/sriram54/face_reg/output/encodings.pkl")
  1. Change the above line and Provide proper path for where you want to store the Model.

  2. Create a folder and inside the folder store the data i.e images of the respective person in folder with there name. (verify the training folder for furter clarification).

  3. Once done go to the below line

    for filepath in Path("/home/sriram54/face_reg/training").glob("*/*"):
  1. Change the path to the folder you have Saved the Training Data.

  2. Build this repo as a package in a ROS WS, source the WS and run the node.

  3. Now you should be having, topics named - /train_control, /train_result.

  4. Publish True the the topic called Train control using Terminal.

  5. As you have started the process, wait for the training to get completed, once completed you will get "completed" or "done" in /train_result and the termina you are runing the script.

  6. Thats it Training is Completed.

Recognition

About

Python based face recognition

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published