-
Notifications
You must be signed in to change notification settings - Fork 5.8k
solved issue 2813 #2819
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
solved issue 2813 #2819
Conversation
@alalek there is some problem with buildbot? |
@@ -113,7 +113,7 @@ class CV_EXPORTS QuasiDenseStereo | |||
* in case of video processing. | |||
* @sa loadParameters | |||
*/ | |||
virtual int loadParameters(cv::String filepath) = 0; | |||
CV_WRAP virtual int loadParameters(cv::String filepath) = 0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like bindings scripts can't properly wrap abstract classes and pure methods.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well done!
import cv2 as cv | ||
|
||
left_img = cv.imread("G:/Lib/opencv/samples/data/aloeL.jpg", cv.IMREAD_COLOR) | ||
right_img = cv.imread("G:/Lib/opencv/samples/data/aloeR.jpg", cv.IMREAD_COLOR) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove absolute paths. Use command-line parameters with default values.
Use cv.samples.findFile()
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@LaurentBerger Well done! Thank you for contribution 👍
@LaurentBerger |
resolves #2813
Pull Request Readiness Checklist
See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request
Patch to opencv_extra has the same branch name.