mirror of
https://github.com/serengil/deepface.git
synced 2025-06-04 02:20:06 +00:00
Merge pull request #1475 from catherinetcai/streaming-bugfix
This commit is contained in:
commit
df1b6ab6fe
@ -110,11 +110,11 @@ def analysis(
|
|||||||
|
|
||||||
while True:
|
while True:
|
||||||
has_frame, img = cap.read()
|
has_frame, img = cap.read()
|
||||||
raw_img = img.copy()
|
|
||||||
|
|
||||||
if not has_frame:
|
if not has_frame:
|
||||||
break
|
break
|
||||||
|
|
||||||
|
raw_img = img.copy()
|
||||||
|
|
||||||
faces_coordinates = []
|
faces_coordinates = []
|
||||||
|
|
||||||
if not freeze:
|
if not freeze:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user