opencv-ndarray-conversion
opencv-ndarray-conversion copied to clipboard
How to finish the conversion between python ndarray and C++ MAT ?
Hi, everyone: I try to finish the conversion between python ndarray and C++ MAT. In details, I want to send the image (ndarray) to C++ function arguments (MAT) and get the results (MAT) return to python (ndarray). Like this problem : http://stackoverflow.com/questions/22667093/how-to-convert-the-numpy-ndarray-to-a-cvmat-using-python-c-api. Can anyone help me? Thanks a lot!