mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-03-22 02:18:32 +01:00
Face rec: only consider webp files
This commit is contained in:
@@ -484,7 +484,7 @@ class FaceRealTimeProcessor(RealTimeProcessorApi):
|
||||
shutil.move(current_file, new_file)
|
||||
|
||||
files = sorted(
|
||||
os.listdir(folder),
|
||||
filter(lambda f: (f.endswith(".webp")), os.listdir(folder)),
|
||||
key=lambda f: os.path.getctime(os.path.join(folder, f)),
|
||||
reverse=True,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user