CC
Size: a a a
CC
CC
AZ
AZ
AZ
CC
AZ
IL
AZ
IL
wstring path = getPath();
size_t size = getFileSize(path);
vector<uchar> buffer(size);
ifstream ifs(path, ios::in | ios::binary);
ifs.read(reinterpret_cast<char*>(&buffer[0]), size);
Mat image = imdecode(buffer, flags);
вот так вот костыль не хочетсяp
TS
AZ
IL
wstring path = getPath();
size_t size = getFileSize(path);
vector<uchar> buffer(size);
ifstream ifs(path, ios::in | ios::binary);
ifs.read(reinterpret_cast<char*>(&buffer[0]), size);
Mat image = imdecode(buffer, flags);
вот так вот костыль не хочетсяIL
TS
AZ
C
C