video
Video capture, frame conversion, video processing and camera roles.
| Group | video |
Detailed description
libvideo is the video half of the media stack. VideoSystem answers which cameras the node has, VisionCharacteristics gives each camera a role, and VideoProcessor and VideoContext run video frames through a processing graph.
Type documentation
VisionCharacteristic enum
[since 1.0] enum video::VisionCharacteristic
The role a camera has on a node.
A node can have several cameras. A VisionCharacteristic says what one of them is for. visionCharacteristicToString() and visionCharacteristicFromString() convert a role to and from its stored name, and an unknown name reads as Custom.
| Constant | Value | Description |
|---|---|---|
video::VisionCharacteristic::PrimaryVision |
0 |
The main, forward-facing camera. |
video::VisionCharacteristic::RearVision |
1 |
A rear-facing camera. |
video::VisionCharacteristic::OverheadVision |
2 |
An overhead camera. |
video::VisionCharacteristic::ThermalVision |
3 |
A thermal sensor. |
video::VisionCharacteristic::DepthVision |
4 |
A depth sensor. |
video::VisionCharacteristic::Custom |
255 |
A role the user names; video::VisionAssignment holds the name. |
This enum was introduced in 1.0.
See also video::VisionAssignment, video::VisionCharacteristics.
Classes
| Class | What it is |
|---|---|
| FrameConverter | Static utility for converting QVideoFrame to QImage/QPixmap |
| VideoContext | Video-specific ProcessorContext for graph execution |
| VideoProcessor | Abstract base for video processing graph nodes |
| VideoSystem | Thin singleton facade over DeviceManager for video-specific queries |
| VisionAssignment | Binds one camera role to one video device |
| VisionCharacteristics | Manages vision role assignments for a node's video devices |