Hi everyone,
I would like to transfer an image from a Java application to a C++ application. I am using sockets as the communication method, and for now this works good with strings.
I want to be able to transmit it both way (Java <-> C++).
The image is NOT a file, this is a memory object/structure. So my main problem is how to encode the image for the transmission, so that it can be used in Java and in C++.
The transfer is on the same machine (no network, so the speed isn't critical), but still the faster/more efficient, the better.
Thank you
Note : I am using OpenCV in C++, and the main goal is to process a webcam stream. I don't / can't use JavaCV or something like that !