Package com.banuba.sdk.effect_player
Interface FrameProcessor
- All Known Implementing Classes:
FrameProcessor.CppProxy
public interface FrameProcessor
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic FrameProcessor
Photo processor.static FrameProcessor
Realtime feed processor.static FrameProcessor
Video processor.getType()
pop()
void
-
Method Details
-
getType
-
push
-
pop
-
createRealtimeProcessor
@Nullable static FrameProcessor createRealtimeProcessor(@NonNull RealtimeProcessorMode mode, @Nullable ProcessorConfiguration config) Realtime feed processor. See RealtimeProcessorMode for more info. -
createPhotoProcessor
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. -
createVideoProcessor
Video processor. Consistent `push` - `pop` will process frames synchronously.
-