Converte um byte arry para a imagem OpenCV em C ++
Eu tenho uma matriz de bytes que representa um arquivo .jpg que eu quero converter diretamente para um objeto Mat OpenCV.
Eu tenho algo parecido
byte* data; // Represents a JPG that I don't want to disk and then read.
// What goes here to end up with the following line?
cv::Mat* image_representing_the_data;