Open mrioso opened 5 years ago
Wat happened after you've waited for the download? And is face detection enabled in your config?
Hello @EddyVerbruggen you made a great work with this plugin.
I have the face Dependency in my config. But sometimes I have the same problem, I think when first run time.
Please share a repo which I can clone and inspect.
Hi @EddyVerbruggen. Ready! ... I invited you at my repo, you can clone from https://github.com/MrCalamitus/faceRecognition
Hi @EddyVerbruggen and @MrCalamitus
To avoid the "Waiting for the face detection model to be downloaded. Please wait." infinite console log, you can add the face model as dependency into gradle (I did it on app.gradle):
dependencies {
compile 'com.google.firebase:firebase-ml-vision-face-model:17.0.2'
}
I notice after install and select face and label features to be use, the plugin includes model for label , but don't includes face detection model.
I think the face option is missing on
Resolve: AndroidManifest.xml like this:
<application .....>
<meta-data
android:name="com.google.firebase.ml.vision.DEPENDENCIES"
android:value="ocr, face, label" />
</application>
and app.gradle like this:
dependencies {
implementation 'com.google.firebase:firebase-ml-vision:18.0.1'
implementation 'com.google.firebase:firebase-ml-vision-image-label-model:17.0.2'
implementation 'com.google.firebase:firebase-ml-vision-face-model:17.0.2'
}
ML Kit error: Waiting for the face detection model to be downloaded. Please wait.
PD: Text recognition works fine