InputFrameToFeedbackFrameAdapter Class

This type is an EasyAR Sense API in C#: InputFrameToFeedbackFrameAdapter . 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

Input frame to feedback frame adapter.

There is an input frame input port, a historic output frame input port and a feedback frame output port. It can be used to combine an input frame and a historic output frame into a feedback frame, which is required by algorithm components such as ImageTracker .

On every input of an input frame, a feedback frame is generated with a previously input historic feedback frame. If there is no previously input historic feedback frame, it is null in the feedback frame.

InputFrameToFeedbackFrameAdapter occupies one buffer of camera. Use setBufferCapacity of camera to set an amount of buffers that is not less than the sum of amount of buffers occupied by all components. Refer to Overview .

All members of this class is thread-safe.


Methods

input

C#

public virtual InputFrameSink input()

Input port.

bufferRequirement

C#

public virtual int bufferRequirement()

Camera buffers occupied in this component.

sideInput

C#

public virtual OutputFrameSink sideInput()

Side input port for historic output frame input.

output

C#

public virtual FeedbackFrameSource output()

Output port.

create

C#

public static InputFrameToFeedbackFrameAdapter create()

Creates an instance.