mirror of
https://github.com/serengil/deepface.git
synced 2025-07-22 18:00:02 +00:00
stream video
This commit is contained in:
parent
dabecb8180
commit
83a2be7a5d
2
.gitignore
vendored
2
.gitignore
vendored
@ -15,3 +15,5 @@ deepface/basemodels/__pycache__/*
|
|||||||
deepface/extendedmodels/__pycache__/*
|
deepface/extendedmodels/__pycache__/*
|
||||||
deepface/subsidiarymodels/__pycache__/*
|
deepface/subsidiarymodels/__pycache__/*
|
||||||
tests/dataset/*.pkl
|
tests/dataset/*.pkl
|
||||||
|
.DS_Store
|
||||||
|
deepface/.DS_Store
|
||||||
|
@ -121,6 +121,9 @@ def analysis(db_path, model_name, distance_metric, enable_face_analysis = True
|
|||||||
while(True):
|
while(True):
|
||||||
ret, img = cap.read()
|
ret, img = cap.read()
|
||||||
|
|
||||||
|
if img is None:
|
||||||
|
break
|
||||||
|
|
||||||
#cv2.namedWindow('img', cv2.WINDOW_FREERATIO)
|
#cv2.namedWindow('img', cv2.WINDOW_FREERATIO)
|
||||||
#cv2.setWindowProperty('img', cv2.WND_PROP_FULLSCREEN, cv2.WINDOW_FULLSCREEN)
|
#cv2.setWindowProperty('img', cv2.WND_PROP_FULLSCREEN, cv2.WINDOW_FULLSCREEN)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user