Interface FrameProcessor

    • Method Detail

      • push

        void push​(@Nullable
                  FrameData fd)
      • 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.