How to use Face Triggers in Android
Face triggers allow users to activate filters using their facial expressions. Banuba SDK has several face triggers. To use them, you need to follow the next steps
#
Usage of Face Triggers in your Android appUsing
BanubaSdkManager
addFrameDataListener
with implementation ofonFrameDataProcessed
method:note
Remove
FrameDataListener
when it is not needed (e.g. when active UI component is deinited)From
FrameData
object you can get information about smile, mouth, brows and othersNow you can use Face Triggers in your Android app