Update comments of samples

This commit is contained in:
John Zhao 2018-05-22 11:33:07 +08:00
parent 13939734a7
commit 1130a99c8d
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ int main(int argc, char *argv[]) {
// auto-exposure: 0 // auto-exposure: 0
api->SetOptionValue(Option::EXPOSURE_MODE, 0); api->SetOptionValue(Option::EXPOSURE_MODE, 0);
// max_gain: range [0.48], default 48 // max_gain: range [0,48], default 48
api->SetOptionValue(Option::MAX_GAIN, 48); api->SetOptionValue(Option::MAX_GAIN, 48);
// max_exposure_time: range [0,240], default 240 // max_exposure_time: range [0,240], default 240
api->SetOptionValue(Option::MAX_EXPOSURE_TIME, 240); api->SetOptionValue(Option::MAX_EXPOSURE_TIME, 240);

View File

@ -29,7 +29,7 @@ int main(int argc, char *argv[]) {
// manual-exposure: 1 // manual-exposure: 1
api->SetOptionValue(Option::EXPOSURE_MODE, 1); api->SetOptionValue(Option::EXPOSURE_MODE, 1);
// gain: range [0.48], default 24 // gain: range [0,48], default 24
api->SetOptionValue(Option::GAIN, 24); api->SetOptionValue(Option::GAIN, 24);
// brightness/exposure_time: range [0,240], default 120 // brightness/exposure_time: range [0,240], default 120
api->SetOptionValue(Option::BRIGHTNESS, 120); api->SetOptionValue(Option::BRIGHTNESS, 120);