-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
broken python wrappers for face module #184
Comments
due to the Algorithm removal, a new BasicFaceRecognizer class was introduced there, but it seems, the python wrappers can't handle more than one level of inheritance. (btw, the java wrappers (currently not enabled) work fine !) |
Looks like this problem only exists for modules inside nested namespaces. I've checked class StereoBM(StereoMatcher)
| Method resolution order:
| StereoBM
| StereoMatcher
| Algorithm
| __builtin__.object Nested modules members (I've checked ml and face) are shown like first level objects: class ml_Boost(__builtin__.object) I'll take a look into generator script to see how it can be fixed. |
@berak, can you, please, check if the issue has been fixed for you with the latest master version (opencv + contrib)? |
yes, excellent, works now, thanks a lot !
trying on vs2008 (!) i encountered another tiny issue: the wrapper ofc. is not able to see the #ifdefs there, and it failed to compile/link. adding the header to the blacklist in opencv\modules\python\common.cmake( ~line 31), like:
fixed this locally. |
* Align mvn SLTs with MVN1 api. * Remove redundant variable. * Update test case name.
no methods are exposed:
code in pyopencv_generated_types.h has this:
The text was updated successfully, but these errors were encountered: