Merge pull request #1475 from catherinetcai/streaming-bugfix

This commit is contained in:
Sefik Ilkin Serengil 2025-05-17 22:07:21 +01:00 committed by GitHub
commit df1b6ab6fe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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: