Computer Vision Implementation Guide¶
Video Capture SDK .NET, Video Edit SDK .NET, Media Player SDK .NET
Overview of Available Packages¶
Our SDK provides two NuGet packages that deliver computer-vision capabilities for your applications:
- VisioForge.DotNet.Core.CV — CV package for Windows x64, macOS on Apple Silicon and Linux x64.
- VisioForge.DotNet.Core.CVD — Cross-platform CV package for Windows, Linux, and macOS.
Both packages provide a consistent API for integrating computer-vision features directly into your .NET applications.
Deployment Requirements¶
CV Package¶
Installation Process¶
The CV package carries the native OpenCV library for each supported platform:
- Simply install the NuGet package through your preferred package manager
- No additional deployment steps are necessary on Windows and macOS
- On Linux, the native library needs GTK 3. Desktop installations include it; on a server, minimal or container image, install it with
sudo apt-get install libgtk-3-0(Ubuntu/Debian) orsudo dnf install gtk3(RHEL/AlmaLinux) - An app on a plain .NET target framework (for example
net8.0) receives the native libraries for every supported OS; publish withdotnet publish -r <rid>(for example-r linux-x64) to keep only the one it runs on - 32-bit Windows, Intel Macs, Mac Catalyst, iOS and Android are not supported
Cross-Platform CVD Package¶
Our cross-platform CVD package requires specific configurations based on your operating system:
Windows Environment Setup¶
When deploying on Windows systems:
- Install the NuGet package through Visual Studio or the .NET CLI
- No additional dependencies or configurations are required
- Works out of the box with standard Windows installations
Ubuntu Linux Configuration¶
For Ubuntu Linux systems, install the following dependencies:
sudo apt-get install libgdiplus libopenblas-dev libx11-6
These packages provide essential functionalities:
libgdiplus: Provides System.Drawing compatibilitylibopenblas-dev: Optimizes matrix operations for computer vision algorithmslibx11-6: Handles X Window System protocol client library
macOS Setup Instructions¶
For macOS environments, use Homebrew to install the required dependencies:
brew install --cask xquartz
brew install mono-libgdiplus
These components enable:
- XQuartz: Provides X11 functionality on macOS
- mono-libgdiplus: Ensures compatibility with System.Drawing
Additional Resources¶
For implementation examples and technical guidance:
- Visit our GitHub repository for extensive code samples
- Explore practical implementations across various use cases
- Access community-contributed examples and solutions
Visit our GitHub page to get more code samples.