Table of Contents

Class InputFrameToFeedbackFrameAdapter

Namespace
easyar

InputFrameToFeedbackFrameAdapter. There is an input frame input port, a historical output frame input port, and a feedback frame output port, which is used to combine the input frame and the historical output frame into a feedback frame and pass it to the algorithm component that requires the input feedback frame, such as ImageTracker. Each time the input frame is input, the historical output frame input last time is combined to form a feedback frame. If there is no historical output frame input, the historical output frame in the feedback frame is empty. InputFrameToFeedbackFrameAdapter occupies 1 camera's buffer. The setBufferCapacity of the camera should be used to set the number of camera buffers occupied by all components to not less than. All members of this class are thread-safe.

InputFrameToFeedbackFrameAdapter

Methods

input

Input port.

void easyar_InputFrameToFeedbackFrameAdapter_input(easyar_InputFrameToFeedbackFrameAdapter * This, easyar_InputFrameSink * * Return)
std::shared_ptr<InputFrameSink> input()
public @Nonnull InputFrameSink input()
fun input(): InputFrameSink
- (easyar_InputFrameSink *)input
public func input() -> InputFrameSink
public virtual InputFrameSink input()

Returns

InputFrameSink

bufferRequirement

Current number of camera buffers occupied by the component.

int easyar_InputFrameToFeedbackFrameAdapter_bufferRequirement(easyar_InputFrameToFeedbackFrameAdapter * This)
int bufferRequirement()
public int bufferRequirement()
fun bufferRequirement(): Int
- (int)bufferRequirement
public func bufferRequirement() -> Int32
public virtual int bufferRequirement()

Returns

Int32

sideInput

Bypass input port for inputting historical output frames.

void easyar_InputFrameToFeedbackFrameAdapter_sideInput(easyar_InputFrameToFeedbackFrameAdapter * This, easyar_OutputFrameSink * * Return)
std::shared_ptr<OutputFrameSink> sideInput()
public @Nonnull OutputFrameSink sideInput()
fun sideInput(): OutputFrameSink
- (easyar_OutputFrameSink *)sideInput
public func sideInput() -> OutputFrameSink
public virtual OutputFrameSink sideInput()

Returns

OutputFrameSink

output

Output port.

void easyar_InputFrameToFeedbackFrameAdapter_output(easyar_InputFrameToFeedbackFrameAdapter * This, easyar_FeedbackFrameSource * * Return)
std::shared_ptr<FeedbackFrameSource> output()
public @Nonnull FeedbackFrameSource output()
fun output(): FeedbackFrameSource
- (easyar_FeedbackFrameSource *)output
public func output() -> FeedbackFrameSource
public virtual FeedbackFrameSource output()

Returns

FeedbackFrameSource

create

Create.

void easyar_InputFrameToFeedbackFrameAdapter_create(easyar_InputFrameToFeedbackFrameAdapter * * Return)
static std::shared_ptr<InputFrameToFeedbackFrameAdapter> create()
public static @Nonnull InputFrameToFeedbackFrameAdapter create()
companion object fun create(): InputFrameToFeedbackFrameAdapter
+ (easyar_InputFrameToFeedbackFrameAdapter *)create
public static func create() -> InputFrameToFeedbackFrameAdapter
public static InputFrameToFeedbackFrameAdapter create()

Returns

InputFrameToFeedbackFrameAdapter