Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I need help。 lua call cv module error。 #7

Open
jiawei14755 opened this issue Oct 4, 2020 · 3 comments
Open

I need help。 lua call cv module error。 #7

jiawei14755 opened this issue Oct 4, 2020 · 3 comments

Comments

@jiawei14755
Copy link

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 &,InputArray));

@jiawei14755
Copy link
Author

I can't understand this error: std::__1::vector<cv::KeyPoint, std::__1::allocatorcv::KeyPoint >

@shockjiang
Copy link

I wonder do you fix it yet. @jiawei14755

@jiawei14755
Copy link
Author

手动修改绑定,就是工作量比较大

我想知道您是否已解决它。@ jiawei14755

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants