Skip to main content

SDK Size

On this page you can find sizes of SDKs across different platforms. SDK has to bundle not only compiled code, it has to bundle deep learning models. These models contribute the most to the SDK size.

iOS

ComponentSize [MB]
DeepAR library8.9
Face tracking model17
Hair segmentation model2.3
Emotion detection model0.142
Background segmentation model6.1
Total34.6

Android

ComponentSize [MB]
DeepAR library (arm64-v8a)5.9
DeepAR library (armeabi-v7a)5.2
DeepAR library (x86_86)4.4
DeepAR library (x86)4.3
Face tracking model8
Background segmentation model1.3
Hair segmentation model0.3
Emotion detection model0.185
Total32.3

Web

DeepAR Web consists of main and side modules. Main modules are always loaded and side modules are lazy-loaded when they are needed depending on the features used.

ModulesUncompressed Size [MB]Compressed Brotli Size [MB]
Main module (always loaded)2.090.56
Glasses Face tracking 3.492.51
Foot tracking 3.132.25
Wrist tracking 7.055.74
Face tracking8.93.78
Background removal (and blur)9.472.17
Scripting module0.450.12
Physics module0.480.13

Detailed breakdown:

note

Note that some files are shared between multiple modules. The file will only be downloaded once if multiple modules are used.

Main modulesUncompressed Size [MB]Compressed Brotli Size [MB]
deepar.js0.390.07
deepar.wasm1.70.46
Total2.090.56

Side modules are listed next:

Standard face tracking moduleUncompressed Size [MB]Compressed Brotli Size [MB]
dyXzimgMagicFace.wasm0.80.28
models-68-extreme.bin8.13.5
Total8.93.78
Glasses face tracking moduleUncompressed Size [MB]Compressed Brotli Size [MB]
xzimg.js0.970.19
face-det.bin0.80.63
face-track-19-v2.bin0.70.57
libxzimgPoseEstimation.wasm0.580.17
tfjs-backend-wasm-simd.wasm0.280.95
Total3.492.51
Foot tracking module Uncompressed Size [MB]Compressed Brotli Size [MB]
xzimg.js0.970.19
foot-detection-96x96x6.bin0.80.62
foot-keyps-superfast-23JUN2024.bin0.40.28
foot-right-200.obj0.10.04
libxzimgPoseEstimation.wasm0.580.17
tfjs-backend-wasm-simd.wasm0.280.95
Total3.132.25
Wrist tracking module Uncompressed Size [MB]Compressed Brotli Size [MB]
xzimg.js0.970.19
wrist-det-9.bin1.51.3
wrist-track-181-q.bin3.63.1
wrist-track.obj0.120.03
libxzimgPoseEstimation.wasm0.580.17
tfjs-backend-wasm-simd.wasm0.280.95
Total5.854.64
Background segmentation moduleUncompressed Size [MB]Compressed Brotli Size [MB]
mediaPipe.js0.120.03
vision_wasm_internal.js0.20.04
selfie_segmenter.tflite0.250.2
vision_wasm_internal.wasm8.91.9
Total9.472.17
Core SDK side modulesUncompressed Size [MB]Compressed Brotli Size [MB]
Scripting - dyArcoreScripting.wasm0.450.12
Physics - dyArcorePhysics.wasm0.480.13

MacOS

ComponentSize [MB]
DeepAR library9.5
Face tracking model17
Hair segmentation model2.3
Emotion detection model0.142
Background segmentation model6.1
Total33.1