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 ?
↧