Skip to content

Commit fb5ed04

Browse files
authored
Update README.md
spoof test with one linter
1 parent 0184f97 commit fb5ed04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ face_objs = DeepFace.extract_faces(
316316
img_path="dataset/img1.jpg",
317317
anti_spoofing = True
318318
)
319-
assert face_objs[0]["is_real"] is True
319+
assert all(face_obj["is_real"] is True for face_obj in face_objs)
320320

321321
# anti spoofing test in real time analysis
322322
DeepFace.stream(

0 commit comments

Comments
 (0)