Banuba SDK
Instance Methods | Class Methods | List of all members
BNBFrameProcessor Class Reference

#import <BNBFrameProcessor.h>

Inheritance diagram for BNBFrameProcessor:

Instance Methods

(BNBProcessorType) - getType
 
(void) - push:
 
(nonnull BNBProcessorResult *) - pop
 

Class Methods

(nullable BNBFrameProcessor *) + createRealtimeProcessor:config:
 Realtime feed processor. More...
 
(nullable BNBFrameProcessor *) + createPhotoProcessor:
 Photo processor. More...
 
(nullable BNBFrameProcessor *) + createVideoProcessor:
 Video processor. More...
 

Detailed Description

Definition at line 19 of file BNBFrameProcessor.h.

Method Documentation

◆ createPhotoProcessor:

+ (nullable BNBFrameProcessor *) createPhotoProcessor: (nullable BNBProcessorConfiguration *)  config

Photo processor.

push to set photo, processing happens on pop synchronously. Several pop calls return same result without unnecessary processing, except case when recognizer pipeline was changed by EffectPlayer, processing will be restarted.

◆ createRealtimeProcessor:config:

+ (nullable BNBFrameProcessor *) createRealtimeProcessor: (BNBRealtimeProcessorMode)  mode
config: (nullable BNBProcessorConfiguration *)  config 

Realtime feed processor.

See RealtimeProcessorMode for more info.

◆ createVideoProcessor:

+ (nullable BNBFrameProcessor *) createVideoProcessor: (nullable BNBProcessorConfiguration *)  config

Video processor.

Consistent push - pop will process frames synchronously.

◆ getType

- (BNBProcessorType) getType

◆ pop

- (nonnull BNBProcessorResult *) pop

◆ push:

- (void) push: (nullable BNBFrameData *)  fd

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