Class Recognizer.CppProxy

  • All Implemented Interfaces:
    Recognizer
    Enclosing interface:
    Recognizer

    public static final class Recognizer.CppProxy
    extends java.lang.Object
    implements Recognizer
    • Method Detail

      • _djinni_private_destroy

        public void _djinni_private_destroy()
      • finalize

        protected void finalize()
                         throws java.lang.Throwable
        Overrides:
        finalize in class java.lang.Object
        Throws:
        java.lang.Throwable
      • setMaxFaces

        public void setMaxFaces​(int num)
        Description copied from interface: Recognizer
        sets maximum allowed face results, if face tracking feature is present
        Specified by:
        setMaxFaces in interface Recognizer
      • setUseFutureFilter

        public void setUseFutureFilter​(boolean on)
        Description copied from interface: Recognizer
        Set future frame filtrarion mode. Produce smoother recognition result (anti jitter), however adds inconsistency in push'ed/pop'ed frames (one frame lag) Applied only in push_camera_frame/pop_frame_data methods, when offline mode is disabled. Example: push frame 1 - pop frame 1, push frame 2 - pop frame 1, push frame 3 - pop frame 2, ...
        Specified by:
        setUseFutureFilter in interface Recognizer
      • setUseFutureInterpolate

        public void setUseFutureInterpolate​(boolean on)
        Description copied from interface: Recognizer
        Set future frame interpolation mode. Produce faster recognition result (skip even frames), however adds inconsistency in push'ed/pop'ed frames (one frame lag) Applied only in push_camera_frame/pop_frame_data methods, when offline mode is disabled. Example: push frame 1 - pop frame 1, push frame 2 - pop frame 1, push frame 3 - pop frame 2, ...
        Specified by:
        setUseFutureInterpolate in interface Recognizer
      • start

        public void start()
        Description copied from interface: Recognizer
        start the recognizer
        Specified by:
        start in interface Recognizer
      • pause

        public void pause()
        Description copied from interface: Recognizer
        pause the recognizer
        Specified by:
        pause in interface Recognizer
      • stop

        public void stop()
        Description copied from interface: Recognizer
        pause + clear
        Specified by:
        stop in interface Recognizer
      • clear

        public void clear()
        Description copied from interface: Recognizer
        clear input and output buffers and pipeline state, also clean cached features
        Specified by:
        clear in interface Recognizer
      • getFeatureId

        public static long getFeatureId​(@NonNull
                                        FeatureId feature)