Skip to content

Instantly share code, notes, and snippets.

@aligkts
Created June 16, 2019 11:51
Show Gist options
  • Save aligkts/215f96fcb84c2ec0b08a3320418961c1 to your computer and use it in GitHub Desktop.
Save aligkts/215f96fcb84c2ec0b08a3320418961c1 to your computer and use it in GitHub Desktop.
private fun processFaceResult(faces: MutableList<FirebaseVisionFace>) {
faces.forEach {
val bounds = it.boundingBox
val rectOverLay = RectOverlay(graphic_overlay, bounds)
graphic_overlay.add(rectOverLay)
}
alertDialog.dismiss()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment