I need help。 lua call cv module error。
My English is not good. I don't know how to solve it. thank you!!!
lua code: cv = require("cv") local img=cv.imread("test.PNG"); local keypoints=cv.KeyPoint.new() local detector=cv.ORB.create(); detector:detect(img,keypoints); error: maybe...Argument mismatch:userdata,userdata,userdata candidate is: cv::Feature2D,cv::_InputArray,std::__1::vector<cv::KeyPoint, std::__1::allocatorcv::KeyPoint >,[OPT]cv::_InputArray, cv::Feature2D,cv::_InputArray,std::__1::vector<std::__1::vector<cv::KeyPoint, std::__1::allocatorcv::KeyPoint >, std::__1::allocator<std::__1::vector<cv::KeyPoint, std::__1::allocatorcv::KeyPoint > > >,[OPT]cv::_InputArray,
bind code: KAGUYA_MEMBER_FUNCTION_OVERLOADS_WITH_SIGNATURE( detect_wrap_obj0 , cv::Feature2D , detect, 2, 3, void (cv::Feature2D::*)(InputArray,std::vector<KeyPoint> &,InputArray));
I can't understand this error: std::__1::vector<cv::KeyPoint, std::__1::allocatorcv::KeyPoint >
I wonder do you fix it yet. @jiawei14755
手动修改绑定,就是工作量比较大
我想知道您是否已解决它。@ jiawei14755