spillai / numpy-opencv-converter

OpenCV <=> NumPy Converter using Boost::Python
BSD 2-Clause "Simplified" License
131 stars 52 forks source link

Updated for Opencv3 #4

Open prassanna-ravishankar opened 9 years ago

prassanna-ravishankar commented 9 years ago

Updated for Opencv3. Needed to add an argument UMatUsageFlags usage_flags for the allocate and deallocate functions.

Another Idea would be to introduce the OPENCV3/2 pre-processor flag directly from CMake

Txordi00 commented 8 years ago

Hi @atemysemicolon . I tried in opencv 3 with your modifications. I have used it on a python app and I have memory problems, the ram usage is increasing non-stop (until I force close the program obviously). With opencv 2.4.11 it doesn't happens to me.

I have not much knowledge in this advanced stuff, so I don't actually know how I can help to fix this issue. Hope we will solve it!! :)