From 8fbdd5fc6364d03daad163aa57d4f3e990c92977 Mon Sep 17 00:00:00 2001 From: BytingBulldogs3539 Date: Thu, 14 Dec 2023 23:26:38 -0500 Subject: [PATCH] Update camera_grabber.cpp --- camera_grabber.cpp | 6 ------ 1 file changed, 6 deletions(-) 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() {