#65 · Primary category: Computer Vision

opencvsharp

computer-vision dotnet dotnetstandard image-processing machine-learning native-bindings nuget nuget-packages opencv opencvsharp wrapper

OpenCV wrapper for .NET

Project last updated:08/24/26

GitHub Stars

6.1K

Forks

1.2K

Contributors

103

License

Apache-2.0

Why we included this project

Teams doing image or video work in C# usually face an awkward choice: call native C++ libraries directly, or drop into Python to use OpenCV's bindings. OpenCvSharp removes that dilemma by keeping the API close to native OpenCV C++, so existing documentation, examples, and even Python cv2 code carry over with minimal translation, while still following C# conventions like typed enums, exceptions, and deterministic disposal of unmanaged resources. That makes it a practical base for desktop apps, Linux services, and Blazor WebAssembly projects rather than a thin wrapper, and it ships in two package families: OpenCvSharp5 for new .NET 8+ projects, with OpenCvSharp4 kept in maintenance for .NET Framework. It does not train models itself, so bring your own, but for running OpenCV's filtering, feature detection, and deep-learning module from a .NET codebase, it is the most direct option.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category