mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-01-07 00:06:57 +01:00
Fix birdseye snapshot (#5171)
This commit is contained in:
parent
d22e25064b
commit
924f946e46
@ -870,7 +870,7 @@ def latest_frame(camera_name):
|
|||||||
response.headers["Content-Type"] = "image/jpeg"
|
response.headers["Content-Type"] = "image/jpeg"
|
||||||
response.headers["Cache-Control"] = "no-store"
|
response.headers["Cache-Control"] = "no-store"
|
||||||
return response
|
return response
|
||||||
elif camera_name == "birdseye" and current_app.frigate_config.restream.birdseye:
|
elif camera_name == "birdseye" and current_app.frigate_config.birdseye.restream:
|
||||||
frame = cv2.cvtColor(
|
frame = cv2.cvtColor(
|
||||||
current_app.detected_frames_processor.get_current_frame(camera_name),
|
current_app.detected_frames_processor.get_current_frame(camera_name),
|
||||||
cv2.COLOR_YUV2BGR_I420,
|
cv2.COLOR_YUV2BGR_I420,
|
||||||
|
Loading…
Reference in New Issue
Block a user