Skip to content

Commit

Permalink
Update camera_grabber.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
BytingBulldogs3539 committed Dec 15, 2023
1 parent e2bcad1 commit 8fbdd5f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions camera_grabber.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -181,12 +181,6 @@ void CameraGrabber::setControls(libcamera::Request *request) {
if (m_model != OV7251 && m_model != OV9281) {
controls_.set(controls::Sharpness, 1);
}

auto supportedNoise = controls_.get(controls::draft::NoiseReductionModeValues)
if (std::find(std::begin(supportedNoise), std::end(supportedNoise), controls::draft::NoiseReductionModeEnum::NoiseReductionModeOff) != std::end(supportedNoise)) {
// TODO test more noise reduction modes
controls_.set(controls::draft::NoiseReductionMode, controls::draft::NoiseReductionModeEnum::NoiseReductionModeOff);
}
}

void CameraGrabber::startAndQueue() {
Expand Down

0 comments on commit 8fbdd5f

Please sign in to comment.