пн, 10 дек. 2018 г. в 12:33, René Hansen <[email protected]>:
> You can get the Camera orientation like so:
>
> QCamera *cam = qvariant_cast<QCamera
> *>(m_filter->camera()->property("mediaObject"));
> QCameraInfo(*cam).orientation()
>
> Then in case orientation is not % 180, you can rotate the image.
>
>
Is it the same as QML Camera's 'orientation' ?
http://doc.qt.io/qt-5/qml-qtmultimedia-camera.html#orientation-prop
Or this is actual orientation? Maybe you could share sample which
'unrotate' based on this property?
_______________________________________________
Interest mailing list
[email protected]
https://lists.qt-project.org/listinfo/interest