Table of Contents

Class InputFrameToFeedbackFrameAdapter

Espace de noms
easyar

Adaptateur d’input frame vers feedback frame. Possède un port d’entrée input frame, un port d’entrée historical output frame et un port de sortie feedback frame. Il combine une input frame et une historical output frame en une feedback frame et la transmet aux composants d’algorithme qui nécessitent une entrée feedback frame, comme ImageTracker. Chaque fois qu’une input frame est entrée, elle est combinée avec la historical output frame précédente en une feedback frame. Si aucune historical output frame n’a été entrée, la historical output frame dans la feedback frame est vide. InputFrameToFeedbackFrameAdapter occupe 1 camera buffer. Utilisez setBufferCapacity de camera pour définir au moins le nombre de camera buffers occupés par tous les composants. Tous les membres de cette classe sont thread-safe.

InputFrameToFeedbackFrameAdapter

Méthodes

input

Port d’entrée.

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()

Retours

Type Description
InputFrameSink

bufferRequirement

Nombre de camera buffers occupés par le composant actuel.

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()

Retours

Type Description
Int32

sideInput

Port d’entrée bypass, utilisé pour entrer des 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()

Retours

Type Description
OutputFrameSink

output

Port de sortie.

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()

Retours

Type Description
FeedbackFrameSource

create

Crée.

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()

Retours

Type Description
InputFrameToFeedbackFrameAdapter