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?

Foi útil?

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
scroll top