question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

'OpenCvSharpExtern': The specified module could not be found.

See original GitHub issue

Using version 3.2.0.20170324 via NuGet in an UWP project targeting x86 I get the following error.

exception

Are there any fixes?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
takuya-takeuchicommented, Apr 3, 2017

I also have faced this issue!!

shimat-san, FYI

The following code reproduce this issue.

public sealed partial class MainPage : Page
{
	public MainPage()
	{
		this.InitializeComponent();
		var test = new OpenCvSharp.Mat();
	}
}

Excuse me to use Japanese in order to explain my question accurately.

shimatさん OpenCvSharp3-AnyCPU.propsの<Link>dll\x86\OpenCvSharpExtern.dll</Link>を<Link>OpenCvSharpExtern.dll</Link>に変更し、再ビルドすることで、OpenCvSharpExtern.dllをOpenCVSharp.dllと同じ階層に置くように試みましたが、これも意味がありませんでした。 何か他に情報は必要ですか?

0reactions
LyalinDotComcommented, Apr 8, 2018

It seems Microsoft UWP docs team published the sample (linked below) that uses some sort of C++ bridge library to make it work.

https://github.com/Microsoft/Windows-universal-samples/tree/master/Samples/CameraOpenCV

Does this somehow make it possible for OpenCV to work generally now with UWP projects?

Sorry if I’m confusing things i have a lot of ignorance in this topic and just started exploring the OpenCV ecosystem and its capabilities in the last 12 hours 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

OpenCVSharp: Unable to load DLL 'OpenCvSharpExtern'
OpenCvSharpExtern.dll requires mfplat.dll that is part of the Media Feature Pack. ... Unable to load DLL (Module could not be found HRESULT: ...
Read more >
Unable to load DLL 'OpenCvSharpExtern' in 4.2.0 #818
Summary of your issue System.DllNotFoundException: Unable to load DLL 'OpenCvSharpExtern': The specified module could not be found.
Read more >
OpenCVSharp: Unable to load DLL 'OpenCvSharpExtern'
DllNotFoundException: Unable to load DLL 'OpenCvSharpExtern': The specified module could not be found. (Exception from HRESULT: 0x8007007E) at OpenCvSharp.
Read more >
OpenCVSharp: Unable to load DLL 'OpenCvSharpExtern'
Error: Unable to load DLL '.dll' : The specified module could not be found. (Exception from HRESULT: 0x8007007E) - What is this error?...
Read more >
Install opencv-contrib - ZEISS Microscopy Developer ...
Unable to load the DLL OpenCvSharpExtern: The specified module could not be found. when the debugger breaks at the line: "img = cv....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found