Skip to content
Snippets Groups Projects
Commit fb5aa333 authored by Tiago de Freitas Pereira's avatar Tiago de Freitas Pereira
Browse files

Merge branch '11-nightly-builds-are-failing' into 'master'

Resolve "Nightly builds are failing"

Closes #11

See merge request !16
parents 6111b094 5d9a5eec
No related branches found
No related tags found
1 merge request!16Resolve "Nightly builds are failing"
Pipeline #
No preview for this file type
No preview for this file type
......@@ -122,13 +122,13 @@ def test_face_detect():
# execute face detector
reference = pkg_resources.resource_filename('bob.bio.face.test', 'data/detected.hdf5')
_compare(cropper(image, annotation), reference, cropper.write_data, cropper.read_data)
assert abs(cropper.quality - 33.1136586) < 1e-5
assert abs(cropper.quality - 39.209601948013685) < 1e-5
# execute face detector with flandmark
cropper = bob.bio.face.preprocessor.FaceDetect(face_cropper='face-crop-eyes', use_flandmark=True)
reference = pkg_resources.resource_filename('bob.bio.face.test', 'data/flandmark.hdf5')
_compare(cropper(image, annotation), reference, cropper.write_data, cropper.read_data)
assert abs(cropper.quality - 33.1136586) < 1e-5
assert abs(cropper.quality - 39.209601948013685) < 1e-5
# execute face detector with tan-triggs
cropper = bob.bio.face.preprocessor.TanTriggs(face_cropper='landmark-detect')
......
3.0.1b0
\ No newline at end of file
3.1.0b0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment