face detection + multi faces check

filtering before crop prompt - do we need to have user crop photos with only one face?
This commit is contained in:
genki
2026-01-01 01:02:42 -05:00
parent 3f15bfabc1
commit dba64b89b6
10 changed files with 444 additions and 9 deletions

View File

@@ -19,6 +19,10 @@ room = "2.8.4"
# Images
coil = "2.7.0"
#Face Detect
mlkit-face-detection = "16.1.6"
coroutines-play-services = "1.8.1"
[libraries]
androidx-core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "coreKtx" }
androidx-lifecycle-runtime-ktx = { group = "androidx.lifecycle", name = "lifecycle-runtime-ktx", version.ref = "lifecycle" }
@@ -48,6 +52,11 @@ room-compiler = { group = "androidx.room", name = "room-compiler", version.ref =
# Misc
coil-compose = { group = "io.coil-kt", name = "coil-compose", version.ref = "coil" }
#Face Detect
mlkit-face-detection = { group = "com.google.mlkit", name = "face-detection", version.ref = "mlkit-face-detection"}
kotlinx-coroutines-play-services = {group = "org.jetbrains.kotlinx",name = "kotlinx-coroutines-play-services",version.ref = "coroutines-play-services"}
[plugins]
android-application = { id = "com.android.application", version.ref = "agp" }
kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }