内容表

上一话题

QCameraInfo

下一话题

QCameraLocksControl

QCameraInfoControl

QCameraInfoControl class provides a camera info media control. 更多

Inheritance diagram of PySide2.QtMultimedia.QCameraInfoControl

详细描述

QCameraInfoControl class provides information about the camera devices available on the system.

The interface name of QCameraInfoControl is org.qt-project.qt.camerainfocontrol/5.3 作为定义在 QCameraInfoControl_iid .

class 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.