stream video

This commit is contained in:
Sefik Ilkin Serengil 2021-03-21 18:38:06 +03:00
parent dabecb8180
commit 83a2be7a5d
2 changed files with 137 additions and 132 deletions

2
.gitignore vendored
View File

@ -15,3 +15,5 @@ deepface/basemodels/__pycache__/*
deepface/extendedmodels/__pycache__/*
deepface/subsidiarymodels/__pycache__/*
tests/dataset/*.pkl
.DS_Store
deepface/.DS_Store

View File

@ -121,6 +121,9 @@ def analysis(db_path, model_name, distance_metric, enable_face_analysis = True
while(True):
ret, img = cap.read()
if img is None:
break
#cv2.namedWindow('img', cv2.WINDOW_FREERATIO)
#cv2.setWindowProperty('img', cv2.WND_PROP_FULLSCREEN, cv2.WINDOW_FULLSCREEN)