Open jiawei14755 opened 3 years ago
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::allocator >,[OPT]cv::_InputArray, cv::Feature2D,cv::_InputArray,std::1::vector<std::1::vector<cv::KeyPoint, std::1::allocator >, std::1::allocator<std::1::vector<cv::KeyPoint, std::1::allocator > > >,[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 &,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
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::allocator >,[OPT]cv::_InputArray,
cv::Feature2D,cv::_InputArray,std::1::vector<std::1::vector<cv::KeyPoint, std::1::allocator >, std:: 1::allocator<std::1::vector<cv::KeyPoint, std::1::allocator > > >,[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 &,InputArray));