Banuba SDK
Public Member Functions | Static Public Member Functions | List of all members
bnb::interfaces::processor_configuration Class Referenceabstract

Public Member Functions

virtual void set_use_future_filter (bool value)=0
 Use future frame to filter prediction, improves anti-jitter, adds processed frame inconsistency Example: push frame 1 - pop frame 1, push frame 2 - pop frame 1, push frame 3 - pop frame 2, ... More...
 
virtual void set_use_future_interpolate (bool value)=0
 Use future frame to interpolate prediction, improves performance, adds processed frame inconsistency Example: push frame 1 - pop frame 1, push frame 2 - pop frame 1, push frame 3 - pop frame 2, ... More...
 
virtual void set_use_offline_mode (bool value)=0
 Use offline NN's for processing, improces accuracy in exchange to performance Cannot be used together with other configurations Default: false.
 

Static Public Member Functions

static std::shared_ptr< processor_configurationcreate ()
 Create with default params.
 

Detailed Description

Definition at line 15 of file processor_configuration.hpp.

Member Function Documentation

◆ set_use_future_filter()

virtual void bnb::interfaces::processor_configuration::set_use_future_filter ( bool  value)
pure virtual

Use future frame to filter prediction, improves anti-jitter, adds processed frame inconsistency Example: push frame 1 - pop frame 1, push frame 2 - pop frame 1, push frame 3 - pop frame 2, ...

Cannot be used together with other configurations Default: true

◆ set_use_future_interpolate()

virtual void bnb::interfaces::processor_configuration::set_use_future_interpolate ( bool  value)
pure virtual

Use future frame to interpolate prediction, improves performance, adds processed frame inconsistency Example: push frame 1 - pop frame 1, push frame 2 - pop frame 1, push frame 3 - pop frame 2, ...

Cannot be used together with other configurations Default: false


The documentation for this class was generated from the following file: