takuya-takeuchi / FaceRecognitionDotNet

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

Could not copy the file "\packages\FaceRecognitionDotNet.1.3.0.7\runtimes\win-AnyCPU\native\DlibDotNetNativeDnnAgeClassification.dll" because it was not found. #212

Closed salmana66 closed 2 years ago

salmana66 commented 2 years ago

Hi, I'm trying to use this library in my application and i'm getting this build error. I would really appreciate if someone Please help me fix this problem. I have attached a screenshot for your reference. cc: @takuya-takeuchi

Thank you

Error
takuya-takeuchi commented 2 years ago

@salmana66 It is not bug. https://github.com/takuya-takeuchi/FaceRecognitionDotNet/wiki/Quickstart#warning-warning-for-visual-studio-users

I'm not planning to support any-cpu because nuget package should be more larger.

salmana66 commented 2 years ago

Okay i got it @takuya-takeuchi , can you please suggest to which platform should we target our project? i mean which one is better and works better with this library, x86 or x64?

takuya-takeuchi commented 2 years ago

You should choise x64. I'm not sure x64 cpu is better than x86 in the point of view pf architecture. But x64 program can allocate huge memory. It should make stable program. Espeicailly, model file take large memory. We would avoid out of memory by choise x64.

salmana66 commented 2 years ago

Sure thing @takuya-takeuchi , Thank you very much!