AlexeyAB / darknet

YOLOv4 / Scaled-YOLOv4 / YOLO - Neural Networks for Object Detection (Windows and Linux version of Darknet )
http://pjreddie.com/darknet/
Other
21.65k stars 7.96k forks source link

System.Runtime.InteropServices.SEHException with YoloWrapper.cs #6738

Open shamaogpp opened 3 years ago

shamaogpp commented 3 years ago

when I use the lasted YoloWrapper.cs to detect a image with detect_mat, it turns out this problem "System.Runtime.InteropServices.SEHException" and,openCV was added,and the "init" already worked, I can't find where is wrong.

these are my test enviroment: VS2019 (2015 V140) CUDA10.0 CUDNN7.4 OPENCV3.4.0

I'll waiting for your reply,thanks very much!

shamaogpp commented 3 years ago

"detect_image" is no problem, only the "detect_mat"