From 27637ab117d8738236f6ab155300ff6e79e4843b Mon Sep 17 00:00:00 2001 From: Nikita Kostovsky Date: Sun, 2 Feb 2025 22:14:59 +0100 Subject: uncomment image rotation --- main.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'main.cpp') diff --git a/main.cpp b/main.cpp index df80796..2166b3a 100644 --- a/main.cpp +++ b/main.cpp @@ -142,8 +142,8 @@ int main(int argc, char* argv[]) std::cout << std::boolalpha; InnoMakerOV9281 innoMakerCam; qDebug() << "init:" << innoMakerCam.init(); - qDebug() << "set exposure:" << innoMakerCam.setExposureTimeUs(3000); - qDebug() << "set gain:" << innoMakerCam.setGain(0); + qDebug() << "set exposure:" << innoMakerCam.setExposureTimeUs(3000000); + qDebug() << "set gain:" << innoMakerCam.setGain(2); innoMakerCam.startStream(); QThread::sleep(3); @@ -386,8 +386,8 @@ int main(int argc, char* argv[]) #endif std::cout << "connect everything" << std::endl; - camera->newPixels.connect(&onNewPixels); - camera->newImage.connect(&onNewImage); + // camera->newPixels.connect(&onNewPixels); + // camera->newImage.connect(&onNewImage); camera->newImageCallback = &onNewImage; camera->newPixelsCallback = &onNewPixels; -- cgit v1.2.3-70-g09d2