1 | initial version |
i'd suggest, you imencode your image to png/jpg, something compressed, and send that buffer via tcp to your pc-client.
there, you can easily retrieve it via VideoCapture::open(url) (url should end in .jpg or .png, so they can retrieve the filetype from it) maybe it even needs a proper http header in front, haven't tested that