Closed unruledboy closed 3 years ago
@unruledboy You tried FRDN cpu? You could improve performance by using FRDN.MKL. And reference of performance for MKL https://github.com/takuya-takeuchi/FaceRecognitionDotNet/issues/4#issuecomment-421370043
@takuya-takeuchi tried the MKL 2020 release as 2019 initial release couldn't be found. and libiomp5md.dll is also missing. that could have explained why it does not work (no perf difference) .
I noticed your code change in https://github.com/takuya-takeuchi/DlibDotNet/commit/44ae718d22d3a5324aaef4ddc5d94bb706edb83b , so I copied all dlls in the both bin / \runtimes\win-x64\native, no luck here. Not sure what I have missed.
And I agree we should bundle those dlls in the package.
Another way to improve the performance, maybe we can reduce the number of landmarks?
@unruledboy
Another way to improve the performance, maybe we can reduce the number of landmarks?
no. it is not slow to detect landmarks. What is the most performance issue is detecting face detection. But this depends on dlib method. We have no idea to control.
But we may improve face detection performance by using another library.
I did a step by step performance test using the 32bit.png in TestImages, on my Surface Book 2 i7 (i7-8650U quad-core + 16GB), it took about 0.712s in total:
I was wondering if we can improve the performance?
Here is the sample code: