반응형

// convert mat to vector<float>

vector<float> temp;

img_hog.convertTo(temp, -1, 1, 0);



// convert vector<float> to mat

vector<float> temp;

Mat(temp);


반응형

+ Recent posts