Hi,
I try to create dll using opencv methods for unity but I run my dll with split function ,my app crash
extern "C" void __declspec(dllexport) __stdcall Test() { Mat frame; capture >> frame; if (frame.empty()) return;
std::vector<mat> channels(3);
split(frame, channels);
}
I cant use Vector in split ,I try like below
extern "C" void __declspec(dllexport) __stdcall Test() { Mat frame; capture >> frame; if (frame.empty()) return;
Mat channles[3];
split(frame, channels);
}
it works but I need to use vector version How can I solve my problem ?
please help me :(