QCameraInfoControl¶
The
QCameraInfoControl
class provides a camera info media control. More…
Detailed Description¶
The
QCameraInfoControl
class provides information about the camera devices available on the system.The interface name of
QCameraInfoControl
isorg.qt-project.qt.camerainfocontrol/5.3
as defined inQCameraInfoControl_iid
.
- class PySide2.QtMultimedia.QCameraInfoControl([parent=None])¶
- param parent:
Constructs a camera info control with the given
parent
.
- PySide2.QtMultimedia.QCameraInfoControl.cameraOrientation(deviceName)¶
- Parameters:
deviceName – str
- Return type:
int
Returns the physical orientation of the sensor for the camera named
deviceName
.The value is the orientation angle (clockwise, in steps of 90 degrees) of the camera sensor in relation to the display in its natural orientation.
© 2022 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.