FPS Counter and active effect — shows the 3 counters of FPS in real-time and displays active effects.
FPS counters:
Camera
Face Recognition (FRX)
Draw
Effect Info — this block contains the information about audio, video, touches usage and render type of the effect. Can be enabled by longtap on the FPS counters area.
Frame Logger — 1st tap starts FPS log recording, 2nd tap ends FPS log recording. FPS log can be found in logcat output.
Take HQ Photo — takes a high-quality photo (process image).
Switch camera — switches between the front and rear cameras.
Rec NoMask Video — 1st tap starts recording a video from camera, 2nd tap ends it. The recorded video can be found here: /sdcard/Android/data/com.banuba.sdk.demo/cache.
Photo/Video — tap to take a low-quality photo in the Photo mode (5), tap and hold to record a video in the Video mode (5).
Switch mode - switches between the Photo and Video modes. When the Video mode is enabled, you can record videos with control 7.
Effects selection — the slider control that shows all effects in the app.
Add Effects — feature that allows to add new effects into Demo App more quickly using File Manager.
Enable fixed FPS — allows to fix FPS by disabling autoexposition setting.
How to use Add Effects feature in Banuba SDK Demo app
Download a folder with effect via Android Studio to device.
Launch Demo App and tap '+' icon.
Find the effect(s) downloaded in File Manager.
Mark the folder(s) with checkbox and tap 'Select' button.
Effect(s) appear in Demo app right after being added and can be applied.