diff --git a/camera_grabber.cpp b/camera_grabber.cpp index 69e9002..bdd5695 100644 --- a/camera_grabber.cpp +++ b/camera_grabber.cpp @@ -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() {