Maemo 5 Qt: how to capture frame (RGB) from first and second camera?
Pergunta
So (I havent tried yet) but it somehow seems that video for linux 2 will work... But I wonder is it possible to do such thing with for pure qt libs?
Solução
Install Qt Mobility QtMultiMediaKit extension (libqtm-multimedia-dev
package) and then use QCamera
in conjunction with QCameraImageCapture
to capture frames. To activate the front-facing secondary camera, construct your camera like this:
QCamera *camera = new QCamera(QCamera::availableDevices()[1]);
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow