hoangpmb

Results 1 comments of hoangpmb

you can try with data is opencv mat: vector buf; imencode(".jpg", frame, buf, std::vector() ); concurrency::streams::bytestream byteStream = concurrency::streams::bytestream(); concurrency::streams::istream inputStream = byteStream.open_istream(buf); web::http::http_response response(web::http::status_codes::OK); response.set_body(std::move(inputStream), U("image/jpg"));