Closed matjanos closed 7 years ago
The OpenCvSharpExtern.dll that I released may work only on x86/x64 Windows 😢 You have to build OpenCvSharpExtern.dll for your Linux platform. Please get the OpenCvSharp source code files and use cmake.
cmake src
Thanks a lot for quick reply. I think that it would be useful to prepare a CI process for Linux machines as well. Cheers!
can you provide other platform's OpenCvSharpExtern.dll? just like we publish a dotnet core project, it will generate several paltform's files. so that we dont need to add or build OpenCvSharp by us @shimat
+1 more request for an RPi dll shared on here so we can all save time and effort. I am not used to building things on linux, so I have to take the time to learn. I hope this doesn't send me down dependency hell.
+1 for an OpenCvSharpExtern.dll that can run on Linux. Trying to run this with .NET Core on a Docker container. Will PR #582 fix this? @shimat any idea when this PR can be merged?
+1,We apply opencvsharp to the arm development board.Manually generating dlls is complicated and lengthy~
I have build it, you can download without compile from here: https://github.com/toanlcgift/RPISpiderRobot/blob/master/LiveStreamServer/LiveStreamServer/libOpenCvSharpExtern.so
@toanlcgift Does it support arm64?
@sharpwood yes, this .so supports all arm abis
But my raspberry Pi 4(ununtu server 64) still reports the same error after using this file. Do I have to install opencv first? @toanlcgift
@sharpwood I see the problem, because you are using dotnet sdk in RPI? right?
I installed my app via windows by command line:
dotnet publish --runtime linux-arm
Then i copy it to RPI & execute binary file, not by dotnet MyApp.dll
.
Please refer https://docs.microsoft.com/en-us/dotnet/core/rid-catalog
Note: After build this library, you don't need any openCV library installed in your environment.
I did not make it clear, I am using OpenCVSharp4, running on the Raspberry Pi 4B. Do you have a newer version? @toanlcgift
@sharpwood No i don't, you have to build yourself, needed to install openCV first (from source or binary are OK)
Hi!
I'm trying to run API which uses OpenCVSharp3-AnyCPU (3.2.0.20170210-beta). I run it on a Raspberry Pi 3 with .NET Core (1.2.0-beta-001291-00) and Raspbian GNU/Linux 8.0 (jessie) on the board.
When I try to start my app with
dotnet My.API.dll
, I get error (actually it invokes ctor ofCascadeClassifier
):My folder contains those items:
I've tried to use dlls mapping, so I've created
OpenCvSharp.dll.config
file: