Util[M]Pipeline

Top  Previous  Next

Name Space Hierarchy

C++

UtilPipeline

C#

UtilMPipeline

Description

The Util[M]Pipeline helper class provides a simple interface for some (limited) application usage cases, including finger tracking, voice recognition and face analysis processing from live camera or from a file.

The application usually derives a class from the Util[M]Pipeline utility class for overriding certain callback functions. The general procedure for using the Util[M]Pipeline utility is as follows:

Configure: The application uses the EnableXXXX set of functions to configure the pipeline. For example, use the EnableGesture function to enable the gesture module in the pipeline.

Run the pipeline: The application calls the LoopFrames function to initialize the pipeline and pass data among the pipeline components.

Handle events:  The application overrides the OnXXXX function to handle events from pipeline event notification. Particularly, the return value of the OnNewFrame function signals when to exit the pipeline.