我已经定义了一个数组char buf[],需要将其转换为Opencv Mat。有办法吗?
char buf[Max_size];
opencv char mat
char ×1
mat ×1
opencv ×1