fix(src): contrast 127 --> 116 for less noise
This commit is contained in:
parent
388f8466d5
commit
4f124fe074
|
@ -33,8 +33,8 @@ s1030:
|
||||||
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);
|
||||||
// contrast/black_level_calibration: range [0,255], default 127
|
// contrast/black_level_calibration: range [0,255], default 116
|
||||||
api->SetOptionValue(Option::CONTRAST, 127);
|
api->SetOptionValue(Option::CONTRAST, 116);
|
||||||
|
|
||||||
LOG(INFO) << "Enable manual-exposure";
|
LOG(INFO) << "Enable manual-exposure";
|
||||||
LOG(INFO) << "Set GAIN to " << api->GetOptionValue(Option::GAIN);
|
LOG(INFO) << "Set GAIN to " << api->GetOptionValue(Option::GAIN);
|
||||||
|
|
|
@ -40,8 +40,8 @@ int main(int argc, char *argv[]) {
|
||||||
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);
|
||||||
// contrast/black_level_calibration: range [0,255], default 127
|
// contrast/black_level_calibration: range [0,255], default 116
|
||||||
api->SetOptionValue(Option::CONTRAST, 127);
|
api->SetOptionValue(Option::CONTRAST, 116);
|
||||||
|
|
||||||
frame_rate = api->GetOptionValue(Option::FRAME_RATE);
|
frame_rate = api->GetOptionValue(Option::FRAME_RATE);
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ standard/brightness: -1
|
||||||
|
|
||||||
# contrast range: [0,255]
|
# contrast range: [0,255]
|
||||||
standard/contrast: -1
|
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 range: {10,15,20,25,30,35,40,45,50,55,60}
|
||||||
standard/frame_rate: -1
|
standard/frame_rate: -1
|
||||||
|
|
Loading…
Reference in New Issue
Block a user