fix(src): contrast 127 --> 116 for less noise

This commit is contained in:
Osenberg 2019-07-31 10:54:53 +08:00
parent 388f8466d5
commit 4f124fe074
3 changed files with 6 additions and 6 deletions

View File

@ -33,8 +33,8 @@ s1030
api->SetOptionValue(Option::GAIN, 24);
// brightness/exposure_time: range [0,240], default 120
api->SetOptionValue(Option::BRIGHTNESS, 120);
// contrast/black_level_calibration: range [0,255], default 127
api->SetOptionValue(Option::CONTRAST, 127);
// contrast/black_level_calibration: range [0,255], default 116
api->SetOptionValue(Option::CONTRAST, 116);
LOG(INFO) << "Enable manual-exposure";
LOG(INFO) << "Set GAIN to " << api->GetOptionValue(Option::GAIN);

View File

@ -40,8 +40,8 @@ int main(int argc, char *argv[]) {
api->SetOptionValue(Option::GAIN, 24);
// brightness/exposure_time: range [0,240], default 120
api->SetOptionValue(Option::BRIGHTNESS, 120);
// contrast/black_level_calibration: range [0,255], default 127
api->SetOptionValue(Option::CONTRAST, 127);
// contrast/black_level_calibration: range [0,255], default 116
api->SetOptionValue(Option::CONTRAST, 116);
frame_rate = api->GetOptionValue(Option::FRAME_RATE);

View File

@ -8,7 +8,7 @@ standard/brightness: -1
# contrast range: [0,255]
standard/contrast: -1
# standard/contrast: 127
# standard/contrast: 116
# standard/frame_rate range: {10,15,20,25,30,35,40,45,50,55,60}
standard/frame_rate: -1