* Ensure config editor recalculates layout on error

* ensure empty lists are returned when lpr recognition model fails

* Add docs section for session_length

* clarify

Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>

* clarify

Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>

* Catch missing file

* Improve graph axis colors

* Ensure playback rate controls are portaled to the video container in history view

On larger tablets in landscape view, the playback rate dropdown disappeared underneath the bottom bar. This small change ensures we use the correct container on the DropdownMenuContent so that the div is portaled correctly. The VideoControls are also used in motion review which does not pass in a container ref, so we can just fall back to the existing controlsContainer ref when it's undefined.

---------

Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com>
This commit is contained in:
Josh Hawkins
2025-06-04 20:48:26 -05:00
committed by GitHub
parent dba9206898
commit ed43df9c13
7 changed files with 63 additions and 13 deletions

View File

@@ -6,6 +6,7 @@ import json
import logging
import os
import shutil
from pathlib import Path
from typing import Any, Optional
import cv2
@@ -538,4 +539,4 @@ class FaceRealTimeProcessor(RealTimeProcessorApi):
# delete oldest face image if maximum is reached
if len(files) > self.config.face_recognition.save_attempts:
os.unlink(os.path.join(folder, files[-1]))
Path(os.path.join(folder, files[-1])).unlink(missing_ok=True)