edmBernard / pybind11_opencv_numpy

Implementation of cv::Mat conversion to numpy.array for pybind11
Apache License 2.0
198 stars 41 forks source link

OpenCV 2.4 isn't supported #26

Closed elazarcoh closed 2 years ago

elazarcoh commented 2 years ago

Hi, Thanks for sharing this utility. I just wanted to note that OpenCV 2.4 isn't supported anymore. e.g. UMatData is an OpenCV >= 3 type.

edmBernard commented 2 years ago

thanks, you are right, the numpy allocation is really done differently on opencv 2.4. I think I can remove opencv 2.4 from the documentation, You're the first person to notice this in 5 years.