Skip to main content

android

Packages

Maven packages are published to the GitHub Packages Gradle registry.

To start using Banuba SDK from GitHub Packages, add a custom maven repo to your build.gradle.kts:

build.gradle.kts
loading...
important

Authentication is required in any case (regardless of read-only/download-only access), so a username and a password (GitHub token) with read-only packages access are required. You may use the username and password provided in our examples (and here) or create your own. Our samples always contains valid credentials, so please refer to it for an up-to-date token.

Refer to our GitHub repository to find the list of all available packages and their versions.

How to choose required packages

warning

Use only the packages with the same version! Packages with different versions (even minor) may conflict or work incorrectly with each other.

tip

If feature or effect works incorrect, see application logs, to figure out which package is missed.

Add packages depends on the specific features or effects, which your app will use. It is your responsibility to include everything required for the desired behaviour.
See detailed packages description in the table below.

build.gradle.kts
loading...

List of all available packages

Package nameDescription
com.banuba.sdk.sdk_apiplatform-specific APIs, like Player, Input, Output, etc.
com.banuba.sdk.sdk_coreprovides the functionality of the native EffectPlayer.
com.banuba.sdk.effect_playercontains the necessary shaders, used by sdk_core package and provides the following features: math utilities, texture utilities, morphing, beautification, etc.
com.banuba.sdk.scriptingincludes the basic functionality used by the effect api, see Effects.
com.banuba.sdk.face_trackerconsists of neural network models used to track a face and its features: lips, eyes, etc. Include it whenever you deal with tracking. See more about FRX.
com.banuba.sdk.lipsprovides neural network models for lips segmentation. See more about Lips Segmentation.
com.banuba.sdk.hairprovides neural network models for hair segmentation. See more about Hair Segmentation.
com.banuba.sdk.handsprovides neural network models for hand, nail, and finger segmentation.
com.banuba.sdk.occlusionprovides the occlusion neural network. It is used to detect face collisions with different objects in the screen.
com.banuba.sdk.eyesprovides neural network models for eyes segmentation. See more about Eye Segmentation.
com.banuba.sdk.skinprovides neural network models for skin segmentation. See more about Skin Segmentation.
com.banuba.sdk.backgroundprovides neural network models for background separation. See more about Background Separation.
com.banuba.sdk.bodyprovides neural network model to recognize the human body in full and separate it from the background in images and videos.
com.banuba.sdk.acne_eyebags_removalprovides neural network models for acne removal and eye bag removal.
com.banuba.sdk.neckprovides neural network models for neck segmentation.
com.banuba.sdk.banuba_sdk_resourcesincludes all the resources of the all packages. Use it when you don't care about the size or you need all the features!
com.banuba.sdk.pose_estimationprivate
com.banuba.sdk.banuba_sdkdepends on the all the packages for the operation of all available features. Use it when you don't care about the size or you need all the features!