From fb5ed049274ca3a3434f527956fba945ccfb374f Mon Sep 17 00:00:00 2001 From: Sefik Ilkin Serengil Date: Sat, 8 Jun 2024 20:43:10 +0100 Subject: [PATCH] Update README.md spoof test with one linter --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 816118044..a5204abf5 100644 --- a/README.md +++ b/README.md @@ -316,7 +316,7 @@ face_objs = DeepFace.extract_faces( img_path="dataset/img1.jpg", anti_spoofing = True ) -assert face_objs[0]["is_real"] is True +assert all(face_obj["is_real"] is True for face_obj in face_objs) # anti spoofing test in real time analysis DeepFace.stream(