InputFrameToFeedbackFrameAdapter Class¶
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.
input¶
Input port.
- C: void easyar_InputFrameToFeedbackFrameAdapter_input(easyar_InputFrameToFeedbackFrameAdapter * This, easyar_InputFrameSink * * Return)¶
- Traditional C++: void input(InputFrameSink * * Return)¶
- Java: public @Nonnull InputFrameSink input()¶
- Kotlin: fun input(): InputFrameSink¶
- Objective-C: - (easyar_InputFrameSink *)input¶
- Swift: public func input() -> InputFrameSink¶
- C#: public virtual InputFrameSink input()¶
bufferRequirement¶
(since 3.1.0)
Camera buffers occupied in this component.
- C: int easyar_InputFrameToFeedbackFrameAdapter_bufferRequirement(easyar_InputFrameToFeedbackFrameAdapter * This)¶
- C++17: int bufferRequirement()¶
- Traditional C++: int bufferRequirement()¶
- Java: public int bufferRequirement()¶
- Kotlin: fun bufferRequirement(): Int¶
- Objective-C: - (int)bufferRequirement¶
- Swift: public func bufferRequirement() -> Int32¶
- C#: public virtual int bufferRequirement()¶
sideInput¶
Side input port for historic output frame input.
- C: void easyar_InputFrameToFeedbackFrameAdapter_sideInput(easyar_InputFrameToFeedbackFrameAdapter * This, easyar_OutputFrameSink * * Return)¶
- Traditional C++: void sideInput(OutputFrameSink * * Return)¶
- Java: public @Nonnull OutputFrameSink sideInput()¶
- Kotlin: fun sideInput(): OutputFrameSink¶
- Objective-C: - (easyar_OutputFrameSink *)sideInput¶
- Swift: public func sideInput() -> OutputFrameSink¶
- C#: public virtual OutputFrameSink sideInput()¶
output¶
Output port.
- C: void easyar_InputFrameToFeedbackFrameAdapter_output(easyar_InputFrameToFeedbackFrameAdapter * This, easyar_FeedbackFrameSource * * Return)¶
- Traditional C++: void output(FeedbackFrameSource * * Return)¶
- Java: public @Nonnull FeedbackFrameSource output()¶
- Kotlin: fun output(): FeedbackFrameSource¶
- Objective-C: - (easyar_FeedbackFrameSource *)output¶
- Swift: public func output() -> FeedbackFrameSource¶
- C#: public virtual FeedbackFrameSource output()¶
create¶
Creates an instance.
- C: void easyar_InputFrameToFeedbackFrameAdapter_create(easyar_InputFrameToFeedbackFrameAdapter * * Return)¶
- Traditional C++: static void create(InputFrameToFeedbackFrameAdapter * * Return)¶
- Java: public static @Nonnull InputFrameToFeedbackFrameAdapter create()¶
- Kotlin: companion object fun create(): InputFrameToFeedbackFrameAdapter¶
- Objective-C: + (easyar_InputFrameToFeedbackFrameAdapter *)create¶
- Swift: public static func create() -> InputFrameToFeedbackFrameAdapter¶
- C#: public static InputFrameToFeedbackFrameAdapter create()¶