You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to implement a custom CorrespondenceChecker for registration_ransac_based_on_feature_matching.
However, when I simpled followed Python convention to build a custom checker class, I was asked to trigger the constructor of o3d.cpu.pybind.pipelines.registration.CorrespondenceChecker.
and if I inherit o3d.cpu.pybind.pipelines.registration.CorrespondenceChecker to trigger the __init__ function, I get the following type error.
def __init__(self, test="Abc", *args, **kwargs):
> super(CorrespondenceCheckerBasedOnTransformation, self).__init__(*args, **kwargs)
E TypeError: CorrespondenceCheckerBasedOnTransformation: No constructor defined!
Is implementing the custom function in C++ and compiling it for Python the only option?
If anyone can share me a working sample code, it would be really really nice!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I would like to implement a custom
CorrespondenceChecker
forregistration_ransac_based_on_feature_matching
.However, when I simpled followed Python convention to build a custom checker class, I was asked to trigger the constructor of
o3d.cpu.pybind.pipelines.registration.CorrespondenceChecker
.and if I inherit
o3d.cpu.pybind.pipelines.registration.CorrespondenceChecker
to trigger the__init__
function, I get the following type error.Is implementing the custom function in C++ and compiling it for Python the only option?
If anyone can share me a working sample code, it would be really really nice!
Beta Was this translation helpful? Give feedback.
All reactions