Skip to content

Update MLKit dependency + Restructure code

Latest
Compare
Choose a tag to compare
@husaynhakeem husaynhakeem released this 06 Jul 03:02
· 1 commit to master since this release
d47113d
  • Update MLKit dependency, it's no longer part of Firebase.
  • Restructure and simply code. Unnecessary classes were removed, and FaceBoundsOverlay was simplified so that it renders any boxes it receives. The heavy-lifting (which includes correcting the face bounds, scaling, and mirroring them) was moved to FaceDetector.
  • Improve face detection. The previous face bounds correction was not entirely correct, which was resulting in the face bounds not being rendered exactly around the face (there were often offsets).