PDA

View Full Version : QCameraImageProcessingControl



Kyef
27th October 2015, 13:34
I have just found this (QCameraImageProcessingControl (http://doc.qt.io/qt-5/qcameraimageprocessingcontrol.html))class and I understand you can use it to control QCamera processes such as Contrast and Brightness Adjustment (etc). I have created an instance of QCamera and its working well but I cant figure out how to implement this class with my QCamera object:



camera = new QCamera(this);
viewfinder = new QCameraViewfinder(this);
imageCapure = new QCameraImageCapture(camera, this);

layout = new QVBoxLayout;
camera->setViewfinder(viewfinder);
layout->addWidget(viewfinder);


Can someone point me to the right direction? I would like to use 2 QSliders to adjust both brightness and contrast. Thank you in advance