mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-17 16:44:29 +03:00
Formatting
This commit is contained in:
parent
c49e27481a
commit
6455c90898
@ -133,7 +133,9 @@ class EmbeddingMaintainer(threading.Thread):
|
|||||||
|
|
||||||
# Create our own thumbnail based on the bounding box and the frame time
|
# Create our own thumbnail based on the bounding box and the frame time
|
||||||
try:
|
try:
|
||||||
yuv_frame = self.frame_manager.get(frame_name, camera_config.frame_shape_yuv)
|
yuv_frame = self.frame_manager.get(
|
||||||
|
frame_name, camera_config.frame_shape_yuv
|
||||||
|
)
|
||||||
|
|
||||||
if yuv_frame is not None:
|
if yuv_frame is not None:
|
||||||
data["thumbnail"] = self._create_thumbnail(yuv_frame, data["box"])
|
data["thumbnail"] = self._create_thumbnail(yuv_frame, data["box"])
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user