PDA

View Full Version : How to get the image buffer of videoOutput?



stereoMatching
14th December 2013, 04:42
Rectangle {
width: 320
height: 240

Camera{
id: camera
}

VideoOutput {
id: videoOutput

anchors.fill: parent
source: camera
}

GammaAdjust {
id: gammaAdjust

anchors.fill: videoOutput
source: videoOutput
gamma: 0.5
}
}


The source of the videoOutput come from camera
then process by the GammaAdjust
How could I get the image after process?
Any workaround?

wysota
16th December 2013, 15:03
What do you mean by "get" the image? If you want to do some more manipulation before displaying the frame, you can use ShaderEffectSource.