Spaces:
Runtime error
Runtime error
Commit
·
f97c524
1
Parent(s):
c8aa6df
Update app.py
Browse files
app.py
CHANGED
@@ -56,7 +56,7 @@ def video_processing(video):
|
|
56 |
except Exception as e:
|
57 |
print(f"An error occurred while processing the video: {e}")
|
58 |
gaze_percentage = '000'
|
59 |
-
|
60 |
# print(f'focus perfectage = {on_camera/total*100}')
|
61 |
# Release the video capture object and close all windows
|
62 |
video_capture.release()
|
|
|
56 |
except Exception as e:
|
57 |
print(f"An error occurred while processing the video: {e}")
|
58 |
gaze_percentage = '000'
|
59 |
+
print(f'Total = {total},on_camera = {on_camera},off_camera = {off_camera}')
|
60 |
# print(f'focus perfectage = {on_camera/total*100}')
|
61 |
# Release the video capture object and close all windows
|
62 |
video_capture.release()
|