Interface FrameProcessor

All Known Implementing Classes:
FrameProcessor.CppProxy

public interface FrameProcessor
  • Method Details

    • getType

      @NonNull ProcessorType getType()
    • push

      void push(@Nullable FrameData fd)
    • pop

      @NonNull ProcessorResult pop()
    • createRealtimeProcessor

      @Nullable static FrameProcessor createRealtimeProcessor(@NonNull RealtimeProcessorMode mode, @Nullable ProcessorConfiguration config)
      Realtime feed processor. See RealtimeProcessorMode for more info.
    • createPhotoProcessor

      @Nullable static FrameProcessor createPhotoProcessor(@Nullable ProcessorConfiguration 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.
    • createVideoProcessor

      @Nullable static FrameProcessor createVideoProcessor(@Nullable ProcessorConfiguration config)
      Video processor. Consistent `push` - `pop` will process frames synchronously.