https://kotlinlang.org logo
Title
u

user

06/20/2022, 7:41 AM
Kotlin Google MLKIT Face Detection , Face Circular Motion Enrollment I was building a face enrollment feature using google's mlkit, I am trying to capture circular motion enrollment like that of ios as shown below

https://i.stack.imgur.com/D82P8.png

I was able to achieve everything but i am only stuck in the circular motion part, what I have used is the following private fun Direction(): Boolean { if (angley in 20f..25f && anglez in 2.0f..6.0f) { return true } return false }...