Class FaceTracker.CppProxy

  • All Implemented Interfaces:
    FaceTracker
    Enclosing interface:
    FaceTracker

    public static final class FaceTracker.CppProxy
    extends java.lang.Object
    implements FaceTracker
    • 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
      • setFace

        public void setFace​(Face face)
        Description copied from interface: FaceTracker
        Sets face to face tracker.
        Specified by:
        setFace in interface FaceTracker
        Parameters:
        face - (face): face asset
      • getFace

        public Face getFace()
        Specified by:
        getFace in interface FaceTracker
        Returns:
        face (face): face asset
      • hasFace

        public boolean hasFace()
        Description copied from interface: FaceTracker
        true if fase with index, specified in face asset was recognized
        Specified by:
        hasFace in interface FaceTracker
        Returns:
        face recognition flag (bool)
      • isMouthOpen

        public boolean isMouthOpen()
        Description copied from interface: FaceTracker
        true if mouth is open
        Specified by:
        isMouthOpen in interface FaceTracker
        Returns:
        flag (bool)
      • isSmiling

        public boolean isSmiling()
        Description copied from interface: FaceTracker
        true if is smiling
        Specified by:
        isSmiling in interface FaceTracker
        Returns:
        flag (bool)
      • isEyebrowsUp

        public boolean isEyebrowsUp()
        Description copied from interface: FaceTracker
        true if eyebrows up
        Specified by:
        isEyebrowsUp in interface FaceTracker
        Returns:
        flag (bool)
      • isDisgust

        public boolean isDisgust()
        Description copied from interface: FaceTracker
        true if disgust
        Specified by:
        isDisgust in interface FaceTracker
        Returns:
        flag (bool)
      • getEars

        public java.util.ArrayList<Ear> getEars()
        Specified by:
        getEars in interface FaceTracker
        Returns:
        ears status [left, right]
      • create

        @Nullable
        public static FaceTracker create()
        Description copied from interface: FaceTracker
        Fabric method for face tracker creating.
        Returns:
        face tracker component (face_tracker)