Class InputFrameToFeedbackFrameAdapter
- Spazio dei nomi
- easyar
Adattatore da input frame a feedback frame. Ha una porta di input frame in ingresso, una porta di historical output frame in ingresso e una porta di feedback frame in uscita. Combina un input frame e un historical output frame in un feedback frame e lo passa ai componenti algoritmo che richiedono input feedback frame, ad esempio ImageTracker. Ogni volta che viene immesso un input frame, viene combinato con l’historical output frame precedente in un feedback frame. Se non è mai stato immesso un historical output frame, l’historical output frame nel feedback frame è vuoto. InputFrameToFeedbackFrameAdapter occupa 1 camera buffer. Usare setBufferCapacity di camera per impostare un valore non inferiore al numero di camera buffer occupati da tutti i componenti. Tutti i membri di questa classe sono thread-safe.
Metodi
input
Porta di input.
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()
Valore restituito
| Tipo | Descrizione |
|---|---|
| InputFrameSink |
bufferRequirement
Numero di camera buffer occupati dal componente corrente.
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()
Valore restituito
| Tipo | Descrizione |
|---|---|
| Int32 |
sideInput
Porta di input bypass, usata per inserire historical output frame.
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()
Valore restituito
| Tipo | Descrizione |
|---|---|
| OutputFrameSink |
output
Porta di output.
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()
Valore restituito
| Tipo | Descrizione |
|---|---|
| FeedbackFrameSource |
create
Crea.
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()
Valore restituito
| Tipo | Descrizione |
|---|---|
| InputFrameToFeedbackFrameAdapter |