-
Notifications
You must be signed in to change notification settings - Fork 5.8k
[Feature Request] Add Python support for SFM – triangulatePoints function #3914
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
Comments
Hi @FrancescoSpena, |
Thank you for your interest in contributing! Actually, the code is already complete, and the necessary folders are set up, so I don’t need help with the implementation. I opened this issue just to clarify where it would be best to place my code—whether in calib3d, multiview, or in a new sfm module in opencv_contrib. It would be great to get some input from the maintainers on this. Thanks for your time and support! 😊 |
@FrancescoSpena I'll follow the discussion and would be happy to help with testing or documentation if needed. Looking forward to the maintainers’ input! |
To get it available you have to build OpenCV with contrib by yourself. As alternative, you can try OpenCV 5.x branch with 3d module: https://docs.opencv.org/5.x/da/d35/group____3d.html#gad3fc9a0c82b08df034234979960b778c |
Describe the feature and motivation
Description:
Currently, OpenCV provides the Structure From Motion (SFM) module only in C++, and there is no official Python binding for it. I have implemented a pure Python version of the cv::sfm::triangulatePoints function, which allows triangulating 3D points from 2D image correspondences and projection matrices. I would like to contribute this function to OpenCV, and I have a few questions regarding the best approach:
Should I create a new sfm module inside opencv_contrib to host this function and possibly other SFM-related utilities in the future? If a new sfm module is not the right approach, where would be the best place to integrate this function? (e.g., calib3d, multiview)? Is there any existing plan to add Python support for SFM in OpenCV?
Proposed Contribution:
I am open to feedback on the best way to integrate this contribution. Let me know if you need any additional details! 🚀
Additional context
OpenCV Version:
Platform: Ubuntu 20.04, Python 3.8.10
The text was updated successfully, but these errors were encountered: