We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Many single-parameter class setters still have one explicit parameter instead of a table that wraps it. This breaks design uniformity.
Do not want:
function GeneralizedHough:setCannyHighThresh(cannyHighThresh) C.GeneralizedHough_setCannyHighThresh(self.ptr, cannyHighThresh) end function CLAHE:setClipLimit(clipLimit) C.CLAHE_setClipLimit(self.ptr, clipLimit) end
Do want:
function GeneralizedHough:setCannyHighThresh(t) local argRules = { {"val", required = true} } C.GeneralizedHough_setCannyHighThresh(self.ptr, cv.argcheck(t, argRules)) end function CLAHE:setClipLimit(t) local argRules = { {"val", required = true} } C.CLAHE_setClipLimit(self.ptr, cv.argcheck(t, argRules)) end
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Many single-parameter class setters still have one explicit parameter instead of a table that wraps it. This breaks design uniformity.
Do not want:
Do want:
The text was updated successfully, but these errors were encountered: