Package com.banuba.sdk.scene
Class FaceTracker.CppProxy
java.lang.Object
com.banuba.sdk.scene.FaceTracker.CppProxy
- All Implemented Interfaces:
FaceTracker
- Enclosing interface:
- FaceTracker
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.banuba.sdk.scene.FaceTracker
FaceTracker.CppProxy
-
Method Summary
Modifier and TypeMethodDescriptionvoid
static FaceTracker
create()
Fabric method for face tracker creating.protected void
finalize()
getEars()
getFace()
boolean
hasFace()
true if fase with index, specified in face asset was recognizedboolean
true if disgustboolean
true if eyebrows upboolean
true if mouth is openboolean
true if is smilingvoid
Sets face to face tracker.
-
Method Details
-
_djinni_private_destroy
public void _djinni_private_destroy() -
finalize
-
setFace
Description copied from interface:FaceTracker
Sets face to face tracker.- Specified by:
setFace
in interfaceFaceTracker
- Parameters:
face
- (face): face asset
-
getFace
- Specified by:
getFace
in interfaceFaceTracker
- 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 interfaceFaceTracker
- Returns:
- face recognition flag (bool)
-
isMouthOpen
public boolean isMouthOpen()Description copied from interface:FaceTracker
true if mouth is open- Specified by:
isMouthOpen
in interfaceFaceTracker
- Returns:
- flag (bool)
-
isSmiling
public boolean isSmiling()Description copied from interface:FaceTracker
true if is smiling- Specified by:
isSmiling
in interfaceFaceTracker
- Returns:
- flag (bool)
-
isEyebrowsUp
public boolean isEyebrowsUp()Description copied from interface:FaceTracker
true if eyebrows up- Specified by:
isEyebrowsUp
in interfaceFaceTracker
- Returns:
- flag (bool)
-
isDisgust
public boolean isDisgust()Description copied from interface:FaceTracker
true if disgust- Specified by:
isDisgust
in interfaceFaceTracker
- Returns:
- flag (bool)
-
getEyesStatus
- Specified by:
getEyesStatus
in interfaceFaceTracker
- Returns:
- eyes status (eyes_status)
-
getEars
- Specified by:
getEars
in interfaceFaceTracker
- Returns:
- ears status [left, right]
-
asComponent
- Specified by:
asComponent
in interfaceFaceTracker
- Returns:
- upcast to base type
-
getGender
- Specified by:
getGender
in interfaceFaceTracker
- Returns:
- gender
-
create
Description copied from interface:FaceTracker
Fabric method for face tracker creating.- Returns:
- face tracker component (face_tracker)
-