Class FaceTracker.CppProxy

java.lang.Object
com.banuba.sdk.scene.FaceTracker.CppProxy
All Implemented Interfaces:
FaceTracker
Enclosing interface:
FaceTracker

public static final class FaceTracker.CppProxy extends Object implements FaceTracker
  • Method Details

    • _djinni_private_destroy

      public void _djinni_private_destroy()
    • finalize

      protected void finalize() throws Throwable
      Overrides:
      finalize in class Object
      Throws:
      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)
    • getEyesStatus

      public EyesStatus getEyesStatus()
      Specified by:
      getEyesStatus in interface FaceTracker
      Returns:
      eyes status (eyes_status)
    • getEars

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

      public Component asComponent()
      Specified by:
      asComponent in interface FaceTracker
      Returns:
      upcast to base type
    • getGender

      public Gender getGender()
      Specified by:
      getGender in interface FaceTracker
      Returns:
      gender
    • create

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