OpenGV is a collection of computer vision methods for solving geometric vision problems. It is hosted and maintained by the Mobile Perception Lab of ShanghaiTech.
This PR accelerates the python binding by about 20%. The trick is to access the python data using pointer arithmetic rather than calling array methods. This prevents bounds checks on every access to the array.
This PR accelerates the python binding by about 20%. The trick is to access the python data using pointer arithmetic rather than calling array methods. This prevents bounds checks on every access to the array.