package Ġcom . mat erna . pr ze mek . pain less face detection . core Ċ Ċ import Ġandroid . util . Log Ċ import Ġcom . google . android . gms . vision . face . Face Ċ Ċ fun Ġlog Face ( face : ĠFace ) Ġ{ ĊĠĠĠ ĠLog . d (" Faces ", Ġ"# Face Ġ${ face . id } Ġdetected Ġat Ġposition Ġ${ face . position } #\ n " Ġ+ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ" sm iling :\ t ${ face . is Sm iling Probability }\ n " Ġ+ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ" left Eye Open :\ t ${ face . is Left Eye Open Probability }\ n " Ġ+ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ" right Eye Open :\ t ${ face . is Right Eye Open Probability }\ n " Ġ+ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ" euler Y :\ tn ${ face . euler Y }\ n " Ġ+ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ" euler Z :\ t ${ face . euler Z }\ n ") Ċ } Ċ Ċ fun Ġlog Face ( face : ĠFace , Ġlogger : Ġ( String , ĠString ) Ġ-> ĠUnit ) Ġ{ ĊĠĠĠ Ġlogger . invoke (" Faces ", Ġ"# Face Ġ${ face . id } Ġdetected Ġat Ġposition Ġ${ face . position } #\ n " Ġ+ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ" sm iling :\ t ${ face . is Sm iling Probability }\ n " Ġ+ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ" left Eye Open :\ t ${ face . is Left Eye Open Probability }\ n " Ġ+ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ" right Eye Open :\ t ${ face . is Right Eye Open Probability }\ n " Ġ+ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ" euler Y :\ tn ${ face . euler Y }\ n " Ġ+ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ" euler Z :\ t ${ face . euler Z }\ n ") Ċ }