opencvsharp icon indicating copy to clipboard operation
opencvsharp copied to clipboard

OpenCvSharpExtern->CUDA

Open OLxing opened this issue 2 years ago • 4 comments

Edition: 1、OpenCv - 4.1.0 2、OpenCvSharp - 4.1.0 3、OpencvContrib - 4.1.0 Compiler: Visual Studio 2017 CMake: 3.23.2

Problem: 1、I have added CUDA version 10.2 when compiling opencv source code in cmake, and will generate all lib libraries in MT format. When opencvsharpextern links these LIBS, it always uses core410 Lib conflicts, and a mismatch of "runtimelibrary" is detected: the value "md_dynamicrelease" does not match the value "mt_staticrelease" OpenCV_ core410.lib(cuda_compile_1_generated_gpu_mat.cu.obj) 2、Is there a solution,I want OpenCV to use CUDA to complete acceleration 3、Opencvsharpextern always reports that it cannot parse external symbols gzputs, gzrewind, gzeof, etc. at compile time

Note: the source code is too large to be posted

OLxing avatar Jul 20 '22 07:07 OLxing

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jan 17 '23 01:01 stale[bot]

Is it possible to use CUDA with OpenCVSharp?

empawlo avatar Feb 28 '23 15:02 empawlo

OpenCVSharp @empawlo You could try to compile as is like here, but without Cuda. If works, then can you try to add CUDA support.

netcorefan1 avatar Mar 11 '23 11:03 netcorefan1

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Sep 17 '23 11:09 stale[bot]