Skip to content

Commit 90ab521

Browse files
committed
Merge branch 'dev' of github.com:blakeblackshear/frigate into testing
2 parents 10162a6 + 4339f26 commit 90ab521

File tree

670 files changed

+25272
-3303
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

670 files changed

+25272
-3303
lines changed

.cspell/frigate-dictionary.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ imdecode
109109
imencode
110110
imread
111111
imwrite
112+
inpoint
112113
interp
113114
iostat
114115
iotop
@@ -264,6 +265,7 @@ tensorrt
264265
tflite
265266
thresholded
266267
timelapse
268+
titlecase
267269
tmpfs
268270
tobytes
269271
toggleable

README_CN.md

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,9 @@
2424
- 通过RTSP重新流传输以减少摄像头的连接数
2525
- 支持WebRTC和MSE,实现低延迟的实时观看
2626

27-
## 文档(英文)
27+
## 社区中文翻译文档
2828

29-
你可以在这里查看文档 https://docs.frigate.video
30-
31-
文档还暂时没有提供翻译,将会在未来提供。
29+
你可以在这里查看文档 https://docs.frigate-cn.video
3230

3331
## 赞助
3432

@@ -41,7 +39,7 @@
4139
<img width="800" alt="实时监控面板" src="https://github.com/blakeblackshear/frigate/assets/569905/5e713cb9-9db5-41dc-947a-6937c3bc376e">
4240
</div>
4341

44-
### 简单的审查工作流程
42+
### 简单的核查工作流程
4543
<div>
4644
<img width="800" alt="简单的审查工作流程" src="https://github.com/blakeblackshear/frigate/assets/569905/6fed96e8-3b18-40e5-9ddc-31e6f3c9f2ff">
4745
</div>
@@ -60,5 +58,13 @@
6058
## 翻译
6159
我们使用 [Weblate](https://hosted.weblate.org/projects/frigate-nvr/) 平台提供翻译支持,欢迎参与进来一起完善。
6260

63-
## 中文讨论社区
64-
欢迎加入非官方中文讨论QQ群:1043861059
61+
62+
## 非官方中文讨论社区
63+
欢迎加入中文讨论QQ群:[1043861059](https://qm.qq.com/q/7vQKsTmSz)
64+
65+
Bilibili:https://space.bilibili.com/3546894915602564
66+
67+
68+
## 中文社区赞助商
69+
[![EdgeOne](https://edgeone.ai/media/34fe3a45-492d-4ea4-ae5d-ea1087ca7b4b.png)](https://edgeone.ai/zh?from=github)
70+
本项目 CDN 加速及安全防护由 Tencent EdgeOne 赞助

docker/hailo8l/user_installation.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
sudo apt-get update
55
sudo apt-get install -y build-essential cmake git wget
66

7-
hailo_version="4.20.1"
7+
hailo_version="4.21.0"
88
arch=$(uname -m)
99

1010
if [[ $arch == "x86_64" ]]; then

docker/main/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ ENTRYPOINT ["/init"]
260260
CMD []
261261

262262
HEALTHCHECK --start-period=300s --start-interval=5s --interval=15s --timeout=5s --retries=3 \
263-
CMD curl --fail --silent --show-error http://127.0.0.1:5000/api/version || exit 1
263+
CMD test -f /dev/shm/.frigate-is-stopping && exit 0; curl --fail --silent --show-error http://127.0.0.1:5000/api/version || exit 1
264264

265265
# Frigate deps with Node.js and NPM for devcontainer
266266
FROM deps AS devcontainer

docker/main/install_hailort.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
set -euxo pipefail
44

5-
hailo_version="4.20.1"
5+
hailo_version="4.21.0"
66

77
if [[ "${TARGETARCH}" == "amd64" ]]; then
88
arch="x86_64"

docker/main/install_s6_overlay.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
set -euxo pipefail
44

5-
s6_version="3.1.5.0"
5+
s6_version="3.2.1.0"
66

77
if [[ "${TARGETARCH}" == "amd64" ]]; then
88
s6_arch="x86_64"

docker/main/requirements-wheels.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ norfair == 2.2.*
3131
setproctitle == 1.3.*
3232
ws4py == 0.5.*
3333
unidecode == 1.3.*
34+
titlecase == 2.4.*
3435
# Image Manipulation
3536
numpy == 1.26.*
3637
opencv-python-headless == 4.11.0.*

docker/main/rootfs/etc/s6-overlay/s6-rc.d/frigate/run

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ set -o errexit -o nounset -o pipefail
66

77
# opt out of openvino telemetry
88
if [ -e /usr/local/bin/opt_in_out ]; then
9-
/usr/local/bin/opt_in_out --opt_out
9+
/usr/local/bin/opt_in_out --opt_out > /dev/null 2>&1
1010
fi
1111

1212
# Logs should be sent to stdout so that s6 can collect them

docker/main/rootfs/etc/s6-overlay/s6-rc.d/prepare/run

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,5 +138,9 @@ function migrate_db_from_media_to_config() {
138138
fi
139139
}
140140

141+
# remove leftover from last run, not normally needed, but just in case
142+
# used by the docker healthcheck
143+
rm -f /dev/shm/.frigate-is-stopping
144+
141145
migrate_addon_config_dir
142146
migrate_db_from_media_to_config

docker/main/rootfs/usr/local/ffmpeg/get_ffmpeg_path.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import json
22
import sys
3+
from typing import Any
34

45
from ruamel.yaml import YAML
56

@@ -21,11 +22,11 @@
2122
raw_config = f.read()
2223

2324
if config_file.endswith((".yaml", ".yml")):
24-
config: dict[str, any] = yaml.load(raw_config)
25+
config: dict[str, Any] = yaml.load(raw_config)
2526
elif config_file.endswith(".json"):
26-
config: dict[str, any] = json.loads(raw_config)
27+
config: dict[str, Any] = json.loads(raw_config)
2728
except FileNotFoundError:
28-
config: dict[str, any] = {}
29+
config: dict[str, Any] = {}
2930

3031
path = config.get("ffmpeg", {}).get("path", "default")
3132
if path == "default":

0 commit comments

Comments
 (0)