<Cut Face out of Bitmap using Firebase ML Vision F...
# stackoverflow
u
Cut Face out of Bitmap using Firebase ML Vision Face Model I had implemented Firebase ML Vision Face Model and its working fine. I am creating path from face.getContour(FirebaseVisionFaceContour.FACE).points Here is my code val faceContourPoints: List = face.getContour(FirebaseVisionFaceContour.FACE).points ?: ArrayList() val path = Path() for (i in 1..(faceContourPoints.size - 1)) { val oldPoint = faceContourPoints.get(i - 1) val currPoint = faceContourPoints.get(i) path.moveTo(oldPoint.x, oldPoint.y) path.lineTo(currPoint.x,...