OutputFrameJoin Class

This type is an EasyAR Sense API in C#: OutputFrameJoin . Some descriptions may not apply to Unity environment on this page.

This type is fully wrapped into Unity components: ARAssembly . There is no need to use this type directly.

Description

Output frame join.

It is used to aggregate output frame from multiple components in parallel.

All members of this class is thread-safe.

It shall be noticed that connections and disconnections to the inputs shall not be performed during the flowing of data, or it may stuck in a state that no frame can be output. (It is recommended to complete dataflow connection before start a camera.)


Methods

input

C#

public virtual OutputFrameSink input(int index)

Input port.

output

C#

public virtual OutputFrameSource output()

Output port.

inputCount

C#

public virtual int inputCount()

Input count.

create

C#

public static OutputFrameJoin create(int inputCount)

Creates an instance. The default joiner will be used, which takes input frame from the first input and first result or null of each input. The first result of every input will be placed at the corresponding input index of results of the final output frame.

createWithJoiner

C#

public static OutputFrameJoin createWithJoiner(int inputCount, Func<List< OutputFrame >, OutputFrame > joiner)

Creates an instance. A custom joiner is specified.