QCameraInfoControl

The QCameraInfoControl class provides a camera info media control. More

Inheritance diagram of PySide2.QtMultimedia.QCameraInfoControl

Detailed Description

The 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 as defined in QCameraInfoControl_iid .

class QCameraInfoControl([parent=None])
param parent

QObject

Constructs a camera info control with the given parent .

PySide2.QtMultimedia.QCameraInfoControl.cameraOrientation(deviceName)
Parameters

deviceName – unicode

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.

PySide2.QtMultimedia.QCameraInfoControl.cameraPosition(deviceName)
Parameters

deviceName – unicode

Return type

Position

Returns the physical position of the camera named deviceName on the hardware system.