Add image resizing, filtering, and color conversion to a C# application using familiar OpenCV functions.
Build an object detection or feature matching pipeline in .NET without leaving the C# ecosystem.
Process video streams from a C# app on Windows or Linux, including headless servers using the slim package.
Integrate OpenCV opencv_contrib extensions into a .NET project via a single NuGet install command.
OpenCvSharp is a .NET wrapper for OpenCV, a widely used library for image processing and computer vision. OpenCV itself is written in C++, so this project provides C# bindings that let .NET developers call OpenCV functions without leaving the C# ecosystem. The wrapper supports .NET 8 and later.NET Standard 2.0 and 2.1 (which covers a wide range of .NET versions including older .NET Framework from version 4.6.1 onward), and works on Windows and Linux. It is distributed as NuGet packages, the standard package manager for .NET, so adding it to a project is a single command. There are separate packages for Windows and Linux, with an optional slim variant for Linux that strips out the graphical display components, making it suitable for headless servers and containers. In terms of what it lets you do: image processing operations like resizing, filtering, and color conversion, object detection, feature matching, reading and writing image files and video streams, and many other computer vision tasks that OpenCV provides. The README notes that the API is modeled closely on OpenCV's own C/C++ interface, so code examples and documentation written for the original library translate fairly directly. A few limitations are clearly stated: it does not support CUDA for GPU acceleration, and it does not work on Unity or Xamarin. The project wraps OpenCV version 4.13.0, including the optional opencv_contrib extensions. It is open source and licensed under a permissive license. The full README is longer than what was shown.
← shimat on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.