How transferring an image to buffer in c++(dll) and then read/write in buffer in C# and return to c++(dll) in real time? The process I'm looking is in the following :
1- First, I read an image form hard drive; Mat inputImage = read(“/,…./Test.jpg”);
2- Put in the buffer:
imencode(".jpg", inputImage, inputBuff, paramBuffer);
3- send form c++ to c# ??? (I don’t know).
4- read in c# from buffer ??? (I don’t know).
5- write the changes that happens through c++ and c# in buffer ??? (I don’t know).
I'm using Opencv c++.
I really thank you.