mirror of
https://github.com/serengil/deepface.git
synced 2025-06-07 12:05:22 +00:00
Update test_extract_faces.py
This commit is contained in:
parent
c5ba4a7396
commit
6a3d14cde7
@ -217,7 +217,7 @@ def test_batch_extract_faces_with_nparray(detector_backend):
|
|||||||
)
|
)
|
||||||
|
|
||||||
# Check that the batch extraction returned the expected number of face lists
|
# Check that the batch extraction returned the expected number of face lists
|
||||||
assert len(imgs_objs_batch) == 4
|
assert len(imgs_objs_batch) == len(img_paths)
|
||||||
for img_objs_batch, img_expected_num_faces in zip(imgs_objs_batch, expected_num_faces):
|
for img_objs_batch, img_expected_num_faces in zip(imgs_objs_batch, expected_num_faces):
|
||||||
assert len(img_objs_batch) == img_expected_num_faces
|
assert len(img_objs_batch) == img_expected_num_faces
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user