feat(src): brightness 192 --> 70
This commit is contained in:
parent
a2f24aa62f
commit
404d74b0b7
|
@ -55,8 +55,8 @@ s2100/s210a:
|
||||||
// manual-exposure: 1
|
// manual-exposure: 1
|
||||||
api->SetOptionValue(Option::EXPOSURE_MODE, 1);
|
api->SetOptionValue(Option::EXPOSURE_MODE, 1);
|
||||||
|
|
||||||
// brightness/exposure_time: range [0,240], default 120
|
// brightness/exposure_time: range [1,255], default 70
|
||||||
api->SetOptionValue(Option::BRIGHTNESS, 120);
|
api->SetOptionValue(Option::BRIGHTNESS, 70);
|
||||||
|
|
||||||
LOG(INFO) << "Enable manual-exposure";
|
LOG(INFO) << "Enable manual-exposure";
|
||||||
LOG(INFO) << "Set EXPOSURE_MODE to "
|
LOG(INFO) << "Set EXPOSURE_MODE to "
|
||||||
|
@ -102,7 +102,7 @@ s2100/s210a:
|
||||||
3
|
3
|
||||||
I/manual_exposure.cc:62 Enable manual-exposure
|
I/manual_exposure.cc:62 Enable manual-exposure
|
||||||
I/manual_exposure.cc:63 Set EXPOSURE_MODE to 1
|
I/manual_exposure.cc:63 Set EXPOSURE_MODE to 1
|
||||||
I/manual_exposure.cc:65 Set BRIGHTNESS to 120
|
I/manual_exposure.cc:65 Set BRIGHTNESS to 70
|
||||||
|
|
||||||
|
|
||||||
The sample program displays an image with a real exposure time in the upper left corner, in milliseconds.
|
The sample program displays an image with a real exposure time in the upper left corner, in milliseconds.
|
||||||
|
|
|
@ -93,15 +93,15 @@ standard.yaml/standard2.yaml:
|
||||||
...
|
...
|
||||||
|
|
||||||
# s2100 modify brightness
|
# s2100 modify brightness
|
||||||
# standard2/brightness range: [0,240]
|
# standard2/brightness range: [1,255]
|
||||||
standard2/brightness: -1
|
standard2/brightness: -1
|
||||||
# standard2/brightness: 120
|
# standard2/brightness: 70
|
||||||
...
|
...
|
||||||
|
|
||||||
# s210a modify brightness
|
# s210a modify brightness
|
||||||
# standard210a/brightness range: [0,240]
|
# standard210a/brightness range: [1,255]
|
||||||
standard210a/brightness: -1
|
standard210a/brightness: -1
|
||||||
# standard210a/brightness: 120
|
# standard210a/brightness: 70
|
||||||
...
|
...
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -59,8 +59,8 @@ int main(int argc, char *argv[]) {
|
||||||
// manual-exposure: 1
|
// manual-exposure: 1
|
||||||
api->SetOptionValue(Option::EXPOSURE_MODE, 1);
|
api->SetOptionValue(Option::EXPOSURE_MODE, 1);
|
||||||
|
|
||||||
// brightness/exposure_time: range [0,240], default 120
|
// brightness/exposure_time: range [1,255], default 70
|
||||||
api->SetOptionValue(Option::BRIGHTNESS, 120);
|
api->SetOptionValue(Option::BRIGHTNESS, 70);
|
||||||
|
|
||||||
LOG(INFO) << "Enable manual-exposure";
|
LOG(INFO) << "Enable manual-exposure";
|
||||||
LOG(INFO) << "Set EXPOSURE_MODE to "
|
LOG(INFO) << "Set EXPOSURE_MODE to "
|
||||||
|
|
|
@ -25,9 +25,9 @@ standard2/imu_process_mode: 2
|
||||||
|
|
||||||
# device options of standard2, -1 will not set the value
|
# device options of standard2, -1 will not set the value
|
||||||
|
|
||||||
# standard2/brightness range: [0,240]
|
# standard2/brightness range: [1,255]
|
||||||
standard2/brightness: -1
|
standard2/brightness: -1
|
||||||
# standard2/brightness: 120
|
# standard2/brightness: 70
|
||||||
|
|
||||||
# standard2/exposure_mode, 0: auto-exposure, 1: manual-exposure
|
# standard2/exposure_mode, 0: auto-exposure, 1: manual-exposure
|
||||||
standard2/exposure_mode: -1
|
standard2/exposure_mode: -1
|
||||||
|
@ -67,9 +67,9 @@ standard2/gyro_low_filter: -1
|
||||||
|
|
||||||
# device options of standard210a, -1 will not set the value
|
# device options of standard210a, -1 will not set the value
|
||||||
|
|
||||||
# standard210a/brightness range: [0,240]
|
# standard210a/brightness range: [1,255]
|
||||||
standard210a/brightness: -1
|
standard210a/brightness: -1
|
||||||
# standard210a/brightness: 120
|
# standard210a/brightness: 70
|
||||||
|
|
||||||
# standard210a/exposure_mode, 0: auto-exposure, 1: manual-exposure
|
# standard210a/exposure_mode, 0: auto-exposure, 1: manual-exposure
|
||||||
standard210a/exposure_mode: -1
|
standard210a/exposure_mode: -1
|
||||||
|
|
Loading…
Reference in New Issue
Block a user