InferenceStep QML Type
Represents a single step in an inference flow. More...
| Import Statement: | import QtEdgeAi |
| Since: | Qt 6.12 |
| Inherited By: | InferenceResultParser, InferenceVideoSource, and VisionInference |
| Status: | Technical Preview |
Properties
- connections : list<DataPortConnection>
Signals
- dataAvailable(var data, string portName)
Detailed Description
InferenceStep is the base type for the steps that make up an InferenceFlow, such as InferenceVideoSource, VisionInference, and InferenceResultParser. Each step produces or consumes data through its ports and forwards that data to other steps through connections.
A step wraps a C++ QInferenceStep that is created when the QML component completes. Declaring DataPortConnection children on a step wires its output to the input of other steps in the same flow.
See also InferenceFlow and DataPortConnection.
Property Documentation
connections : list<DataPortConnection>
This property holds the list of connections from this step's output ports to the input ports of other steps in the flow.
This is the default property of InferenceStep, so DataPortConnection objects declared as children of a step are added to this list. The connections are transferred to the underlying step when the component completes.
See also DataPortConnection.
Signal Documentation
dataAvailable(var data, string portName)
This signal is emitted when new data becomes available on this step.
The data argument holds the payload, and portName identifies the output port that produced it. The payload's format is determined by the model and the backend that produced it, so a receiver has to be written for the model in use. InferenceResultParser turns the raw output of a VisionInference step into structured results.
Note: The corresponding handler is onDataAvailable.
© 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.