BNBProcessorConfiguration
Objective-C
@interface BNBProcessorConfiguration : NSObject
/** Create with default params */
+ (nullable BNBProcessorConfiguration *)create;
/**
* 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
*/
- (void)setUseFutureFilter:(BOOL)value;
/**
* 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
*/
- (void)setUseFutureInterpolate:(BOOL)value;
/**
* Use offline NN's for processing, improces accuracy in exchange to performance
* Cannot be used together with other configurations
* Default: false
*/
- (void)setUseOfflineMode:(BOOL)value;
@end
Swift
class BNBProcessorConfiguration : NSObject
Undocumented
-
Create with default params
Declaration
Objective-C
+ (nullable BNBProcessorConfiguration *)create;
Swift
class func create() -> BNBProcessorConfiguration?
-
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
Declaration
Objective-C
- (void)setUseFutureFilter:(BOOL)value;
Swift
func setUseFutureFilter(_ value: Bool)
-
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
Declaration
Objective-C
- (void)setUseFutureInterpolate:(BOOL)value;
Swift
func setUseFutureInterpolate(_ value: Bool)
-
Use offline NN’s for processing, improces accuracy in exchange to performance Cannot be used together with other configurations Default: false
Declaration
Objective-C
- (void)setUseOfflineMode:(BOOL)value;
Swift
func setUseOfflineMode(_ value: Bool)