ā Installing Emgu CV
I've been trying installing Emgu.CV from NuGet but I've been facing this error, I've tried changing the .net framework but this error still occurs...any ideas how to solve it?
35 Replies
Hi, i am beginner programming in the c#
Help me...
I need help myself š
Yes, i need help myself...
I am adding a button for updating, deleting and examining the data retrieved via web form and sql server. How do we establish the id button relationship so that the relevant buttons reach the relevant records? Thank you.
Do not hijack someone else's thread @Nisay !
Make your own thread in #help by pressing this button
Thanks...
Thank you....
To bring back the original question
VRose#1239
I've been trying installing Emgu.CV from NuGet but I've been facing this error, I've tried changing the .net framework but this error still occurs...any ideas how to solve it?
Quoted by
<@!203166497198047232> from #Installing Emgu CV (click here)
React with ā to remove this embed.
What versions did you try for .NET Framework? 4.61 would be the absolute min for that package, but realistically there's no reason to not use .NET Framework 4.8+. Ideally, you would be on .NET instead of .NET Framework.
https://www.nuget.org/packages/Emgu.CV#supportedframeworks-body-tab is what should be supported.
Nvm, I was using an old version and it didn't work but I tried the last .NET version and the library installed sucessfully š
However, I still can't figure out how to use it. I've Emgu CV 4.6.0.5131 but I don't know an up to date examples of how to get started with this library. Most of the old tutorials point to installing the library manually, however even doing that didn't help since in the tutorials, installing the library manually gives them a bin that has all of the necessary .dll files but I'm not getting that when I successfully install Emgu CV manually
Also, when I try to use the project that has the library installed through NuGet, I get the following error:
From the following code:
I'm not sure if I need to do add any references although I've installed it through NuGet + I don't have any .dll when installing the library manually...Also, I'm not quite sure if my code is correct or not š
@Klarth
Were you trying to upgrade/update an existing project? Or are you starting a new project with EmguCV?
I installed the library on an existing project but I started by installing Emgu CV through NuGet
So this is a project that previously didn't have any EmguCV-related code in it?
Yep
It looks like it manages native dependencies by separate packages.
I'm not exactly sure how you're supposed to manage that per-build on your side.
Its documentation is really awful as well...
Stuff like Avalonia pulls everything and then filters, AFAIK. But it's probably too large for OpenCV.
š¤·āāļø
That's pretty much to be expected for science/AI-related stuff in .NET.
Are there any simpler or at least more well documented computer vision libraries for .NET? One that supports facial recognition?
Or perhaps I should use "IronPython" to integrate a python script that does this into my .NET application?
I'd almost rather walk into a nest of spiders.
š
Install the actual runtime dependencies you need. See what happens.
Cascade classifiers are pretty old tech. I'm not sure if they're really used anymore in the application. š¤·āāļø
I'm not even using that yet, I'm trying to just display the camera in a picturebox but this is not even working...It's opening the camera but then I get the error I shared earlier
Tried installing but got the following error:
Your choices are basically: 1. EmguCV. 2. ML.NET (via YOLO trained ONNX model https://learn.microsoft.com/en-us/dotnet/machine-learning/tutorials/object-detection-onnx) 3. Maybe TensorFlow/PyTorch bindings? š¤·āāļø
ARM?
I'm programming this on a x64 windows 11 computer, but weirdly the got installed successfully š
You mean installing Emgu.TF?
Installs for me on Win10 / .NET 7
No, I mean finding some facial recognition model for python that's trained. Then port the prediction side to .NET's TensorFlow bindings.
Also, if you're doing facial recognition (ie. "this face is Dave") with cascade classifiers, you're going to have a bad time. Facial tracking (ie. "this is a face") is about the best that tech could do, sometimes some facial features like position of eyes, nose, etc.
Alright but first I'd like to figure out how to display the camera feed in the first place so I deal with face detection & recognition later on
But that approach died when convolution neural networks came along.
Hmm so I'll try to find a way to achieve this using CNN instead, thank you for your advice
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.