IDLive Face new C++ API 1.47.0
Loading...
Searching...
No Matches
Public Attributes | List of all members
idliveface::CustomValidationParameters Struct Reference

Overrides for the validation parameters. More...

#include <idliveface/base_types.h>

Public Attributes

Optional< int32_t > min_face_size
 Minimal width and height of the face box, in pixels.
 
Optional< int32_t > min_face_padding
 Minimal distance from the image's border to the face box, in pixels.
 
Optional< int32_t > min_pupillary_distance
 Minimal distance between the pupils on the face, in pixels.
 
Optional< float > min_face_size_relative
 Minimal relative face's width and height.
 
Optional< float > detectable_face_size_relative
 Minimal relative face's width and height for the face to be detected.
 
Optional< float > max_yaw
 Max yaw angle of the head.
 
Optional< float > max_pitch
 Max pitch angle of the head.
 
Optional< float > max_roll
 Max roll angle of the head.
 

Detailed Description

Overrides for the validation parameters.

Affects the face detection and validation process. More relaxed values can decrease the number of images being marked as invalid, but the accuracy will degrade for such images.

Member Data Documentation

◆ detectable_face_size_relative

Optional<float> idliveface::CustomValidationParameters::detectable_face_size_relative

Minimal relative face's width and height for the face to be detected.

Acts similar to the min_face_size_relative, but if the face box is too small, the face is just being skipped. It is used to filter the small faces in the background.

◆ min_face_size_relative

Optional<float> idliveface::CustomValidationParameters::min_face_size_relative

Minimal relative face's width and height.

It's a ratio of the face's width and height to the image's width and height. Represented as a value between 0 and 1. For example, if the value is 0.25, each side of the face box should be at least a quarter of the image's corresponding side.