Is there a way to share memory to share an openCV image (MAT in C+++ and numpy in python) image between a C/C++ and python? Multiplataform is not needed, I'm doing it in linux, I've thought share between mmap or similar think.
I have two running processes one is written in C and the other is python, and I need to share an image between them.
I will call from the c process to python via socket but I need to send and image and via memory.
Another alternative could be write in memory file, not sure if it could be more time consuming.