Konwertuj bajt arry na obraz OpenCV w C ++
Mam tablicę bajtów reprezentującą plik .jpg, który chcę przekonwertować bezpośrednio na obiekt OpenCV Mat.
Mam coś takiego
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;