QCameraInfoControlclass provides a camera info media control. 更多 …
QCameraInfoControlclass provides information about the camera devices available on the system.The interface name of
QCameraInfoControlisorg.qt-project.qt.camerainfocontrol/5.3作为定义在QCameraInfoControl_iid.
QCameraInfoControl
(
[
parent=None
]
)
¶
- param parent
QObject
Constructs a camera info control with the given
parent
.
PySide2.QtMultimedia.QCameraInfoControl.
cameraOrientation
(
deviceName
)
¶
deviceName – unicode
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.
PySide2.QtMultimedia.QCameraInfoControl.
cameraPosition
(
deviceName
)
¶
deviceName – unicode
Position
Returns the physical position of the camera named
deviceName
on the hardware system.