You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When testing the below code on Windows 10 everything works
When testing the below code on MacOS Version 11.4
I get the following error "Unable to load shared library 'DlibDotNetNativeDNN'"
Environment
Nuget Packages DlibDotNet 19.21.0.20210302
Write your environment.
What did you do when you faced the problem?
//write here
Example code:
string file = "FoOYR.jpg";
using (var win = new ImageWindow()) <------- Error Line
using (var detector = Dlib.GetFrontalFaceDetector())
using (var img = Dlib.LoadImage<byte>(file))
{
Dlib.PyramidUp(img);
var dets = detector.Operator(img);
Console.WriteLine($"Number of faces detected: {dets.Length}");
win.ClearOverlay();
win.SetImage(img);
win.AddOverlay(dets, new RgbPixel { Red = 255 });
Console.WriteLine("hit enter to process next frame");
Console.ReadKey();
}
Output:
Error on MacOS
What did you intend to be?
I would like to code to work on both Windows10 and MacOS
The text was updated successfully, but these errors were encountered:
Summary of your issue
When testing the below code on Windows 10 everything works
When testing the below code on MacOS Version 11.4
I get the following error "Unable to load shared library 'DlibDotNetNativeDNN'"
Environment
Nuget Packages DlibDotNet 19.21.0.20210302
Write your environment.
What did you do when you faced the problem?
//write here
Example code:
Output:
Error on MacOS
What did you intend to be?
I would like to code to work on both Windows10 and MacOS
The text was updated successfully, but these errors were encountered: