fix save img params bug

This commit is contained in:
Kalman
2018-09-20 15:53:55 +08:00
parent 6feeb49d62
commit 13e9a89b59
4 changed files with 22 additions and 23 deletions

View File

@@ -21,7 +21,8 @@ int main(int argc, char *argv[]) {
auto &&api = API::Create(argc, argv);
if (!api)
return 1;
api->SetStreamRequest(
Resolution::RES_2560x800, Format::BGR888, FrameRate::RATE_30_FPS);
LOG(INFO) << "Intrinsics left: {" << api->GetIntrinsics(Stream::LEFT) << "}";
LOG(INFO) << "Intrinsics right: {" << api->GetIntrinsics(Stream::RIGHT)
<< "}";