@alberto2000 wrote:
Hi all, so I have a http server now running (using https://github.com/yhirose/cpp-httplib) and I can return strings on request.
The images I have are Mat’s with only the luminosity plane:
// camera is a VideoGrabber cv::Mat frame = ofxCv::toCv(camera.getPixels().getPlane(0));
How can I re-convert that luminosity plane into a format which I can send as raw bytes for interpretation as a jpeg client-side?
Posts: 1
Participants: 1