Skip to content

15MB .tflite files with @react-native-firebase/ml #4750

Answered by MujtabaFR
MujtabaFR asked this question in Q&A
Discussion options

You must be logged in to vote

The .tflite files were removed when removing these two lines

implementation 'com.google.android.gms:play-services-vision-face-contour-internal:16.0.3'

implementation 'com.google.firebase:firebase-ml-vision-face-model:20.0.2'

After removing both lines, apk size was reduces by 10MB

I created a PR removing them, as face detection is part of ML Kit as on-device model

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@mikehardy
Comment options

Answer selected by andersonaddo
Comment options

You must be logged in to vote
4 replies
@mikehardy
Comment options

@MujtabaFR
Comment options

@mikehardy
Comment options

@mikehardy
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants