I need a library that satisfies ALL of these requirements:

  • Gives the size of all faces found in an image (or at least the biggest face)
  • Runs on Android
  • Open source
  • Does not rely on Google Play Services
  • Works offline
  • Under 1 MB

The size of the face can be calculated in different ways, any way is fine as long as it is consistent. For instance, the following uses the distance between the eyes, in pixels:

enter image description here
https://commons.wikimedia.org/wiki/File:Selfie-Sandler-Die-geputzten-Schuhe.jpg Karl-Theater Gießhübl CC-BY-SA

  • If my understanding is correct, FaceDetector relies on Play Services, and thus is not a correct answer. – Nicolas Raoul Nov 27 '18 at 11:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.