Flutter-Smile-Face-Detection icon indicating copy to clipboard operation
Flutter-Smile-Face-Detection copied to clipboard

Unable to detect face

Open rikutys opened this issue 4 years ago • 1 comments

Hi, guys currently I'm facing some problem on the Firebase was not able to detect the faces. By using the original project here I able to trigger face detection with the live camera. But I tried to create my own project it doesn't detect the face. For Image picker, I able to get the result from my project but I'm not sure why only the Live camera face detection having this problem.

Would like to know is there any additional configuration I will need to set? I had generated the google-services.json

This is the build.gradle file

`buildscript { ext.kotlin_version = '1.3.20' repositories { google() jcenter() }

dependencies {
    classpath 'com.google.gms:google-services:4.2.0'
    classpath 'com.android.tools.build:gradle:3.3.2'
    classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}

} allprojects { repositories { google() jcenter() } } `

This is the app/build.gradle dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" testImplementation 'junit:junit:4.12' androidTestImplementation 'com.android.support.test:runner:1.0.2' androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' implementation 'com.google.firebase:firebase-core:16.0.8' } apply plugin: 'com.google.gms.google-services'

This is the pubspec.yaml ` name: rf_fd_v4 description: A new Flutter application.

version: 1.0.0+1

environment: sdk: ">=2.1.0 <3.0.0"

dependencies: flutter: sdk: flutter

cupertino_icons: ^0.1.2 firebase_ml_vision: ^0.6.0+2 image_picker: camera: ^0.5.7+4

dev_dependencies: flutter_test: sdk: flutter

flutter: uses-material-design: true `

rikutys avatar Mar 04 '20 03:03 rikutys

I have exactly the same problem, any updates in this issue?

kiketordera avatar Jan 19 '21 21:01 kiketordera