InferenceVideoSource QML Type
Feeds video frames from a capture session into an inference flow. More...
| Import Statement: | import QtEdgeAi |
| Since: | Qt 6.12 |
| Inherits: | |
| Status: | Technical Preview |
Properties
- captureSession : CaptureSession
Detailed Description
InferenceVideoSource is an InferenceStep that reads video frames from a CaptureSession and makes them available to the rest of an InferenceFlow. Use it as the first step of a flow to supply frames to a VisionInference step.
When the QML component completes, the source creates the underlying C++ QInferenceVideoSource from the assigned captureSession.
See also InferenceStep, InferenceFlow, and VisionInference.
Property Documentation
captureSession : CaptureSession
This property holds the capture session that provides the video frames for this step.
Assign a capture session with a configured camera so that the flow can read frames from it. The value is read when the component completes and the underlying step is created.
The default value is null.
© 2026 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.