face_environment.dart 575 B

123456789101112131415
  1. class FaceEnvironment {
  2. static const VALUE_BRIGHTNESS = 40.0;
  3. static const VALUE_BLURNESS = 0.5;
  4. static const VALUE_OCCLUSION = 0.5;
  5. static const VALUE_HEAD_PITCH = 10;
  6. static const VALUE_HEAD_YAW = 10;
  7. static const VALUE_HEAD_ROLL = 10;
  8. static const VALUE_CROP_FACE_SIZE = 400;
  9. static const VALUE_MIN_FACE_SIZE = 200;
  10. static const VALUE_NOT_FACE_THRESHOLD = 0.6;
  11. static const VALUE_IS_CHECK_QUALITY = true;
  12. static const VALUE_DECODE_THREAD_NUM = 2;
  13. static const VALUE_LIVENESS_DEFAULT_RANDOM_COUNT = 3;
  14. static const VALUE_MAX_CROP_IMAGE_NUM = 1;
  15. }