Commit 9a6771be authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files

Use numpy instead of np

parent 627eab0e
......@@ -3,7 +3,7 @@ import bob.io.base
import bob.io.base.test_utils
import bob.io.image
import bob.ip.facedetect
import numpy as np
import numpy
face_image = bob.io.base.load(bob.io.base.test_utils.datafile(
'testimage.jpg', 'bob.ip.facedetect'))
......@@ -14,4 +14,4 @@ def test_bob_ip_facedetect():
annot = BobIpFacedetect()(face_image)
assert annot['topleft'] == (110, 82), annot
assert annot['bottomright'] == (334, 268), annot
assert np.allclose(annot['quality'], 39.209601948013685), annot
assert numpy.allclose(annot['quality'], 39.209601948013685), annot
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment