Lines Matching refs:AssertionError
42 raise AssertionError(f'Face top > bottom! t: {rect_t}, b: {rect_b}')
44 raise AssertionError(f'Face left > right! l: {rect_l}, r: {rect_r}')
47 raise AssertionError(f'Face l: {rect_l} outside of active W: 0,{aa_w}')
49 raise AssertionError(f'Face r: {rect_r} outside of active W: 0,{aa_w}')
51 raise AssertionError(f'Face t: {rect_t} outside active H: 0,{aa_h}')
53 raise AssertionError(f'Face b: {rect_b} outside active H: 0,{aa_h}')
64 raise AssertionError(f'Face l: {l}, r: {r}, left eye x: {l_eye_x}')
66 raise AssertionError(f'Face t: {t}, b: {b}, left eye y: {l_eye_y}')
68 raise AssertionError(f'Face l: {l}, r: {r}, right eye x: {r_eye_x}')
70 raise AssertionError(f'Face t: {t}, b: {b}, right eye y: {r_eye_y}')
72 raise AssertionError(f'Face l: {l}, r: {r}, mouth x: {mouth_x}')
74 raise AssertionError(f'Face t: {t}, b: {b}, mouth y: {mouth_y}')
117 raise AssertionError(f'fd_mode undefined: {fd_mode}')
125 raise AssertionError('Metadata does not match request! '
132 raise AssertionError('Faces found in OFF mode.')
143 raise AssertionError(f'No face detected in mode {fd_mode}.')
154 raise AssertionError(f'Face score not valid! score: {score}.')
164 raise AssertionError('Eyes not supported in FD_MODE_SIMPLE.')
166 raise AssertionError('Mouth not supported in FD_MODE_SIMPLE.')
168 raise AssertionError('face_id should be -1 in FD_MODE_SIMPLE.')
172 raise AssertionError('Same face detected more than 1x.')