I want opencvsharp with nvidia gpu
From there github page I would guess you need to
How to customize OpenCV binaries yourself
If you want to use some OpenCV features that are not provided by default in OpenCvSharp (e.g. GPU), you will have to build OpenCV yourself. The binary files of OpenCV for OpenCvSharp for Windows are created in the opencv_files repository. See the README.
git clone --recursive https://github.com/shimat/opencv_files
- Edit
build_windows.ps1
orbuild_uwp.ps1
to customize the CMake parameters .- Run the PowerShell script.