I'd like to send IplImages acquired with JavaCV and a webcam through a socket, but, since they are not serializable, i'm quite lost. Any idea on how to do it?
Thanks
Save your image to temporary file and transfer that file through your socket.
If you don't want to create temporary files, you can get ByteBuffer
with pixel data from IplImage.getByteBuffer()
and write your own writeObject
& readObject
methods.