Quantcast
Channel: Questions in topic: "dll"
Viewing all articles
Browse latest Browse all 706

opencv split method crashed in unity ,OpenCV split (frame,vector) method crashed in Unity

$
0
0
hi, I create dll with opencv methods for unity but split method crash when I use like below: extern "C" void __declspec(dllexport) __stdcall Test() { Mat frame; capture >> frame; if (frame.empty()) return; std::vector channels(3); split(frame, channels); } note :I have tried Mat channels[3] instead of std::vector channels(3) it works but I need to solve problem with vector version Have u any idea about it ?,Hi, I create dll with opencv methods but split function crashed when ı use it like below extern "C" void __declspec(dllexport) __stdcall Test() { Mat frame; capture >> frame; if (frame.empty()) return; std::vector channels(3); split(frame, channels); } note:I have tried Mat channels[3] instead of std::vector channels(3) it works but I need to use vector version Have u any idea about it ?

Viewing all articles
Browse latest Browse all 706

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>