Getting the results
Both results return an instance of
FaceMatchResults``
data class FaceMatchResults(
val first: Bitmap? = null,
val second: Bitmap? = null,
val similarity: Double? = null,
val score: Double? = null,
val exception: MatchFacesException? = null
)
Core dependencies
The following dependencies might be needed if facing any challenges
def compose_version = "1.2.0"
implementation("androidx.compose.ui:ui:$compose_version")
// Tooling support (Previews, etc.)
implementation("androidx.compose.ui:ui-tooling:$compose_version")
// Foundation (Border, Background, Box, Image, Scroll, shapes, animations, etc.)
implementation("androidx.compose.foundation:foundation:$compose_version")
// Material Design
implementation("androidx.compose.material:material:$compose_version")
implementation "androidx.compose.runtime:runtime-livedata:$compose_version"
implementation "androidx.lifecycle:lifecycle-viewmodel-compose:2.5.0"