How to convert Bitmap to Image

后端 未结 5 1162
我寻月下人不归
我寻月下人不归 2021-01-01 22:17

I am using the OpenCV library for image processing.

I want to convert a System.Drawing.Bitmap to an Image. How can I do th

5条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-01 23:21

    for whom to be concern: you should add dependency dll into project and change 'copy to output directory' property to 'copy always' (add -> existing item) from Emgu\emgucv-windows-universal-cuda 2.9.0.1922\bin\x86

    in my project add : opencv_core290.dll , opencv_highgui290.dll , opencv_ffmpeg290.dll , opencv_imageproc290.dll and cudart32_55.dll

    from: The type initializer for 'Emgu.CV.CvInvoke' threw an exception

提交回复
热议问题