mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
fix logo used for birdseye
This commit is contained in:
parent
c492b30adb
commit
5669f4c161
BIN
frigate/birdseye.png
Normal file
BIN
frigate/birdseye.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.3 KiB |
@ -104,7 +104,7 @@ class BirdsEyeFrameManager:
|
|||||||
self.blank_frame[0 : self.frame_shape[0], 0 : self.frame_shape[1]] = 16
|
self.blank_frame[0 : self.frame_shape[0], 0 : self.frame_shape[1]] = 16
|
||||||
|
|
||||||
# find and copy the logo on the blank frame
|
# find and copy the logo on the blank frame
|
||||||
logo_files = glob.glob("/opt/frigate/web/apple-touch-icon.*.png")
|
logo_files = glob.glob("/opt/frigate/frigate/birdseye.png")
|
||||||
frigate_logo = None
|
frigate_logo = None
|
||||||
if len(logo_files) > 0:
|
if len(logo_files) > 0:
|
||||||
frigate_logo = cv2.imread(logo_files[0], cv2.IMREAD_UNCHANGED)
|
frigate_logo = cv2.imread(logo_files[0], cv2.IMREAD_UNCHANGED)
|
||||||
|
Loading…
Reference in New Issue
Block a user