Fix record rgb888 bug
This commit is contained in:
parent
b625dca3df
commit
35e069a858
|
@ -80,7 +80,7 @@ void Dataset::SaveStreamData(
|
|||
cv::Mat img(
|
||||
data.frame->height(), data.frame->width(), CV_8UC3,
|
||||
data.frame->data());
|
||||
cv::cvtColor(img, img, CV_BGR2RGB);
|
||||
// cv::cvtColor(img, img, CV_BGR2RGB);
|
||||
cv::imwrite(ss.str(), img);
|
||||
} else {
|
||||
cv::Mat img(
|
||||
|
|
Loading…
Reference in New Issue
Block a user