shimat / opencvsharp

OpenCV wrapper for .NET
Apache License 2.0
5.37k stars 1.15k forks source link

Cannot find OpenCVSharp4 runtime for Apple M2 #1555

Open mikejos opened 1 year ago

mikejos commented 1 year ago

I cannot find a runtime that works for Apple M2 processor

Environment

Apple M2 Visual Studio for Mac .NET 7.0

shimat commented 1 year ago

If GitHub-hosted macOS runners with Apple M2 are supported in GitHub Actions it will be possible... https://github.com/github/roadmap/issues/528

grinay commented 1 year ago

You can use this package https://www.nuget.org/packages/OpenCvSharp4.runtime.osx_m1/, it's build for opencv 4.6.0

GreenShadeZhang commented 12 months ago

If GitHub-hosted macOS runners with Apple M2 are supported in GitHub Actions it will be possible... github/roadmap#528

I see this has been prompted for preview. Do you have any plans to build it? https://github.blog/changelog/2023-10-02-github-actions-apple-silicon-m1-macos-runners-are-now-available-in-public-beta/

grinay commented 9 months ago

https://www.nuget.org/packages/OpenCvSharp4.runtime.osx_arm64/4.8.1-rc here is the full package without the need to install opencv at all. Contains all libs inside the package.