mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-06-04 01:16:52 +02:00
get the thumbnail instead of the full frame
This commit is contained in:
parent
d32fed2c01
commit
d94f81969b
@ -102,7 +102,7 @@ def event_snapshot(id):
|
|||||||
if id in camera_state.tracked_objects:
|
if id in camera_state.tracked_objects:
|
||||||
tracked_obj = camera_state.tracked_objects.get(id)
|
tracked_obj = camera_state.tracked_objects.get(id)
|
||||||
if not tracked_obj is None:
|
if not tracked_obj is None:
|
||||||
thumbnail_bytes = tracked_obj.get_jpg_bytes()
|
thumbnail_bytes = tracked_obj.get_thumbnail()
|
||||||
except:
|
except:
|
||||||
return "Event not found", 404
|
return "Event not found", 404
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user