Created
June 16, 2019 11:51
-
-
Save aligkts/215f96fcb84c2ec0b08a3320418961c1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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