Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to use custom face recognition model? #187

Open
darkholds opened this issue Oct 10, 2021 · 7 comments
Open

how to use custom face recognition model? #187

darkholds opened this issue Oct 10, 2021 · 7 comments
Assignees
Labels
question Further information is requested

Comments

@darkholds
Copy link

No description provided.

@darkholds darkholds changed the title how to use custom face recognition model how to use custom face recognition model? Oct 10, 2021
@takuya-takeuchi takuya-takeuchi self-assigned this Oct 10, 2021
@takuya-takeuchi takuya-takeuchi added the performance Not bug but there is bottleneck label Oct 10, 2021
@takuya-takeuchi
Copy link
Owner

@darkholds
FRDN does not provide tools to generate model for recognition.
Btt officiai dlib blog page indicates about deep mertric learning.
http://blog.dlib.net/2017/02/high-quality-face-recognition-with-deep.html

You may get useful information from the above link.

@darkholds
Copy link
Author

darkholds commented Oct 11, 2021

hi, for example, i have a model (dat file) generated from dlibdotnet, how can i use it in FRDN? is there any workaround? i want to recognise people with facemask if possible. Thanks.

@takuya-takeuchi
Copy link
Owner

@darkholds
You can use overload to pass custom model files.
https://github.com/takuya-takeuchi/FaceRecognitionDotNet/wiki/Quickstart#1-initialize

@takuya-takeuchi takuya-takeuchi added question Further information is requested and removed performance Not bug but there is bottleneck labels Oct 11, 2021
@darkholds
Copy link
Author

Thank you for that, also can the default recognizer work with custom face detector model,? Or you need to train another recognizer?

@takuya-takeuchi
Copy link
Owner

You could use custom mode which is generated from same model type. i.e. ShapePredictor.
https://github.com/takuya-takeuchi/DlibDotNet/blob/master/examples/TrainShapePredictor/Program.cs

But I have not tested yet.

@Gaara1996
Copy link

Hello
I try to do facial recognition with this example
https://github.com/takuya-takeuchi/FaceRecognitionDotNet/wiki/Quickstart#1-initialize
but I get an error when compiling in visual studio

Argument 2: cannot be converted from 'FaceRecognitionDotNet.Location' a 'System.Collections.Generic.IEnumerable<FaceRecognitionDotNet.Location>'

in this line
IEnumerable encodingA = FaceRecognition.FaceEncodings(imageA, locationsA.First());

I am missing some nuget package

@takuya-takeuchi
Copy link
Owner

@Gaara1996
Please do not report issue not related this thread.
I created new issue and please refere this. #190

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants