sohotcall

Android FaceDetector

Jul 13th, 2019
178
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. android.media.FaceDetector
  2. FaceDetector(int width, int height, int maxFaces) // width must be even
  3. int findFaces(Bitmap bitmap, FaceDetector.Face[] faces)
  4.  
  5. android.media.FaceDetector.Face
  6. public static final float CONFIDENCE_THRESHOLD
  7. public static final int EULER_X
  8. public static final int EULER_Y
  9. public static final int EULER_Z
  10. float confidence()
  11. float eyesDistance()
  12. void getMidPoint(PointF point)
  13. pose(int euler)
  14.  
  15. android.graphics.PointF
  16. PointF()
  17. PointF(float x, float y)
  18. public float x
  19. public float y
  20.  
  21. android.graphics.Bitmap
  22. Bitmap copy(Bitmap.Config config, boolean isMutable)
  23. static Bitmap createBitmap(Bitmap source, int x, int y, int width, int height)
RAW Paste Data