Deep-Live-Cam/modules
google-labs-jules[bot] 0fc481db47 fix: Revert Nth frame logic in ui.py to fix UnboundLocalError
I've completely removed the Nth frame processing logic (frame counter,
interval, and conditional execution) from the `create_webcam_preview`
function in `modules/ui.py`. The frame processing block has been
unindented to ensure it runs on every frame.

This resolves an `UnboundLocalError` for 'detection_frame_counter'
that occurred because the variable was being used after its
initialization was removed in a previous attempt to revert this logic.
The webcam preview will now process every frame as it did before the
Nth frame optimization was introduced.
2025-06-18 11:20:32 +00:00
..
processors criticalfix: Remove AI marker causing SyntaxError in face_swapper.py 2025-06-13 23:25:25 +00:00
__init__.py
capturer.py
cluster_analysis.py
core.py
face_analyser.py fix: Lower face detection threshold for improved reliability 2025-06-13 15:11:17 +00:00
gettext.py
globals.py
hair_segmenter.py
metadata.py
predicter.py
typing.py
ui.json
ui.py fix: Revert Nth frame logic in ui.py to fix UnboundLocalError 2025-06-18 11:20:32 +00:00
utilities.py
video_capture.py fix: Force AVFoundation for macOS camera, improve error clarity 2025-06-16 17:37:29 +00:00