move variables

This commit is contained in:
henryruhs
2026-07-26 10:10:16 +02:00
parent 33ed68679d
commit ec4cba0947
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -158,11 +158,11 @@ def analyse_image(image_path : str) -> bool:
def analyse_video(video_path : str, trim_frame_start : int, trim_frame_end : int) -> bool:
video_fps = detect_video_fps(video_path)
frame_range = range(trim_frame_start, trim_frame_end)
video_reader = video_manager.get_reader(video_path, 'analyse_video')
video_manager.seek_video_reader(video_reader, trim_frame_start)
rate = 0.0
total = 0
counter = 0
video_reader = video_manager.get_reader(video_path, 'analyse_video')
video_manager.seek_video_reader(video_reader, trim_frame_start)
with tqdm(total = len(frame_range), desc = translator.get('analysing'), unit = 'frame', ascii = ' =', disable = state_manager.get_item('log_level') in [ 'warn', 'error' ]) as progress:
+1 -1
View File
@@ -100,7 +100,7 @@ def pre_check() -> bool:
def common_pre_check() -> bool:
content_analyser_content = inspect.getsource(content_analyser).encode()
return hash_helper.create_hash(content_analyser_content) == '5f04e67c'
return hash_helper.create_hash(content_analyser_content) == '065886fc'
def processors_pre_check() -> bool: