mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-12-19 19:06:16 +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["Cache-Control"] = "no-store"
|
||||
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(
|
||||
current_app.detected_frames_processor.get_current_frame(camera_name),
|
||||
cv2.COLOR_YUV2BGR_I420,
|
||||
|
Loading…
Reference in New Issue
Block a user