mirror of
https://github.com/serengil/deepface.git
synced 2025-06-07 20:15:21 +00:00
Update README.md
spoof test with one linter
This commit is contained in:
parent
0184f9779b
commit
fb5ed04927
@ -316,7 +316,7 @@ face_objs = DeepFace.extract_faces(
|
|||||||
img_path="dataset/img1.jpg",
|
img_path="dataset/img1.jpg",
|
||||||
anti_spoofing = True
|
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
|
# anti spoofing test in real time analysis
|
||||||
DeepFace.stream(
|
DeepFace.stream(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user