Class InputFrameToFeedbackFrameAdapter
- Namespace
- easyar
Input frame to feedback frame adapter. There is an input frame input port, a historical output frame input port, and a feedback frame output port, used to combine input frames and historical output frames into feedback frames, and pass them to algorithm components that require feedback frames as input, for example ImageTracker. Each time an input frame is input, it combines with the historical output frame from the previous input to synthesize a feedback frame. If no historical output frame has been input, the historical output frame in the feedback frame is empty. InputFrameToFeedbackFrameAdapter occupies 1 camera buffer. The camera's setBufferCapacity should be set to no less than the number of camera buffers occupied by all components. All members of this class are thread-safe.
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
bufferRequirement
The number of camera buffers occupied by the current 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, used 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
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
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()