takuya-takeuchi / FaceRecognitionDotNet

The world's simplest facial recognition api for .NET on Windows, MacOS and Linux
MIT License
1.27k stars 309 forks source link

Performance FaceEncodings #116

Closed lucascaser closed 3 years ago

lucascaser commented 4 years ago

I used StopWatch to measure FaceEncondigs time and I realized that it is an average of 300ms. I read in other issues that I can use Intel MKL to improve performance. How to use this? Only import the dll's in the project with the option add new item? I downloaded the MKL and got the dll's but how to use it?

Ps .: Sorry my English, because I'm using the translator, I'm Brazilian

takuya-takeuchi commented 4 years ago

@lucascaser Next version, I distribute Intel MKL libs with nuget packge for windows. But you may not wait it. Please check this wiki. https://github.com/takuya-takeuchi/DlibDotNet/wiki/How-to-install#requirements

Sorry my English, because I'm using the translator, I'm Brazilian No problem. I'm Japanese. Do not hesitate to ask us about issue!!

takuya-takeuchi commented 4 years ago

sorry, next release does not contain MKL libs. Because, current 1.3.0.1 nuget pacakge has bugs. I want to resolve this issue at first.

Thanks a lot.

lucascaser commented 4 years ago

I managed to use MKL. I have another question. Can I ask here or do you prefer another issue?

takuya-takeuchi commented 4 years ago

@lucascaser Yes. Could you create new issue for everyone?

unruledboy commented 4 years ago

I managed to use MKL. I have another question. Can I ask here or do you prefer another issue?

Hi, which version of MKL did you download? I tried 2020 it does not work. Where did you copy those dlls files to? Which folder exactly?

takuya-takeuchi commented 3 years ago

Windows and osx include mkl libs since 19.21.0.20210230