Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 879 Bytes

README.md

File metadata and controls

29 lines (23 loc) · 879 Bytes

ARCore Try-on Makeup with Shaders

Simple usage:

<fragment android:name="blog.creativetech.arfaces.arface.AugmentedFaceFragment"
       android:id="@+id/face_view"
       android:layout_width="match_parent"
       android:layout_height="match_parent"
       android:layout_gravity="top" />

Use AugmentedFaceFragment in your main_activity layout

Implement interface in MainActivity

class MainActivity : AppCompatActivity(), AugmentedFaceListener {
   override fun onFaceAdded(face: AugmentedFaceNode) {}

   override fun onFaceUpdate(face: AugmentedFaceNode) {}
}

Check out the new and updated repository -> arfaces_labs