We have requirements for the SDK's package size. Is it possible to reduce the package size of the liveness detection SDK?

Yes, the SDK package size mainly resides in the .so files and model files. We support removing the dependency on the model file module, which can reduce the size by 1.4MB. When performing liveness detection for the first time, the SDK will pull the model files from a remote source.

 

implementation ('ai.advance.mobile-sdk.android:liveness-detection:x.x.x'){
    exclude group: 'ai.advance.mobile-sdk.android', module: 'liveness-detection-model'
}

 

Was this article helpful?
1 out of 15 found this helpful

Comments

0 comments

Please sign in to leave a comment.