Hello
I made a custom module in c++ in which I have a function that extract a sequence from a file. My function is declare as:
CV_EXPORTS_W void read_myJFile(const String& filename, OutputArrayOfArrays img); The compilation work like a charm, how when I try to call it from python I receive that message:
OpenCV(4.0.0-pre) /home/smile/lib_dir/opencv/opencv_400/opencv/modules/core/src/matrix_wrap.cpp:1280: error: (-215:Assertion failed) i < 0 in function 'create' I investigate a little bit it is because the binder pass a Mat container as second argument of my function. Is there any way to tell the binder that the second argument of my function is std::vector<cv::mat> ? Somehow this case is a little bit like the builtin function cv::split in the sense it does not return a cv::Mat
Otherwise what should I do (write) for make the binder understand ?
Thanks in advance for any help