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

DlibDotNetNativeDnn missing #228

Open
Robotuner opened this issue Jan 14, 2021 · 0 comments
Open

DlibDotNetNativeDnn missing #228

Robotuner opened this issue Jan 14, 2021 · 0 comments

Comments

@Robotuner
Copy link

Summary of your issue

I am attempting to use the DLibDotNet.UWP on a Windows10/VS2019/WPF application. The nuget package that is installed is DlibDotNet.UWP and it appears only the DLibDotNet.dll is installed in the References section.

I have the following code snippet:

using (var fd = Dlib.GetFrontalFaceDetector())
{
    var img = Dlib.LoadImage<RgbPixel>(FilePath);

    // find all faces in the image
    var faces = fd.Operator(img);
    foreach (var face in faces)
    {
        // draw a rectangle for each face
        Dlib.DrawRectangle(img, face, color: new RgbPixel(0, 255, 255), thickness: 4);
    }

    Dlib.SaveBmp(img, @"d:\\junk\temp.jpg");
    return faces.Length > 0;
}

I am getting DllNotFoundException: Unable to load DLL 'DlibDotNetNativeDnn': The specified module could not be found. (Exception from HRESULT: 0x8007007E)

at Dlib.GetFrontalFaceDetector()

Where can I find the DlibDotNetNativeDnn module?

Thanks

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

No branches or pull requests

1 participant