Skip to main content

Banuba SDK Size

Banuba Face AR SDK contains optional features which you can license separately. The SDK size may differ according to the features used. Below you can find reference information regarding the size of different SDK components.

note
  • For iOS, the size refers to the raw files on disk. However, in the final .ipa, all components are compressed and consume less memory than on disk.
  • For Android, the size refers to already built APK-bundle.
  • The size of effects is not included in SDK because you can load effects into your app separately.

SDK components size (iOS)#

ComponentSize, mb
BanubaEffectPlayer binary*80
Face Tracking, NN (Neural Network for new devices)1.5
Face Tracking (Algorithm for early devices)13.7
Face Detection (online NN, higher performance)2.4
Face Detection (offline NN, higher accuracy)2.3

*Binary contains libraries for different CPU architectures including: iOS x86_64 (for simulators), ARM64 (for phones) and bitcode. To approximately estimate the final SDK size (in release app) BanubaEffectPlayer binary size should ve divided by 4.

SDK components size (Android)#

See also: Binaries size, Minify app size

ComponentSize, mb
BanubaEffectPlayer binary (ARMv7)5.1
BanubaEffectPlayer binary (ARMv8)6.5
Face Tracking, NN (Neural Network for new devices)1.2
Face Tracking (Algorithm for early devices)6.7
Face Detection (online NN, higher performance)**2.5
Face Detection (offline NN, higher accuracy)**2.5

** Face Detection algorithms with higher performance and higher accuracy used together add 4.1 mb to your SDK package.

Neural Network size#

Neural NetworkiOS, mbAndroid, mb
Acne removal2.6not supported
Eyes bag removal4.2not supported
Background segmentation (for selfie and landscape)1.211.2
Body segmentation0.5not supported
Eye (iris) segmentation0.70.22
Hair segmentation0.350.64
Lips segmentation (including Lips Shine recoloring)2.30.5
Face skin segmentation (for skin smoothing effect)1.2not supported
Neck segmentation (for neck beautification)1.2not supported
Skin segmentation (for skin recoloring)1.40.7
Eyes Corrector (for better eyes tracking when using Neural Face Tracking)0.40.4
tip

Please always keep in mind that the final bundle size with SDK may differ when combining different technologies together. The size also increases when you add face filters directly in your app.

Last updated on