mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-09-29 11:26:49 +03:00
Compare commits
6
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
93f8e21177 | ||
|
|
af0ba19196 | ||
|
|
52f50a7396 | ||
|
+11 |
285dd5a461 | ||
|
|
3d08bbe520 | ||
|
|
0ca5cbbb63 |
@@ -5,3 +5,4 @@
|
||||
/docker/rockchip/ @MarcA711
|
||||
/docker/rocm/ @harakas
|
||||
/docker/hailo8l/ @spanner3003
|
||||
/docker/deepx/ @sixfab
|
||||
|
||||
Executable
+131
@@ -0,0 +1,131 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Installs the DEEPX NPU kernel driver and the DX-RT runtime on the Docker host,
|
||||
# then enables the vendor's dxrt.service. A container cannot load kernel
|
||||
# modules, so this runs outside the image; the driver creates the /dev/dxrt*
|
||||
# nodes and the daemon multiplexes the NPU across host and container.
|
||||
#
|
||||
# Driver, runtime and firmware versions must agree or inference hangs instead
|
||||
# of failing at startup. The set this script installs is pinned in
|
||||
# driver_version, runtime_version and firmware_version below; move them
|
||||
# together, never one at a time.
|
||||
#
|
||||
# DEEPX NPU support in Frigate is maintained by Sixfab (https://sixfab.com).
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
driver_version="v2.6.0"
|
||||
# the commit the tag resolves to, since DEEPX signs neither tags nor releases
|
||||
# and this is compiled and installed as root. Update both together
|
||||
driver_commit="7074748e7104f470b02f517583abba652b3f05fa"
|
||||
firmware_version="v2.7.4"
|
||||
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y git build-essential "linux-headers-$(uname -r)" pciutils wget
|
||||
|
||||
if ! lspci -d 1ff4: | grep -q .; then
|
||||
echo "No DEEPX device found on the PCIe bus (lspci -d 1ff4:)."
|
||||
echo "Check that the module is seated correctly before continuing."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# fetch the pinned commit rather than cloning the tag, so a retag cannot swap
|
||||
# in different source. The build directory is reused so a second run after a
|
||||
# failure does not stop on the directory already being there
|
||||
mkdir -p dx_rt_npu_linux_driver
|
||||
cd dx_rt_npu_linux_driver
|
||||
git init -q
|
||||
git remote get-url origin > /dev/null 2>&1 ||
|
||||
git remote add origin https://github.com/DEEPX-AI/dx_rt_npu_linux_driver.git
|
||||
git fetch --depth 1 origin "${driver_commit}"
|
||||
git checkout -q FETCH_HEAD
|
||||
|
||||
fetched_commit=$(git rev-parse HEAD)
|
||||
if [[ "${fetched_commit}" != "${driver_commit}" ]]; then
|
||||
echo "Fetched commit ${fetched_commit} does not match pinned driver_commit ${driver_commit}."
|
||||
echo "Refusing to build unverified driver source."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
cd modules
|
||||
|
||||
sudo ./build.sh -c install --reload
|
||||
|
||||
sudo depmod -A
|
||||
|
||||
# dx_dma is the PCIe transport, dxrt_driver the NPU driver on top of it
|
||||
for module in dx_dma dxrt_driver; do
|
||||
if ! sudo modprobe "${module}"; then
|
||||
echo "Unable to load the ${module} kernel module, common reasons are:"
|
||||
echo "- Secure Boot is enabled and is rejecting the unsigned module."
|
||||
echo "- The running kernel does not match the installed linux-headers."
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
|
||||
if ! compgen -G "/dev/dxrt*" > /dev/null; then
|
||||
echo "Modules loaded but no /dev/dxrt* device node appeared."
|
||||
echo "Run ./sanity_check.sh from the driver repo to diagnose."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
runtime_version="v3.4.0"
|
||||
declare -A runtime_sha256=(
|
||||
[amd64]="736cfef009ce9e974ab1ab610d867239d19d72a426a53e367ddcbd53297b6e20"
|
||||
[arm64]="eb6107f5f02f2ad76ae89f414e8b5f346f34fbc6f0888236136853a26be6f6a0"
|
||||
)
|
||||
|
||||
runtime_release="${runtime_version#v}"
|
||||
deb_arch=$(dpkg --print-architecture)
|
||||
deb_file="/tmp/libdxrt-bin_${runtime_release}_${deb_arch}.deb"
|
||||
|
||||
wget -qO "${deb_file}" \
|
||||
"https://raw.githubusercontent.com/DEEPX-AI/dx_rt/${runtime_version}/release/${runtime_release}/libdxrt-bin_${runtime_release}_${deb_arch}.deb"
|
||||
|
||||
expected_sha256="${runtime_sha256[${deb_arch}]:-}"
|
||||
if [[ -z "${expected_sha256}" ]]; then
|
||||
echo "No pinned SHA-256 for architecture ${deb_arch}; refusing to install."
|
||||
exit 1
|
||||
fi
|
||||
if [[ "$(sha256sum "${deb_file}" | cut -d' ' -f1)" != "${expected_sha256}" ]]; then
|
||||
echo "SHA-256 mismatch for ${deb_file}; refusing to install."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
sudo dpkg -i "${deb_file}"
|
||||
sudo ldconfig
|
||||
rm -f "${deb_file}"
|
||||
|
||||
sudo cp /usr/share/libdxrt-bin/service/dxrt.service /etc/systemd/system/
|
||||
|
||||
# With an endpoint set, dxrtd binds that path only, so the socket goes in a
|
||||
# directory Frigate can mount (kept across restarts so the mount stays valid)
|
||||
# and a symlink at the default /tmp path keeps host tools that do not set the
|
||||
# variable working through their own fallback.
|
||||
sudo mkdir -p /etc/systemd/system/dxrt.service.d
|
||||
sudo tee /etc/systemd/system/dxrt.service.d/frigate.conf > /dev/null <<'UNIT'
|
||||
[Service]
|
||||
RuntimeDirectory=dxrt
|
||||
RuntimeDirectoryMode=0755
|
||||
RuntimeDirectoryPreserve=yes
|
||||
Environment=DXRT_DYNAMIC_IPC_ENDPOINT=/run/dxrt/dxrt_dynamic_ipc.sock
|
||||
ExecStartPost=/bin/ln -sfn /run/dxrt/dxrt_dynamic_ipc.sock /tmp/dxrt_dynamic_ipc.sock
|
||||
UNIT
|
||||
|
||||
sudo systemctl daemon-reload
|
||||
sudo systemctl enable dxrt.service
|
||||
sudo systemctl restart dxrt.service
|
||||
|
||||
if ! sudo systemctl is-active --quiet dxrt.service; then
|
||||
echo "dxrt.service did not start. Check: sudo journalctl -u dxrt.service"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "DEEPX driver and runtime installation complete."
|
||||
echo "Driver version: $(modinfo -F version dxrt_driver) (expected ${driver_version#v})"
|
||||
echo "Runtime version: ${runtime_release}"
|
||||
echo "Device node(s): $(echo /dev/dxrt*)"
|
||||
echo
|
||||
echo "This driver expects NPU firmware ${firmware_version}. Check it with:"
|
||||
echo " dxrt-cli --status"
|
||||
echo "Update the module if it does not match before starting Frigate."
|
||||
@@ -37,6 +37,7 @@ device_globs=(
|
||||
"/dev/nvmap"
|
||||
"/dev/nvidia*"
|
||||
"/dev/memx*"
|
||||
"/dev/dxrt*"
|
||||
)
|
||||
|
||||
IFS=',' read -ra extra_globs <<< "${DEVICE_ACL_PATHS:-}"
|
||||
|
||||
@@ -12,6 +12,6 @@ nvidia-cusolver-cu12==11.7.3.90; platform_machine == 'x86_64'
|
||||
nvidia-cusparse-cu12==12.5.8.93; platform_machine == 'x86_64'
|
||||
nvidia-nccl-cu12==2.26.2.post1; platform_machine == 'x86_64'
|
||||
nvidia-nvjitlink-cu12==12.8.93; platform_machine == 'x86_64'
|
||||
onnx==1.16.*; platform_machine == 'x86_64'
|
||||
onnx==1.23.*; platform_machine == 'x86_64'
|
||||
onnxruntime-gpu==1.24.*; platform_machine == 'x86_64'
|
||||
protobuf==3.20.3; platform_machine == 'x86_64'
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
onnx == 1.14.0; platform_machine == 'aarch64'
|
||||
onnx == 1.23.0; platform_machine == 'aarch64'
|
||||
protobuf == 3.20.3; platform_machine == 'aarch64'
|
||||
|
||||
@@ -967,6 +967,65 @@ memryx:
|
||||
# The .zip file must contain:
|
||||
# ├── ssdlite_mobilenet.dfp (a file ending with .dfp)
|
||||
# └── ssdlite_mobilenet_post.onnx (optional; only if the model includes a cropped post-processing network)
|
||||
deepx:
|
||||
title: DEEPX NPU
|
||||
models:
|
||||
- key: yolo
|
||||
label: YOLO
|
||||
recommended: true
|
||||
download: No model is bundled with Frigate. Download a pre-compiled YOLO `.dxnn` model from the [DEEPX ModelZoo](https://developer.deepx.ai/modelzoo) or compile your own with DX-COM, then bind-mount it into the container and point the model's `path` at it. The recommended model is `yolox-s_640x640_ppu.dxnn`. Its Post-Processing Unit (PPU) compile moves candidate selection onto the NPU, which makes it the fastest ModelZoo model measured through Frigate (about 13 ms on a DX-M1). The output layout is read from the compiled model, so anchor-based, anchor-free, NMS-in-head and PPU models (anchor-based or anchor-free) all need no extra configuration; prefer a `PPU` variant whenever the ModelZoo offers one. PPU models must be compiled with DX-COM 2.4.0 or later, which writes the head layout Frigate reads into the file.
|
||||
ui: |-
|
||||
Navigate to **Settings > System > Detection models** and select **DEEPX NPU** from the **Hardware** dropdown. Then, on the same model, open the **Custom Model** tab and configure:
|
||||
|
||||
| Field | Value |
|
||||
| ---------------------------------------- | ---------------------------------------------------- |
|
||||
| **Custom object detector model path** | `/config/model_cache/deepx/yolox-s_640x640_ppu.dxnn` |
|
||||
| **Label map for custom object detector** | `/labelmap/coco-80.txt` |
|
||||
| **Object detection model input width** | `640` |
|
||||
| **Object detection model input height** | `640` |
|
||||
| **Model Input Pixel Color Format** | `rgb` (Frigate's default value) |
|
||||
| **Model Input Tensor Shape** | `nhwc` (Frigate's default value) |
|
||||
| **Model Input D Type** | `int` (Frigate's default value) |
|
||||
| **Object Detection Model Type** | `yolo-generic` |
|
||||
|
||||
Quantization is baked into the compiled model, so no normalization is applied on the host and the input defaults do not need to be overridden.
|
||||
yaml: |-
|
||||
models:
|
||||
- devices:
|
||||
- deepx:PCIe:0
|
||||
path: /config/model_cache/deepx/yolox-s_640x640_ppu.dxnn
|
||||
labelmap_path: /labelmap/coco-80.txt
|
||||
model_type: yolo-generic
|
||||
width: 640
|
||||
height: 640
|
||||
- key: yolox
|
||||
label: YOLOX
|
||||
recommended: false
|
||||
download: No model is bundled with Frigate. Download a pre-compiled YOLOX `.dxnn` model from the [DEEPX ModelZoo](https://developer.deepx.ai/modelzoo), then bind-mount it into the container and point the model's `path` at it. The `_ppu` variant is faster and also works with the `yolo-generic` model type; the plain export needs `yolox` so its raw head is decoded.
|
||||
ui: |-
|
||||
Navigate to **Settings > System > Detection models** and select **DEEPX NPU** from the **Hardware** dropdown. Then, on the same model, open the **Custom Model** tab and configure:
|
||||
|
||||
| Field | Value |
|
||||
| ---------------------------------------- | ---------------------------------------- |
|
||||
| **Custom object detector model path** | `/config/model_cache/deepx/yolox-s_640x640.dxnn`|
|
||||
| **Label map for custom object detector** | `/labelmap/coco-80.txt` |
|
||||
| **Object detection model input width** | `640` |
|
||||
| **Object detection model input height** | `640` |
|
||||
| **Model Input Pixel Color Format** | `rgb` (Frigate's default value) |
|
||||
| **Model Input Tensor Shape** | `nhwc` (Frigate's default value) |
|
||||
| **Model Input D Type** | `int` (Frigate's default value) |
|
||||
| **Object Detection Model Type** | `yolox` |
|
||||
|
||||
The width and height must match the resolution the `.dxnn` file was compiled for.
|
||||
yaml: |-
|
||||
models:
|
||||
- devices:
|
||||
- deepx:PCIe:0
|
||||
path: /config/model_cache/deepx/yolox-s_640x640.dxnn
|
||||
labelmap_path: /labelmap/coco-80.txt
|
||||
model_type: yolox
|
||||
width: 640
|
||||
height: 640
|
||||
tensorrt:
|
||||
title: TensorRT
|
||||
models:
|
||||
|
||||
@@ -24,6 +24,7 @@ Frigate supports multiple different detectors that work on different types of ha
|
||||
- [Coral EdgeTPU](#edge-tpu-detector): The Google Coral EdgeTPU is available in USB, Mini PCIe, and m.2 formats allowing for a wide range of compatibility with devices.
|
||||
- [Hailo](#hailo): The Hailo-8, Hailo-8L and Hailo-8R AI Acceleration modules are available in m.2 format with a HAT for RPi devices, offering a wide range of compatibility with devices.
|
||||
- <CommunityBadge /> [MemryX](#memryx-mx3): The MX3 Acceleration module is available in m.2 format, offering broad compatibility across various platforms.
|
||||
- <CommunityBadge /> [DEEPX](#deepx-npu): The DEEPX NPU is available in m.2 format and as a HAT+ for the Raspberry Pi 5, offering broad compatibility across various platforms.
|
||||
|
||||
**AMD**
|
||||
|
||||
@@ -612,6 +613,63 @@ For detailed instructions on compiling models, refer to the [MemryX Compiler](ht
|
||||
|
||||
---
|
||||
|
||||
## DEEPX NPU
|
||||
|
||||
This detector is available for use with the DEEPX NPU, both the DX-M1 M.2 module and the DX-M1M on the Sixfab AI HAT+ for the Raspberry Pi 5. The configuration below applies unchanged to either form factor. DEEPX NPU support in Frigate is developed and maintained by [Sixfab](https://sixfab.com).
|
||||
|
||||
See the [installation docs](../frigate/installation.md#deepx-npu) for information on installing the DEEPX kernel driver and runtime on the host and passing the NPU through to the container.
|
||||
|
||||
To run a model on a DEEPX NPU, list a `deepx` device on that model.
|
||||
|
||||
:::info
|
||||
|
||||
The DX-RT Python bindings are not part of the Frigate image. They are downloaded and installed into `/config/.local` the first time a DEEPX device is configured, verified against pinned checksums, and updated automatically when a Frigate release pins a new version. If the container has no internet access, see [Detector runtimes](/frigate/network_requirements#detector-runtimes) for how to provide the files yourself.
|
||||
|
||||
:::
|
||||
|
||||
### Configuration {#configuration-deepx}
|
||||
|
||||
<ModelConfigDropdown detectorTitle="DEEPX" models={objectDetectorsModels.deepx.models} />
|
||||
|
||||
Frigate does not bundle a model for this detector. Models must be compiled to DEEPX's `.dxnn` format. Two model types are supported:
|
||||
|
||||
- `yolo-generic` for YOLO object detection models, the recommended default. The detector reads the model's output layout from the compiled file, so anchor-based, anchor-free and NMS-in-head models all work with the same configuration, as do models compiled with DEEPX's Post-Processing Unit (PPU) support.
|
||||
- `yolox` for YOLOX models compiled without PPU support, whose raw head needs Frigate's YOLOX decoder. A YOLOX model compiled with PPU support works under either `yolox` or `yolo-generic`.
|
||||
|
||||
The quickest way to get one is the [DEEPX ModelZoo](https://developer.deepx.ai/modelzoo), which publishes pre-compiled `.dxnn` files for a range of YOLO object detection models. Download the `.dxnn`, bind-mount it into the container, and point the model's `path` at it. Alternatively, compile your own model with the DX-COM compiler. The recommended starting point is `yolox-s_640x640_ppu.dxnn`, the fastest ModelZoo model measured through Frigate:
|
||||
|
||||
```yaml
|
||||
models:
|
||||
- devices:
|
||||
- deepx:PCIe:0
|
||||
path: /config/model_cache/deepx/yolox-s_640x640_ppu.dxnn
|
||||
labelmap_path: /labelmap/coco-80.txt
|
||||
model_type: yolo-generic
|
||||
width: 640
|
||||
height: 640
|
||||
```
|
||||
|
||||
For PPU models, use a `.dxnn` compiled with DX-COM 2.4.0 or later. Frigate reads the PPU head layout the compiler writes into the file and refuses to load a PPU model without it.
|
||||
|
||||
`model_type` must be set to `yolo-generic` or `yolox` to match the model; `yolo-generic` is the recommended default unless the model is a raw YOLOX export. Frigate defaults it to `ssd`, which this detector does not support, so the detector refuses to start on a model that leaves it unset.
|
||||
|
||||
`width` and `height` must match the resolution the model was compiled for. Quantization parameters are baked into the `.dxnn` file at compile time, so no normalization is applied on the host and Frigate's default `input_tensor`, `input_pixel_format`, and `input_dtype` values do not need to be overridden.
|
||||
|
||||
A DEEPX device is `PCIe:<index>`, as reported on the detector settings page. The NPU daemon multiplexes across processes, so the same device may be listed more than once to run additional inference processes against it:
|
||||
|
||||
```yaml
|
||||
models:
|
||||
- devices:
|
||||
- deepx:PCIe:0
|
||||
- deepx:PCIe:0
|
||||
```
|
||||
|
||||
#### Label maps
|
||||
|
||||
The object detection models in the DEEPX ModelZoo are trained on the standard 80-class COCO label set, so `labelmap_path` must be set to `/labelmap/coco-80.txt`. Frigate's default label map uses an extended 91-class COCO scheme, and leaving it in place will cause detections to be reported as the wrong object type. For `yolo-generic` models the label map is also what the detector uses to tell the output layout, so a label map with the wrong number of classes is reported as an error at startup.
|
||||
|
||||
---
|
||||
|
||||
## NVidia TensorRT Detector
|
||||
|
||||
Nvidia Jetson devices may be used for object detection using the TensorRT libraries. Due to the size of the additional libraries, this detector is only provided in images with the `-tensorrt-jp6` tag suffix, e.g. `ghcr.io/blakeblackshear/frigate:stable-tensorrt-jp6`. This detector is designed to work with Yolo models for object detection.
|
||||
|
||||
@@ -65,6 +65,11 @@ Frigate supports multiple different detectors that work on different types of ha
|
||||
- [Supports many model architectures](../../configuration/object_detectors#memryx-mx3)
|
||||
- Runs best with tiny, small, or medium-size models
|
||||
|
||||
- <CommunityBadge /> [DEEPX](#deepx-npu): The DEEPX NPU is available in m.2 format and as a HAT+ for the Raspberry Pi 5, allowing for a wide range of compatibility with devices.
|
||||
- [Supports YOLO model architectures](../../configuration/object_detectors#deepx-npu)
|
||||
- Runs best with tiny or small size models
|
||||
- Runs efficiently on low power hardware
|
||||
|
||||
**AMD**
|
||||
|
||||
- [ROCm](#rocm---amd-gpu): ROCm can run on AMD Discrete GPUs to provide efficient object detection
|
||||
@@ -257,6 +262,32 @@ The MX3 is a pipelined architecture, where the maximum frames per second support
|
||||
|
||||
Inference speeds may vary depending on the host platform. The above data was measured on an **Intel 13700 CPU**. Platforms like Raspberry Pi, Orange Pi, and other ARM-based SBCs have different levels of processing capability, which may limit total FPS.
|
||||
|
||||
### DEEPX NPU
|
||||
|
||||
Frigate supports the DEEPX NPU in both of its form factors: the **DX-M1** M.2 module, which works on x86 (Intel/AMD) and ARM-based SBCs such as the Raspberry Pi 5, and the **DX-M1M** on the [Sixfab AI HAT+](https://docs.sixfab.com/docs/ai-hat-plus-raspberry-pi-5-quickstart) for the Raspberry Pi 5. Both use the same driver and runtime, so the configuration is identical for either one. DEEPX NPU support in Frigate is developed and maintained by [Sixfab](https://sixfab.com).
|
||||
|
||||
The DEEPX driver and runtime run on the Docker host rather than inside the Frigate container and must be installed before the NPU can be used. See the [installation docs](installation.md#deepx-npu) for the setup steps and [the detector docs](/configuration/object_detectors#deepx-npu) for the configuration.
|
||||
|
||||
Frigate does not bundle a model for this detector. Models use DEEPX's `.dxnn` format, and pre-compiled YOLO models can be downloaded from the [DEEPX ModelZoo](https://developer.deepx.ai/modelzoo). Prefer a model with a `_ppu` suffix whenever one is available for the architecture you want: these run part of the post-processing on the NPU itself and are considerably faster, roughly 2.5x for the same architecture and input size. **YOLOX-S with PPU is the recommended starting point.**
|
||||
|
||||
Inference times for a few recommended models, measured through Frigate's own stats on a DX-M1:
|
||||
|
||||
| Model | Input Size | DX-M1 Inference Time |
|
||||
| ----------------- | ---------- | -------------------- |
|
||||
| YOLOX-S (PPU) | 640 | ~ 13 ms |
|
||||
| YOLOv9-t (PPU) | 640 | ~ 18 ms |
|
||||
| YOLOv4 (PPU) | 512 | ~ 20 ms |
|
||||
| YOLOX-S | 640 | ~ 34 ms |
|
||||
| YOLOv9-s | 640 | ~ 39 ms |
|
||||
|
||||
Other ModelZoo YOLO variants are also supported but have not been measured. Inference speeds vary with the host platform, so a slower host such as a Raspberry Pi 5 will report higher times than those above.
|
||||
|
||||
:::note
|
||||
|
||||
A few ModelZoo models can not be used with Frigate: SSD models (they are trained on Pascal VOC, so their labels do not match Frigate's), DAMO-YOLO models, face and pose models, and the PPU builds of YOLOv7.
|
||||
|
||||
:::
|
||||
|
||||
### Nvidia Jetson
|
||||
|
||||
Jetson devices are supported via the TensorRT or ONNX detectors when running Jetpack 6. It will [make use of the Jetson's hardware media engine](/configuration/hardware_acceleration_video#nvidia-jetson) when configured with the [appropriate presets](/configuration/ffmpeg_presets#hwaccel-presets), and will make use of the Jetson's GPU and DLA for object detection when configured with the [TensorRT detector](/configuration/object_detectors#nvidia-tensorrt-detector).
|
||||
|
||||
@@ -381,6 +381,99 @@ If you can't use Docker Compose, you can run the container with something simila
|
||||
|
||||
Finally, configure [hardware object detection](/configuration/object_detectors#memryx-mx3) to complete the setup.
|
||||
|
||||
### DEEPX NPU
|
||||
|
||||
The DEEPX NPU is available in two form factors, and Frigate supports both:
|
||||
|
||||
- **DX-M1** in the M.2 2280 form factor (like an NVMe SSD), for x86 (Intel/AMD) PCs, the Raspberry Pi 5, and other ARM SBCs with an exposed PCIe M.2 slot.
|
||||
- **DX-M1M** on the [Sixfab AI HAT+](https://docs.sixfab.com/docs/ai-hat-plus-raspberry-pi-5-quickstart), a HAT+ board that connects to the Raspberry Pi 5 over PCIe Gen 3 x1.
|
||||
|
||||
Both present the NPU through the same PCIe driver and DX-RT runtime, so the setup below and the detector configuration are identical for either one. Nothing needs to change when moving between them.
|
||||
|
||||
DEEPX NPU support in Frigate is developed and maintained by [Sixfab](https://sixfab.com).
|
||||
|
||||
#### Versions
|
||||
|
||||
A DEEPX install has several separately versioned pieces, and they all have to agree. The driver, the runtime, and the daemon live on the Docker host; Frigate itself carries only the Python bindings, which it downloads on first start:
|
||||
|
||||
| Component | Version | Installed on | Installed by |
|
||||
| -------------- | -------- | ------------ | ------------------------- |
|
||||
| Kernel driver | `v2.6.0` | Host | `user_installation.sh` |
|
||||
| DX-RT runtime | `v3.4.0` | Host | `user_installation.sh` |
|
||||
| NPU firmware | `v2.7.4` | The module | Flashed from the host |
|
||||
| DX-RT bindings | `v3.4.0` | Frigate | Downloaded at first start |
|
||||
|
||||
:::warning
|
||||
|
||||
A version mismatch does not produce a startup error. It typically shows up as inference requests that are accepted but never return a result, so detections simply stop appearing while Frigate looks healthy. If that happens after a Frigate upgrade, check every version in the table before anything else.
|
||||
|
||||
:::
|
||||
|
||||
The installation script installs the DX-RT runtime on the host and enables `dxrt.service`, so the daemon starts at boot and any other program on the host can share the NPU with Frigate. Check the firmware version with `dxrt-cli --status` and update the module if it does not match the table above.
|
||||
|
||||
#### Installation
|
||||
|
||||
The DEEPX kernel driver must be installed on the host rather than in the container, because containers share the host kernel and cannot load kernel modules. Installing it creates the `/dev/dxrt*` device nodes that are passed through to Frigate. The same script installs the DX-RT runtime and enables `dxrt.service`, the daemon that owns the NPU and hands work to it on behalf of Frigate and anything else on the host.
|
||||
|
||||
1. Copy or download [this script](https://github.com/blakeblackshear/frigate/blob/dev/docker/deepx/user_installation.sh).
|
||||
2. Ensure it has execution permissions with `sudo chmod +x user_installation.sh`
|
||||
3. Run the script with `./user_installation.sh`
|
||||
4. **Restart your computer** to complete driver installation.
|
||||
|
||||
Confirm the NPU is visible before continuing:
|
||||
|
||||
```bash
|
||||
ls /dev/dxrt*
|
||||
```
|
||||
|
||||
Then confirm the daemon is running and listening in `/run/dxrt`:
|
||||
|
||||
```bash
|
||||
systemctl is-active dxrt.service
|
||||
ls /run/dxrt/
|
||||
```
|
||||
|
||||
#### Setup
|
||||
|
||||
To set up Frigate, follow the default installation instructions, for example: `ghcr.io/blakeblackshear/frigate:stable`
|
||||
|
||||
#### Docker configuration
|
||||
|
||||
Frigate needs the NPU device node and the directory holding the daemon's socket:
|
||||
|
||||
```yaml
|
||||
services:
|
||||
frigate:
|
||||
devices:
|
||||
- /dev/dxrt0:/dev/dxrt0
|
||||
volumes:
|
||||
- /run/dxrt:/run/dxrt
|
||||
```
|
||||
|
||||
If you can't use Docker Compose, add `--device /dev/dxrt0:/dev/dxrt0 -v /run/dxrt:/run/dxrt` to your `docker run` command.
|
||||
|
||||
Add one `--device` per NPU, contiguously from `/dev/dxrt0`, since the client stops enumerating at the first gap.
|
||||
|
||||
The installation script configures `dxrt.service` to place its socket in `/run/dxrt` through a systemd drop-in. Mounting the directory rather than the socket file means the container sees the new socket after `dxrt.service` is restarted, rather than holding on to a deleted one.
|
||||
|
||||
`dxrtd` listens on an abstract socket as well, but that one does not cross into a container, so Frigate names the filesystem socket through `DXRT_DYNAMIC_IPC_ENDPOINT` on your behalf. Set that variable on the container yourself only if the daemon listens somewhere else, which means you also set it for `dxrtd` through its own systemd drop-in. The script writes `/etc/systemd/system/dxrt.service.d/frigate.conf` for exactly that, and has `dxrt.service` link the socket to `/tmp/dxrt_dynamic_ipc.sock` when it starts, so the host's own `dxrt-cli` and `dxtop` keep finding it at the default path they fall back to.
|
||||
|
||||
:::note
|
||||
|
||||
The DX-RT client exits when `dxrt.service` stops, so restart the Frigate container after restarting `dxrt.service`.
|
||||
|
||||
:::
|
||||
|
||||
The device node is needed as well as the socket, because the client opens the NPU directly even though the daemon arbitrates access. Without it, inference fails with `Device not found`.
|
||||
|
||||
`/dev/shm` does not need sharing.
|
||||
|
||||
The DX-RT python bindings are not shipped in the Frigate image. Frigate downloads them on first start when a DEEPX detector is configured, and caches them under `/config`.
|
||||
|
||||
#### Configuration
|
||||
|
||||
Finally, configure [hardware object detection](/configuration/object_detectors#deepx-npu) to complete the setup.
|
||||
|
||||
### Rockchip platform
|
||||
|
||||
Make sure that you use a linux distribution that comes with the rockchip BSP kernel 5.10 or 6.1 and necessary drivers (especially rkvdec2 and rknpu). To check, enter the following commands:
|
||||
|
||||
@@ -99,6 +99,10 @@ def main() -> None:
|
||||
print("*** End Config Validation Errors ***")
|
||||
print("*************************************************************")
|
||||
|
||||
# force a non-zero exit code for config failures
|
||||
if args.validate_config:
|
||||
sys.exit(1)
|
||||
|
||||
# attempt to start Frigate in recovery mode
|
||||
try:
|
||||
config = FrigateConfig.load(install=True, safe_load=True)
|
||||
|
||||
+82
-61
@@ -258,15 +258,15 @@ async def latest_frame(
|
||||
|
||||
frame = request.app.camera_error_image
|
||||
|
||||
height = int(params.height or str(frame.shape[0]))
|
||||
width = int(height * frame.shape[1] / frame.shape[0])
|
||||
|
||||
if frame is None:
|
||||
return JSONResponse(
|
||||
content={"success": False, "message": "Unable to get valid frame"},
|
||||
status_code=500,
|
||||
)
|
||||
|
||||
height = int(params.height or str(frame.shape[0]))
|
||||
width = int(height * frame.shape[1] / frame.shape[0])
|
||||
|
||||
if height < 1 or width < 1:
|
||||
return JSONResponse(
|
||||
content="Invalid height / width requested :: {} / {}".format(
|
||||
@@ -886,9 +886,8 @@ async def vod_event(
|
||||
# If the recordings are not found and the event started more than 5 minutes ago, set has_clip to false
|
||||
if (
|
||||
event.start_time < datetime.now().timestamp() - 300
|
||||
and type(vod_response) is tuple
|
||||
and len(vod_response) == 2
|
||||
and vod_response[1] == 404
|
||||
and isinstance(vod_response, JSONResponse)
|
||||
and vod_response.status_code == 404
|
||||
):
|
||||
Event.update(has_clip=False).where(Event.id == event_id).execute()
|
||||
|
||||
@@ -956,64 +955,80 @@ async def event_snapshot(
|
||||
event_complete = False
|
||||
jpg_bytes = None
|
||||
frame_time = 0
|
||||
|
||||
try:
|
||||
event = Event.get(Event.id == event_id, Event.end_time != None)
|
||||
event_complete = True
|
||||
await require_camera_access(event.camera, request=request)
|
||||
except DoesNotExist:
|
||||
event = None
|
||||
|
||||
if event is not None:
|
||||
event_complete = True
|
||||
|
||||
if not event.has_snapshot:
|
||||
return JSONResponse(
|
||||
content={"success": False, "message": "Snapshot not available"},
|
||||
status_code=404,
|
||||
)
|
||||
snapshot_settings = _resolve_snapshot_settings(
|
||||
request.app.frigate_config.cameras[event.camera].snapshots, params
|
||||
)
|
||||
jpg_bytes, frame_time = get_event_snapshot_bytes(
|
||||
event,
|
||||
ext="jpg",
|
||||
timestamp=snapshot_settings["timestamp"],
|
||||
bounding_box=snapshot_settings["bounding_box"],
|
||||
crop=snapshot_settings["crop"],
|
||||
height=snapshot_settings["height"],
|
||||
quality=snapshot_settings["quality"],
|
||||
timestamp_style=request.app.frigate_config.cameras[
|
||||
event.camera
|
||||
].timestamp_style,
|
||||
colormap=request.app.frigate_config.model_for_camera(event.camera).colormap,
|
||||
)
|
||||
except DoesNotExist:
|
||||
# see if the object is currently being tracked
|
||||
|
||||
try:
|
||||
camera_states: list[CameraState] = (
|
||||
request.app.detected_frames_processor.get_camera_states()
|
||||
snapshot_settings = _resolve_snapshot_settings(
|
||||
request.app.frigate_config.cameras[event.camera].snapshots, params
|
||||
)
|
||||
jpg_bytes, frame_time = get_event_snapshot_bytes(
|
||||
event,
|
||||
ext="jpg",
|
||||
timestamp=snapshot_settings["timestamp"],
|
||||
bounding_box=snapshot_settings["bounding_box"],
|
||||
crop=snapshot_settings["crop"],
|
||||
height=snapshot_settings["height"],
|
||||
quality=snapshot_settings["quality"],
|
||||
timestamp_style=request.app.frigate_config.cameras[
|
||||
event.camera
|
||||
].timestamp_style,
|
||||
colormap=request.app.frigate_config.model_for_camera(
|
||||
event.camera
|
||||
).colormap,
|
||||
)
|
||||
for camera_state in camera_states:
|
||||
if event_id in camera_state.tracked_objects:
|
||||
tracked_obj = camera_state.tracked_objects.get(event_id)
|
||||
if tracked_obj is not None:
|
||||
snapshot_settings = _resolve_snapshot_settings(
|
||||
camera_state.camera_config.snapshots, params
|
||||
)
|
||||
jpg_bytes, frame_time = tracked_obj.get_img_bytes(
|
||||
ext="jpg",
|
||||
timestamp=snapshot_settings["timestamp"],
|
||||
bounding_box=snapshot_settings["bounding_box"],
|
||||
crop=snapshot_settings["crop"],
|
||||
height=snapshot_settings["height"],
|
||||
quality=snapshot_settings["quality"],
|
||||
)
|
||||
await require_camera_access(camera_state.name, request=request)
|
||||
except Exception:
|
||||
return JSONResponse(
|
||||
content={"success": False, "message": "Ongoing event not found"},
|
||||
content={"success": False, "message": "Unknown error occurred"},
|
||||
status_code=404,
|
||||
)
|
||||
except Exception:
|
||||
return JSONResponse(
|
||||
content={"success": False, "message": "Unknown error occurred"},
|
||||
status_code=404,
|
||||
else:
|
||||
# see if the object is currently being tracked
|
||||
camera_states: list[CameraState] = (
|
||||
request.app.detected_frames_processor.get_camera_states()
|
||||
)
|
||||
|
||||
for camera_state in camera_states:
|
||||
tracked_obj = camera_state.tracked_objects.get(event_id)
|
||||
|
||||
if tracked_obj is None:
|
||||
continue
|
||||
|
||||
await require_camera_access(camera_state.name, request=request)
|
||||
|
||||
try:
|
||||
snapshot_settings = _resolve_snapshot_settings(
|
||||
camera_state.camera_config.snapshots, params
|
||||
)
|
||||
jpg_bytes, frame_time = tracked_obj.get_img_bytes(
|
||||
ext="jpg",
|
||||
timestamp=snapshot_settings["timestamp"],
|
||||
bounding_box=snapshot_settings["bounding_box"],
|
||||
crop=snapshot_settings["crop"],
|
||||
height=snapshot_settings["height"],
|
||||
quality=snapshot_settings["quality"],
|
||||
)
|
||||
except Exception:
|
||||
return JSONResponse(
|
||||
content={"success": False, "message": "Ongoing event not found"},
|
||||
status_code=404,
|
||||
)
|
||||
|
||||
break
|
||||
|
||||
if jpg_bytes is None:
|
||||
return JSONResponse(
|
||||
content={"success": False, "message": "Live frame not available"},
|
||||
@@ -1062,19 +1077,25 @@ async def event_thumbnail(
|
||||
|
||||
if not thumbnail_bytes:
|
||||
# see if the object is currently being tracked
|
||||
try:
|
||||
camera_states = request.app.detected_frames_processor.get_camera_states()
|
||||
for camera_state in camera_states:
|
||||
if event_id in camera_state.tracked_objects:
|
||||
tracked_obj = camera_state.tracked_objects.get(event_id)
|
||||
if tracked_obj is not None:
|
||||
await require_camera_access(camera_state.name, request=request)
|
||||
thumbnail_bytes = tracked_obj.get_thumbnail(extension.value)
|
||||
except Exception:
|
||||
return JSONResponse(
|
||||
content={"success": False, "message": "Event not found"},
|
||||
status_code=404,
|
||||
)
|
||||
camera_states = request.app.detected_frames_processor.get_camera_states()
|
||||
|
||||
for camera_state in camera_states:
|
||||
tracked_obj = camera_state.tracked_objects.get(event_id)
|
||||
|
||||
if tracked_obj is None:
|
||||
continue
|
||||
|
||||
await require_camera_access(camera_state.name, request=request)
|
||||
|
||||
try:
|
||||
thumbnail_bytes = tracked_obj.get_thumbnail(extension.value)
|
||||
except Exception:
|
||||
return JSONResponse(
|
||||
content={"success": False, "message": "Event not found"},
|
||||
status_code=404,
|
||||
)
|
||||
|
||||
break
|
||||
|
||||
if not thumbnail_bytes:
|
||||
return JSONResponse(
|
||||
|
||||
+12
-2
@@ -483,7 +483,7 @@ class FrigateApp:
|
||||
|
||||
def start_audio_processor(self) -> None:
|
||||
self.audio_process = AudioProcessor(
|
||||
self.config, self.camera_metrics, self.stop_event
|
||||
self.config, self.camera_metrics, self.embeddings_metrics, self.stop_event
|
||||
)
|
||||
self.audio_process.start()
|
||||
self.processes["audio_detector"] = self.audio_process.pid or 0
|
||||
@@ -556,10 +556,20 @@ class FrigateApp:
|
||||
"output",
|
||||
lambda: OutputProcess(self.config, self.stop_event),
|
||||
),
|
||||
(
|
||||
"audio_process",
|
||||
"audio_detector",
|
||||
lambda: AudioProcessor(
|
||||
self.config,
|
||||
self.camera_metrics,
|
||||
self.embeddings_metrics,
|
||||
self.stop_event,
|
||||
),
|
||||
),
|
||||
]
|
||||
|
||||
for attr, key, factory in specs:
|
||||
if not hasattr(self, attr):
|
||||
if getattr(self, attr, None) is None:
|
||||
continue
|
||||
|
||||
def on_restart(
|
||||
|
||||
@@ -273,6 +273,16 @@ def detect_memryx() -> DetectionHardware | None:
|
||||
return _hardware("memryx", "memryx", "MemryX MX3", units)
|
||||
|
||||
|
||||
def detect_deepx() -> DetectionHardware | None:
|
||||
"""Find DEEPX NPUs by their device nodes."""
|
||||
units = _dev_units("dxrt*", "deepx:PCIe:{index}", "PCIe")
|
||||
|
||||
if not units:
|
||||
return None
|
||||
|
||||
return _hardware("deepx", "deepx", "DEEPX NPU", units)
|
||||
|
||||
|
||||
def detect_rockchip() -> DetectionHardware | None:
|
||||
"""Find a Rockchip NPU by reading the SoC from the device tree."""
|
||||
compatible = _read(f"{PROC_ROOT}/device-tree/compatible")
|
||||
@@ -319,6 +329,7 @@ PROBES = (
|
||||
detect_coral_usb,
|
||||
detect_hailo,
|
||||
detect_memryx,
|
||||
detect_deepx,
|
||||
detect_intel_npu,
|
||||
detect_intel_gpu,
|
||||
detect_nvidia_gpu,
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
+46
-31
@@ -11,6 +11,7 @@ from typing import Any
|
||||
|
||||
import numpy as np
|
||||
|
||||
from frigate.camera import CameraMetrics
|
||||
from frigate.comms.detections_updater import DetectionPublisher, DetectionTypeEnum
|
||||
from frigate.comms.inter_process import InterProcessRequestor
|
||||
from frigate.config import CameraConfig, CameraInput, FrigateConfig
|
||||
@@ -36,6 +37,7 @@ from frigate.data_processing.common.audio_transcription.model import (
|
||||
from frigate.data_processing.real_time.audio_transcription import (
|
||||
AudioTranscriptionRealTimeProcessor,
|
||||
)
|
||||
from frigate.data_processing.types import DataProcessorMetrics
|
||||
from frigate.ffmpeg_presets import parse_preset_input
|
||||
from frigate.log import LogPipe, suppress_stderr_during
|
||||
from frigate.util.builtin import get_ffmpeg_arg_list, load_labels
|
||||
@@ -86,6 +88,7 @@ class AudioProcessor(FrigateProcess):
|
||||
self,
|
||||
config: FrigateConfig,
|
||||
camera_metrics: DictProxy,
|
||||
embeddings_metrics: DataProcessorMetrics,
|
||||
stop_event: MpEvent,
|
||||
):
|
||||
super().__init__(
|
||||
@@ -93,8 +96,38 @@ class AudioProcessor(FrigateProcess):
|
||||
)
|
||||
|
||||
self.camera_metrics = camera_metrics
|
||||
self.embeddings_metrics = embeddings_metrics
|
||||
self.config = config
|
||||
|
||||
def spawn_if_needed(self, camera: CameraConfig) -> None:
|
||||
"""Start an audio maintainer for the camera once everything it needs
|
||||
has arrived. Returning early leaves the camera for the next poll."""
|
||||
name = camera.name
|
||||
if name is None or name in self.audio_threads:
|
||||
return
|
||||
if not camera.enabled or not camera.audio.enabled:
|
||||
return
|
||||
# ffmpeg update may not have arrived yet
|
||||
if not any("audio" in i.roles for i in camera.ffmpeg.inputs):
|
||||
return
|
||||
# the camera maintainer creates metrics on its own poll of the same
|
||||
# add update and may not have gotten there yet
|
||||
metrics = self.camera_metrics.get(name)
|
||||
if metrics is None:
|
||||
return
|
||||
thread = AudioEventMaintainer(
|
||||
camera,
|
||||
self.config,
|
||||
metrics,
|
||||
self.embeddings_metrics,
|
||||
self.transcription_model_runner,
|
||||
self.stop_event, # type: ignore[arg-type]
|
||||
self.genai_manager,
|
||||
)
|
||||
self.audio_threads[name] = thread
|
||||
thread.start()
|
||||
self.logger.info(f"Audio maintainer started for {name}")
|
||||
|
||||
def __stop_audio_thread(self, camera: str) -> None:
|
||||
thread = self.audio_threads.pop(camera, None)
|
||||
if thread is None:
|
||||
@@ -150,29 +183,8 @@ class AudioProcessor(FrigateProcess):
|
||||
],
|
||||
)
|
||||
|
||||
def spawn_if_needed(camera: CameraConfig) -> None:
|
||||
name = camera.name
|
||||
if name is None or name in self.audio_threads:
|
||||
return
|
||||
if not camera.enabled or not camera.audio.enabled:
|
||||
return
|
||||
# ffmpeg update may not have arrived yet; wait for next poll
|
||||
if not any("audio" in i.roles for i in camera.ffmpeg.inputs):
|
||||
return
|
||||
thread = AudioEventMaintainer(
|
||||
camera,
|
||||
self.config,
|
||||
self.camera_metrics,
|
||||
self.transcription_model_runner,
|
||||
self.stop_event, # type: ignore[arg-type]
|
||||
self.genai_manager,
|
||||
)
|
||||
self.audio_threads[name] = thread
|
||||
thread.start()
|
||||
self.logger.info(f"Audio maintainer started for {name}")
|
||||
|
||||
for camera in self.config.cameras.values():
|
||||
spawn_if_needed(camera)
|
||||
self.spawn_if_needed(camera)
|
||||
|
||||
self.logger.info(f"Audio processor started (pid: {self.pid})")
|
||||
|
||||
@@ -182,15 +194,14 @@ class AudioProcessor(FrigateProcess):
|
||||
updated_topics = config_subscriber.check_for_updates()
|
||||
|
||||
# stop maintainers for removed cameras so their ffmpeg process is
|
||||
# torn down and they stop touching camera_metrics (which the camera
|
||||
# maintainer has already popped for the removed camera)
|
||||
# torn down
|
||||
for removed_camera in updated_topics.get(
|
||||
CameraConfigUpdateEnum.remove.name, []
|
||||
):
|
||||
self.__stop_audio_thread(removed_camera)
|
||||
|
||||
for camera in self.config.cameras.values():
|
||||
spawn_if_needed(camera)
|
||||
self.spawn_if_needed(camera)
|
||||
|
||||
config_subscriber.stop()
|
||||
|
||||
@@ -212,7 +223,8 @@ class AudioEventMaintainer(threading.Thread):
|
||||
self,
|
||||
camera: CameraConfig,
|
||||
config: FrigateConfig,
|
||||
camera_metrics: DictProxy,
|
||||
metrics: CameraMetrics,
|
||||
embeddings_metrics: DataProcessorMetrics,
|
||||
audio_transcription_model_runner: AudioTranscriptionModelRunner | None,
|
||||
stop_event: threading.Event,
|
||||
genai_manager: Any = None,
|
||||
@@ -221,7 +233,11 @@ class AudioEventMaintainer(threading.Thread):
|
||||
|
||||
self.config = config
|
||||
self.camera_config = camera
|
||||
self.camera_metrics = camera_metrics
|
||||
# hold the metrics object rather than indexing the manager dict per
|
||||
# chunk, which costs an IPC round trip and breaks once the camera
|
||||
# maintainer pops the entry on removal
|
||||
self.metrics = metrics
|
||||
self.embeddings_metrics = embeddings_metrics
|
||||
self.stop_event = stop_event
|
||||
# per-camera stop signal so a single maintainer can be torn down at
|
||||
# runtime (e.g. on camera removal) without stopping the whole process
|
||||
@@ -265,7 +281,7 @@ class AudioEventMaintainer(threading.Thread):
|
||||
camera_config=self.camera_config,
|
||||
requestor=self.requestor,
|
||||
model_runner=self.audio_transcription_model_runner,
|
||||
metrics=self.camera_metrics[self.camera_config.name],
|
||||
metrics=self.embeddings_metrics,
|
||||
stop_event=self.stop_event,
|
||||
genai_manager=self.genai_manager,
|
||||
)
|
||||
@@ -291,8 +307,8 @@ class AudioEventMaintainer(threading.Thread):
|
||||
audio_as_float: np.ndarray = audio.astype(np.float32)
|
||||
rms, dBFS = self.calculate_audio_levels(audio_as_float)
|
||||
|
||||
self.camera_metrics[self.camera_config.name].audio_rms.value = rms
|
||||
self.camera_metrics[self.camera_config.name].audio_dBFS.value = dBFS
|
||||
self.metrics.audio_rms.value = rms
|
||||
self.metrics.audio_dBFS.value = dBFS
|
||||
|
||||
audio_detections: list[tuple[str, float]] = []
|
||||
|
||||
@@ -377,7 +393,6 @@ class AudioEventMaintainer(threading.Thread):
|
||||
return
|
||||
|
||||
time.sleep(self.camera_config.ffmpeg.retry_interval)
|
||||
self.logpipe.dump()
|
||||
self.start_or_restart_ffmpeg()
|
||||
|
||||
if self.audio_listener is None or self.audio_listener.stdout is None:
|
||||
|
||||
@@ -560,13 +560,12 @@ class LlamaCppClient(GenAIClient):
|
||||
|
||||
def list_models(self) -> list[str]:
|
||||
"""Return available model IDs from the llama.cpp server."""
|
||||
models = []
|
||||
models: set[str] = set()
|
||||
|
||||
# llama-server lists the id among the aliases when --alias is set
|
||||
for m in self._fetch_models_data():
|
||||
models.append(m.get("id", "unknown"))
|
||||
|
||||
for alias in m.get("aliases", []):
|
||||
models.append(alias)
|
||||
models.add(m.get("id", "unknown"))
|
||||
models.update(m.get("aliases", []))
|
||||
|
||||
return sorted(models)
|
||||
|
||||
|
||||
@@ -144,6 +144,14 @@ class LogPipe(threading.Thread):
|
||||
self.pipeReader.close()
|
||||
|
||||
def dump(self) -> None:
|
||||
if not self.deque:
|
||||
return
|
||||
|
||||
self.logger.log(
|
||||
self.level,
|
||||
"The following ffmpeg logs include the last 100 lines prior to exit.",
|
||||
)
|
||||
|
||||
while len(self.deque) > 0:
|
||||
self.logger.log(self.level, self.deque.popleft())
|
||||
|
||||
|
||||
@@ -188,8 +188,12 @@ class ImprovedMotionDetector(MotionDetector):
|
||||
self.config.skip_motion_threshold is not None
|
||||
and pct_motion > self.config.skip_motion_threshold
|
||||
):
|
||||
# force a recalibration so we transition to the new background
|
||||
# recalibrate so we transition to the new background. the frame
|
||||
# still has to be blended in here, otherwise the background stays
|
||||
# frozen and every subsequent frame skips as well
|
||||
self.calibrating = True
|
||||
cv2.accumulateWeighted(resized_frame, self.avg_frame, 0.2)
|
||||
self.motion_frame_count = 0
|
||||
return []
|
||||
|
||||
# once the motion is less than 5% and the number of contours is < 4, assume its calibrated
|
||||
|
||||
@@ -1120,6 +1120,18 @@ class OnvifController:
|
||||
f"Camera {camera_name} is still in ONVIF 'MOVING' status."
|
||||
)
|
||||
|
||||
async def _shutdown(self) -> None:
|
||||
"""Close the camera sessions and cancel the tasks running on the loop."""
|
||||
for cam_name in list(self.cams):
|
||||
await self._close_camera(cam_name)
|
||||
|
||||
tasks = [t for t in asyncio.all_tasks() if t is not asyncio.current_task()]
|
||||
|
||||
for task in tasks:
|
||||
task.cancel()
|
||||
|
||||
await asyncio.gather(*tasks, return_exceptions=True)
|
||||
|
||||
def close(self) -> None:
|
||||
"""Gracefully shut down the ONVIF controller."""
|
||||
if not hasattr(self, "loop") or self.loop.is_closed():
|
||||
@@ -1127,6 +1139,16 @@ class OnvifController:
|
||||
return
|
||||
|
||||
logger.info("Exiting ONVIF controller...")
|
||||
|
||||
# anything left open here is garbage collected during interpreter
|
||||
# shutdown, where its warnings can no longer be logged cleanly
|
||||
try:
|
||||
asyncio.run_coroutine_threadsafe(self._shutdown(), self.loop).result(
|
||||
timeout=5
|
||||
)
|
||||
except TimeoutError:
|
||||
logger.debug("Timed out closing ONVIF sessions")
|
||||
|
||||
self.config_subscriber.stop()
|
||||
|
||||
def stop_and_cleanup():
|
||||
|
||||
@@ -0,0 +1,90 @@
|
||||
"""Tests for audio maintainer spawning on runtime camera adds."""
|
||||
|
||||
import threading
|
||||
import unittest
|
||||
from unittest.mock import MagicMock, patch
|
||||
|
||||
from frigate.config import FrigateConfig
|
||||
from frigate.events.audio import AudioProcessor
|
||||
|
||||
|
||||
def _build_config() -> FrigateConfig:
|
||||
return FrigateConfig(
|
||||
**{
|
||||
"mqtt": {"host": "mqtt"},
|
||||
"cameras": {
|
||||
"front_door": {
|
||||
"ffmpeg": {
|
||||
"inputs": [
|
||||
{
|
||||
"path": "rtsp://10.0.0.1:554/video",
|
||||
"roles": ["detect", "audio"],
|
||||
}
|
||||
]
|
||||
},
|
||||
"audio": {"enabled": True},
|
||||
}
|
||||
},
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
class TestAudioSpawnIfNeeded(unittest.TestCase):
|
||||
def _processor(self, config: FrigateConfig, camera_metrics: dict) -> AudioProcessor:
|
||||
processor = AudioProcessor.__new__(AudioProcessor)
|
||||
processor.config = config
|
||||
processor.camera_metrics = camera_metrics
|
||||
processor.embeddings_metrics = MagicMock()
|
||||
processor.audio_threads = {}
|
||||
processor.transcription_model_runner = None
|
||||
processor.genai_manager = None
|
||||
processor.stop_event = threading.Event()
|
||||
processor.logger = MagicMock()
|
||||
return processor
|
||||
|
||||
def test_skips_camera_whose_metrics_have_not_been_created_yet(self):
|
||||
"""The camera maintainer creates metrics on its own poll of the add
|
||||
update, so the audio processor can see the camera first."""
|
||||
config = _build_config()
|
||||
processor = self._processor(config, {})
|
||||
|
||||
with patch("frigate.events.audio.AudioEventMaintainer") as maintainer:
|
||||
processor.spawn_if_needed(config.cameras["front_door"])
|
||||
|
||||
maintainer.assert_not_called()
|
||||
assert processor.audio_threads == {}
|
||||
|
||||
def test_spawns_once_metrics_exist_and_passes_the_metrics_object(self):
|
||||
config = _build_config()
|
||||
metrics = object()
|
||||
processor = self._processor(config, {"front_door": metrics})
|
||||
|
||||
with patch("frigate.events.audio.AudioEventMaintainer") as maintainer:
|
||||
processor.spawn_if_needed(config.cameras["front_door"])
|
||||
|
||||
assert maintainer.call_args.args[2] is metrics
|
||||
assert "front_door" in processor.audio_threads
|
||||
maintainer.return_value.start.assert_called_once()
|
||||
|
||||
def test_does_not_respawn_for_a_camera_already_running(self):
|
||||
config = _build_config()
|
||||
processor = self._processor(config, {"front_door": object()})
|
||||
processor.audio_threads["front_door"] = MagicMock()
|
||||
|
||||
with patch("frigate.events.audio.AudioEventMaintainer") as maintainer:
|
||||
processor.spawn_if_needed(config.cameras["front_door"])
|
||||
|
||||
maintainer.assert_not_called()
|
||||
|
||||
def test_skips_camera_whose_ffmpeg_update_has_not_arrived_yet(self):
|
||||
"""The add update carries the camera before its ffmpeg inputs are
|
||||
applied, so the audio role can be briefly missing."""
|
||||
config = _build_config()
|
||||
camera = config.cameras["front_door"]
|
||||
camera.ffmpeg.inputs[0].roles = ["detect"]
|
||||
processor = self._processor(config, {"front_door": object()})
|
||||
|
||||
with patch("frigate.events.audio.AudioEventMaintainer") as maintainer:
|
||||
processor.spawn_if_needed(camera)
|
||||
|
||||
maintainer.assert_not_called()
|
||||
@@ -0,0 +1,896 @@
|
||||
"""Tests for the DEEPX detector."""
|
||||
|
||||
import json
|
||||
import os
|
||||
import struct
|
||||
import sys
|
||||
import tempfile
|
||||
import unittest
|
||||
from unittest.mock import MagicMock, patch
|
||||
|
||||
import numpy as np
|
||||
from pydantic import ValidationError
|
||||
|
||||
from frigate.detectors.detector_config import ModelConfig, ModelTypeEnum
|
||||
from frigate.detectors.device import (
|
||||
DeviceParseError,
|
||||
build_detector_config,
|
||||
parse_device,
|
||||
)
|
||||
from frigate.detectors.plugins.deepx import (
|
||||
DEEPX_MANIFEST,
|
||||
DXRT_VERSION,
|
||||
PPU_RECORD_SIZE,
|
||||
DeepxDetector,
|
||||
DeepxDetectorConfig,
|
||||
PpuLayout,
|
||||
YoloLayout,
|
||||
class_count,
|
||||
decode_raw_anchor,
|
||||
decode_raw_nms_in_head,
|
||||
infer_yolo_layout,
|
||||
read_ppu_layout,
|
||||
resolve_device,
|
||||
validate_yolox_outputs,
|
||||
)
|
||||
|
||||
|
||||
def model_with_type(model_type) -> ModelConfig:
|
||||
return ModelConfig(
|
||||
model_type=model_type,
|
||||
labelmap_path=None,
|
||||
labelmap={79: "toothbrush"},
|
||||
width=640,
|
||||
height=640,
|
||||
)
|
||||
|
||||
|
||||
def build_ppu_record(box, score=0.9, label=0, grid=(7, 9, 2, 2)) -> np.ndarray:
|
||||
record = np.zeros(PPU_RECORD_SIZE, dtype=np.uint8)
|
||||
record[0:16] = np.array(box, dtype=np.float32).view(np.uint8)
|
||||
record[16:20] = grid
|
||||
record[20:24] = np.array([score], dtype=np.float32).view(np.uint8)
|
||||
record[24:28] = np.array([label], dtype=np.uint32).view(np.uint8)
|
||||
return record.reshape(1, 1, PPU_RECORD_SIZE)
|
||||
|
||||
|
||||
# compile_config.ppu as DX-COM writes it for the two head kinds
|
||||
ANCHOR_BASED_PPU = {"type": 0, "num_classes": 80, "activation": "Sigmoid"}
|
||||
ANCHOR_FREE_PPU = {"type": 1, "num_classes": 80}
|
||||
|
||||
PPU_BBOX_NODE = "/head/Mul_2"
|
||||
|
||||
# (grid_w, grid_h, entries) per scale, finest first; the grids give the
|
||||
# strides at a 640 input
|
||||
THREE_SCALE_ANCHORS = [(80, 80, 3), (40, 40, 3), (20, 20, 3)]
|
||||
TWO_SCALE_ANCHORS = [(40, 40, 3), (20, 20, 3)]
|
||||
FOUR_SCALE_ANCHORS = [(160, 160, 3), (80, 80, 3), (40, 40, 3), (20, 20, 3)]
|
||||
THREE_SCALE_FREE = [(80, 80, 1), (40, 40, 1), (20, 20, 1)]
|
||||
ONE_SCALE_FREE = [(100, 84, 1)]
|
||||
|
||||
|
||||
def proto_varint(value: int) -> bytes:
|
||||
out = bytearray()
|
||||
while True:
|
||||
byte = value & 0x7F
|
||||
value >>= 7
|
||||
out.append(byte | (0x80 if value else 0))
|
||||
if not value:
|
||||
return bytes(out)
|
||||
|
||||
|
||||
def proto_bytes(field: int, payload: bytes) -> bytes:
|
||||
return proto_varint(field << 3 | 2) + proto_varint(len(payload)) + payload
|
||||
|
||||
|
||||
def proto_number(field: int, value: int) -> bytes:
|
||||
return proto_varint(field << 3) + proto_varint(value)
|
||||
|
||||
|
||||
def onnx_node(op_type: str, name: str, inputs: list, outputs: list) -> bytes:
|
||||
body = b"".join(proto_bytes(1, tensor.encode()) for tensor in inputs)
|
||||
body += b"".join(proto_bytes(2, tensor.encode()) for tensor in outputs)
|
||||
return body + proto_bytes(3, name.encode()) + proto_bytes(4, op_type.encode())
|
||||
|
||||
|
||||
def onnx_box_graph(box_format: str) -> bytes:
|
||||
if box_format == "broken":
|
||||
return proto_varint(1 << 3 | 3)
|
||||
|
||||
unnamed = box_format == "unnamed"
|
||||
|
||||
def graph_node(op_type: str, name: str, inputs: list, outputs: list) -> bytes:
|
||||
return onnx_node(op_type, "" if unnamed else name, inputs, outputs)
|
||||
|
||||
nodes = [
|
||||
graph_node("Split", "dfl_split", ["dfl", "sizes"], ["lt", "rb"]),
|
||||
graph_node("Sub", "corner_min", ["anchors", "lt"], ["x1y1"]),
|
||||
graph_node("Add", "corner_max", ["rb", "anchors"], ["x2y2"]),
|
||||
]
|
||||
if box_format in ("centre", "unnamed"):
|
||||
nodes += [
|
||||
graph_node("Add", "corner_sum", ["x1y1", "x2y2"], ["sum"]),
|
||||
graph_node("Mul", "corner_mean", ["sum", "half"], ["cxy"]),
|
||||
graph_node("Sub", "corner_span", ["x2y2", "x1y1"], ["wh"]),
|
||||
graph_node("Concat", "box_concat", ["cxy", "wh"], ["box"]),
|
||||
]
|
||||
elif box_format == "corner":
|
||||
nodes.append(graph_node("Concat", "box_concat", ["x1y1", "x2y2"], ["box"]))
|
||||
else:
|
||||
nodes.append(graph_node("Concat", "box_concat", ["x1y1", "x1y1"], ["box"]))
|
||||
|
||||
box = "box"
|
||||
if unnamed:
|
||||
box = "box_flat"
|
||||
nodes.append(graph_node("Reshape", "box_reshape", ["shape", "box"], [box]))
|
||||
|
||||
nodes.append(onnx_node("Mul", PPU_BBOX_NODE, [box, "strides"], ["bbox_out"]))
|
||||
graph = b"".join(proto_bytes(1, node) for node in nodes)
|
||||
graph += proto_bytes(5, b"weights")
|
||||
return (
|
||||
proto_number(1, 10) # ir_version
|
||||
+ proto_bytes(2, b"onnx_frontend_compiler") # producer_name
|
||||
+ proto_bytes(7, graph)
|
||||
)
|
||||
|
||||
|
||||
def write_dxnn(
|
||||
directory, ppu, layers, name="model.dxnn", table=True, box_format=None
|
||||
) -> str:
|
||||
"""A minimal .dxnn as DX-RT's parsers read it: the container header, a
|
||||
compile_config carrying `ppu`, and either the PPU tensor table with one
|
||||
entry per (layer, anchor) as a v8 file has, or with `table` False only
|
||||
the rmap_info listing of the PPU output tensors, as a v7 file has.
|
||||
`layers` is (grid_w, grid_h, entries) per scale, finest first; an
|
||||
anchor-free scale has one entry, and grid_h 1 means a flattened
|
||||
(1, cells, channels) tensor. `box_format`, "centre" or "corner", adds
|
||||
the compiled graph that says how the head writes its boxes, along with
|
||||
the compile_config layer naming the node the PPU reads them from."""
|
||||
if box_format is not None and "layer" not in ppu:
|
||||
ppu = dict(ppu, layer=[{"bbox": PPU_BBOX_NODE, "cls_conf": "/head/Sigmoid"}])
|
||||
|
||||
compile_config = json.dumps({"compile_version": "2.4.0", "ppu": ppu}).encode()
|
||||
graph = onnx_box_graph(box_format) if box_format is not None else b""
|
||||
|
||||
if table:
|
||||
part = bytearray(struct.pack("<BBBB", 1, sum(n for _, _, n in layers), 0, 0))
|
||||
for conv, (grid_w, grid_h, entries) in enumerate(layers):
|
||||
for anchor in range(entries):
|
||||
part += struct.pack(
|
||||
"<HHfBBBBBBBB",
|
||||
128,
|
||||
80,
|
||||
0.001,
|
||||
conv,
|
||||
anchor,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
grid_w,
|
||||
grid_h,
|
||||
0,
|
||||
)
|
||||
else:
|
||||
outputs = []
|
||||
for conv, (grid_w, grid_h, entries) in enumerate(layers):
|
||||
for anchor in range(entries):
|
||||
name_ = f"PPU_Transpose_Output_{conv}"
|
||||
if entries > 1:
|
||||
name_ += f"_anchor_{anchor}"
|
||||
shape = [1, grid_w, 127] if grid_h == 1 else [1, grid_h, grid_w, 128]
|
||||
outputs.append({"name": name_, "shape": shape, "layout": "PPU_YOLO"})
|
||||
part = json.dumps({"inputs": [], "outputs": outputs}).encode()
|
||||
|
||||
data = {
|
||||
"compile_config": {
|
||||
"type": "str",
|
||||
"offset": 0,
|
||||
"size": len(compile_config),
|
||||
},
|
||||
"compiled_data": {
|
||||
"M1A_4K": {
|
||||
"npu_0": {
|
||||
"rmap": {"type": "bytes", "offset": 0, "size": 0},
|
||||
"ppu" if table else "rmap_info": {
|
||||
"type": "bytes" if table else "str",
|
||||
"offset": len(compile_config),
|
||||
"size": len(part),
|
||||
},
|
||||
}
|
||||
}
|
||||
},
|
||||
}
|
||||
if graph:
|
||||
data["vis_npu_models"] = {
|
||||
"npu_0": {
|
||||
"type": "bytes",
|
||||
"offset": len(compile_config) + len(part),
|
||||
"size": len(graph),
|
||||
}
|
||||
}
|
||||
|
||||
index = json.dumps(
|
||||
{
|
||||
"version": 8 if table else 7,
|
||||
"signature": "DXNN",
|
||||
"size": 8192,
|
||||
"data": data,
|
||||
}
|
||||
).encode()
|
||||
|
||||
path = os.path.join(directory, name)
|
||||
with open(path, "wb") as model:
|
||||
model.write(b"DXNN" + struct.pack("<I", 8))
|
||||
model.write(index.ljust(8192 - 8, b"\0"))
|
||||
model.write(compile_config + part + graph)
|
||||
|
||||
return path
|
||||
|
||||
|
||||
def layout_of(shapes, num_classes, ppu=False, dynamic_output=False) -> YoloLayout:
|
||||
return infer_yolo_layout(shapes, num_classes, ppu, dynamic_output).layout
|
||||
|
||||
|
||||
class TestDeepxModelFile(unittest.TestCase):
|
||||
def setUp(self):
|
||||
self.tmp = tempfile.TemporaryDirectory()
|
||||
self.addCleanup(self.tmp.cleanup)
|
||||
|
||||
def layout(self, ppu, layers, **kwargs) -> PpuLayout | None:
|
||||
return read_ppu_layout(write_dxnn(self.tmp.name, ppu, layers, **kwargs))
|
||||
|
||||
def test_the_head_kind_and_one_grid_per_scale_are_read(self):
|
||||
cases = {
|
||||
"anchor-based: three anchors per scale collapse to one grid each": (
|
||||
(ANCHOR_BASED_PPU, THREE_SCALE_ANCHORS, {}),
|
||||
PpuLayout(anchor_based=True, grids=((80, 80), (40, 40), (20, 20))),
|
||||
),
|
||||
"anchor-free, one scale flattened into a single tensor": (
|
||||
(ANCHOR_FREE_PPU, ONE_SCALE_FREE, {"box_format": "centre"}),
|
||||
PpuLayout(anchor_based=False, grids=((100, 84),), centre_boxes=True),
|
||||
),
|
||||
"a head kind the compiler does not name still yields the scales": (
|
||||
({"type": 7}, [(80, 80, 3), (40, 40, 3)], {}),
|
||||
PpuLayout(anchor_based=None, grids=((80, 80), (40, 40))),
|
||||
),
|
||||
"no table: the per-anchor split says anchor-based": (
|
||||
({"num_classes": 80}, THREE_SCALE_ANCHORS, {"table": False}),
|
||||
PpuLayout(anchor_based=True, grids=((80, 80), (40, 40), (20, 20))),
|
||||
),
|
||||
"no table: compile_config places the scales ahead of the names": (
|
||||
(
|
||||
{
|
||||
"type": 1,
|
||||
"outputs": {
|
||||
f"PPU_Transpose_Output_{i}": {"conv_idx": 2 - i}
|
||||
for i in range(3)
|
||||
},
|
||||
},
|
||||
[(20, 20, 1), (40, 40, 1), (80, 80, 1)],
|
||||
{"table": False},
|
||||
),
|
||||
PpuLayout(anchor_based=False, grids=((80, 80), (40, 40), (20, 20))),
|
||||
),
|
||||
"no table: every scale in one (1, cells, channels) tensor": (
|
||||
(ANCHOR_FREE_PPU, [(8400, 1, 1)], {"table": False}),
|
||||
PpuLayout(anchor_based=False, grids=((8400, 1),)),
|
||||
),
|
||||
}
|
||||
|
||||
for head, ((ppu, layers, kwargs), expected) in cases.items():
|
||||
with self.subTest(head=head):
|
||||
self.assertEqual(self.layout(ppu, layers, **kwargs), expected)
|
||||
|
||||
def test_the_box_format_comes_from_the_compiled_graph(self):
|
||||
for box_format, centre in (
|
||||
("centre", True),
|
||||
("corner", False),
|
||||
("unnamed", True),
|
||||
):
|
||||
with self.subTest(box_format=box_format):
|
||||
self.assertEqual(
|
||||
self.layout(ANCHOR_FREE_PPU, ONE_SCALE_FREE, box_format=box_format),
|
||||
PpuLayout(
|
||||
anchor_based=False, grids=((100, 84),), centre_boxes=centre
|
||||
),
|
||||
)
|
||||
|
||||
def test_a_box_format_the_graph_does_not_answer_is_left_open(self):
|
||||
cases = {
|
||||
"no compiled graph at all": (ANCHOR_FREE_PPU, ONE_SCALE_FREE, {}),
|
||||
"a graph without the node compile_config names": (
|
||||
dict(ANCHOR_FREE_PPU, layer=[{"bbox": "/head/Missing"}]),
|
||||
ONE_SCALE_FREE,
|
||||
{"box_format": "centre"},
|
||||
),
|
||||
"a graph that builds its boxes from neither shape": (
|
||||
ANCHOR_FREE_PPU,
|
||||
ONE_SCALE_FREE,
|
||||
{"box_format": "neither"},
|
||||
),
|
||||
"a graph section the reader cannot make sense of": (
|
||||
ANCHOR_FREE_PPU,
|
||||
ONE_SCALE_FREE,
|
||||
{"box_format": "broken"},
|
||||
),
|
||||
"a grid-decoded head, where the question does not arise": (
|
||||
ANCHOR_FREE_PPU,
|
||||
THREE_SCALE_FREE,
|
||||
{"box_format": "centre"},
|
||||
),
|
||||
}
|
||||
|
||||
for graph, (ppu, layers, kwargs) in cases.items():
|
||||
with self.subTest(graph=graph):
|
||||
self.assertIsNone(self.layout(ppu, layers, **kwargs).centre_boxes)
|
||||
|
||||
def test_nothing_is_read_from_a_model_without_ppu_metadata(self):
|
||||
self.assertIsNone(read_ppu_layout(os.path.join(self.tmp.name, "missing")))
|
||||
|
||||
path = write_dxnn(self.tmp.name, None, [(80, 80, 3)])
|
||||
self.assertIsNone(read_ppu_layout(path))
|
||||
|
||||
with open(path, "wb") as model:
|
||||
model.write(b"ONNX" + b"\0" * 100)
|
||||
self.assertIsNone(read_ppu_layout(path))
|
||||
|
||||
path = write_dxnn(self.tmp.name, ANCHOR_BASED_PPU, [(80, 80, 3), (40, 40, 3)])
|
||||
os.truncate(path, os.path.getsize(path) - 40)
|
||||
self.assertIsNone(read_ppu_layout(path))
|
||||
|
||||
|
||||
class TestDeepxLayoutInference(unittest.TestCase):
|
||||
def test_a_shape_and_class_count_pick_one_layout(self):
|
||||
cases = {
|
||||
"anchor-free, four columns ahead of the classes": (
|
||||
[(1, 84, 8400)],
|
||||
80,
|
||||
YoloLayout.anchor_free,
|
||||
84,
|
||||
),
|
||||
"anchor-free, row-major": ([(1, 8400, 84)], 80, YoloLayout.anchor_free, 84),
|
||||
"anchor-based, an objectness column as well": (
|
||||
[(1, 25200, 85)],
|
||||
80,
|
||||
YoloLayout.anchor,
|
||||
85,
|
||||
),
|
||||
"anchor-based, channel-major": (
|
||||
[(1, 85, 25200)],
|
||||
80,
|
||||
YoloLayout.anchor,
|
||||
85,
|
||||
),
|
||||
"NMS in the head, a fixed run of corner records": (
|
||||
[(1, 300, 6)],
|
||||
80,
|
||||
YoloLayout.nms_in_head,
|
||||
None,
|
||||
),
|
||||
# only the label map can tell these two apart
|
||||
"85 columns with 81 classes is anchor-free": (
|
||||
[(1, 8400, 85)],
|
||||
81,
|
||||
YoloLayout.anchor_free,
|
||||
85,
|
||||
),
|
||||
"85 columns with 80 classes is anchor-based": (
|
||||
[(1, 8400, 85)],
|
||||
80,
|
||||
YoloLayout.anchor,
|
||||
85,
|
||||
),
|
||||
# 6 columns is all three layouts, told apart by the row count
|
||||
"6 columns and thousands of rows, one class": (
|
||||
[(1, 25200, 6)],
|
||||
1,
|
||||
YoloLayout.anchor,
|
||||
6,
|
||||
),
|
||||
"6 columns and thousands of rows, two classes": (
|
||||
[(1, 8400, 6)],
|
||||
2,
|
||||
YoloLayout.anchor_free,
|
||||
6,
|
||||
),
|
||||
"6 columns and a few hundred rows, one class": (
|
||||
[(1, 300, 6)],
|
||||
1,
|
||||
YoloLayout.nms_in_head,
|
||||
None,
|
||||
),
|
||||
"7 columns with two classes is only anchor-based": (
|
||||
[(1, 8400, 7)],
|
||||
2,
|
||||
YoloLayout.anchor,
|
||||
7,
|
||||
),
|
||||
# a square output matches the same width on both axes, which must
|
||||
# not read as two candidate layouts
|
||||
"a square output is not ambiguous with itself": (
|
||||
[(1, 85, 85)],
|
||||
80,
|
||||
YoloLayout.anchor,
|
||||
85,
|
||||
),
|
||||
"three NCHW maps with 255 channels are feature maps": (
|
||||
[(1, 255, 80, 80), (1, 255, 40, 40), (1, 255, 20, 20)],
|
||||
80,
|
||||
YoloLayout.multipart,
|
||||
None,
|
||||
),
|
||||
}
|
||||
|
||||
for head, (shapes, num_classes, layout, columns) in cases.items():
|
||||
with self.subTest(head=head):
|
||||
output = infer_yolo_layout(shapes, num_classes, False, False)
|
||||
|
||||
self.assertIs(output.layout, layout)
|
||||
if columns is not None:
|
||||
self.assertEqual(output.columns, columns)
|
||||
|
||||
def test_the_runtime_flags_outrank_the_shapes(self):
|
||||
self.assertIs(layout_of([(8400,)], 80, ppu=True), YoloLayout.ppu)
|
||||
self.assertIs(
|
||||
layout_of([(1, -1, 6)], 80, dynamic_output=True), YoloLayout.nms_in_head
|
||||
)
|
||||
|
||||
def test_a_shape_no_layout_fits_is_refused_with_the_reason(self):
|
||||
cases = {
|
||||
"fits two layouts": ([(1, 84, 6)], 80),
|
||||
"labelmap_path": ([(1, 8400, 84)], 91),
|
||||
"no output tensor": ([], 80),
|
||||
"255 channels": (
|
||||
[(1, 80, 80, 255), (1, 40, 40, 255), (1, 20, 20, 255)],
|
||||
80,
|
||||
),
|
||||
"feature maps": ([(1, 8400, 80), (1, 8400, 4)], 80),
|
||||
"80-class": ([(1, 24, 80, 80), (1, 24, 40, 40), (1, 24, 20, 20)], 3),
|
||||
}
|
||||
|
||||
for reason, (shapes, num_classes) in cases.items():
|
||||
with (
|
||||
self.subTest(reason=reason),
|
||||
self.assertRaisesRegex(ValueError, reason),
|
||||
):
|
||||
layout_of(shapes, num_classes)
|
||||
|
||||
|
||||
class TestDeepxOutputValidation(unittest.TestCase):
|
||||
def test_the_raw_yolox_head_is_read_for_the_configured_input(self):
|
||||
for shapes, size in (
|
||||
([(1, 8400, 85)], 640),
|
||||
([(1, 85, 8400)], 640),
|
||||
# 52*52 + 26*26 + 13*13 cells at 416
|
||||
([(1, 3549, 85)], 416),
|
||||
):
|
||||
with self.subTest(shapes=shapes, size=size):
|
||||
self.assertEqual(validate_yolox_outputs(shapes, 80, size, size), 85)
|
||||
|
||||
def test_another_head_under_yolox_is_refused_with_the_reason(self):
|
||||
cases = {
|
||||
"width and height": ([(1, 8400, 85)], 80, 416),
|
||||
"labelmap_path": ([(1, 8400, 85)], 91, 640),
|
||||
"yolo-generic": ([(1, 8400, 80), (1, 8400, 4)], 80, 640),
|
||||
}
|
||||
|
||||
for reason, (shapes, num_classes, size) in cases.items():
|
||||
with (
|
||||
self.subTest(reason=reason),
|
||||
self.assertRaisesRegex(ValueError, reason),
|
||||
):
|
||||
validate_yolox_outputs(shapes, num_classes, size, size)
|
||||
|
||||
def test_the_label_map_bounds_the_class_count(self):
|
||||
self.assertEqual(class_count({0: "person", 79: "toothbrush"}), 80)
|
||||
|
||||
with self.assertRaisesRegex(ValueError, "labelmap_path"):
|
||||
class_count({})
|
||||
|
||||
|
||||
class TestDeepxRawDecode(unittest.TestCase):
|
||||
def anchor_rows(self, rows) -> list:
|
||||
out = np.zeros((1, len(rows), 85), dtype=np.float32)
|
||||
|
||||
for i, (cx, cy, w, h, obj, label, score) in enumerate(rows):
|
||||
out[0, i, 0:4] = [cx, cy, w, h]
|
||||
out[0, i, 4] = obj
|
||||
out[0, i, 5 + label] = score
|
||||
|
||||
return [out]
|
||||
|
||||
def test_an_anchor_based_head_becomes_normalized_corners(self):
|
||||
outputs = self.anchor_rows([(320.0, 160.0, 64.0, 32.0, 0.8, 3, 0.5)])
|
||||
|
||||
detections = decode_raw_anchor(outputs, 640, 640, 0.25, 0.45)
|
||||
|
||||
self.assertEqual(detections[0][0], 3)
|
||||
self.assertAlmostEqual(detections[0][1], 0.4, places=5)
|
||||
self.assertAlmostEqual(detections[0][2], 144 / 640, places=5)
|
||||
self.assertAlmostEqual(detections[0][3], 288 / 640, places=5)
|
||||
self.assertAlmostEqual(detections[0][4], 176 / 640, places=5)
|
||||
self.assertAlmostEqual(detections[0][5], 352 / 640, places=5)
|
||||
|
||||
def test_a_channel_major_export_is_read_by_column_count(self):
|
||||
outputs = self.anchor_rows([(320.0, 160.0, 64.0, 32.0, 1.0, 3, 0.9)])
|
||||
|
||||
detections = decode_raw_anchor(
|
||||
[np.swapaxes(outputs[0], 1, 2)], 640, 640, 0.25, 0.45, columns=85
|
||||
)
|
||||
|
||||
self.assertEqual(detections[0][0], 3)
|
||||
self.assertAlmostEqual(detections[0][3], 288 / 640, places=5)
|
||||
|
||||
def test_rows_below_the_combined_threshold_are_dropped(self):
|
||||
# 0.4 * 0.5 = 0.2, under the threshold both parts clear on their own
|
||||
outputs = self.anchor_rows([(320.0, 320.0, 40.0, 80.0, 0.4, 3, 0.5)])
|
||||
|
||||
self.assertTrue(np.all(decode_raw_anchor(outputs, 640, 640, 0.25, 0.45) == 0))
|
||||
|
||||
def test_at_most_twenty_detections_are_returned(self):
|
||||
rows = [(20.0 + 24 * i, 320.0, 16.0, 16.0, 1.0, i % 80, 0.9) for i in range(25)]
|
||||
|
||||
detections = decode_raw_anchor(self.anchor_rows(rows), 640, 640, 0.25, 0.45)
|
||||
|
||||
self.assertEqual(detections.shape, (20, 6))
|
||||
self.assertEqual(int((detections[:, 1] > 0).sum()), 20)
|
||||
|
||||
def test_an_nms_in_head_output_is_read_without_running_nms(self):
|
||||
out = np.array(
|
||||
[
|
||||
[
|
||||
[100.0, 100.0, 200.0, 200.0, 0.9, 2.0],
|
||||
[102.0, 102.0, 202.0, 202.0, 0.8, 2.0],
|
||||
[300.0, 300.0, 400.0, 400.0, 0.1, 5.0],
|
||||
]
|
||||
],
|
||||
dtype=np.float32,
|
||||
)
|
||||
|
||||
detections = decode_raw_nms_in_head([out], 640, 640, 0.25)
|
||||
|
||||
self.assertEqual(detections[0][0], 2)
|
||||
self.assertAlmostEqual(detections[0][1], 0.9, places=5)
|
||||
self.assertAlmostEqual(detections[0][3], 100 / 640, places=5)
|
||||
self.assertEqual(detections[1][0], 2)
|
||||
self.assertAlmostEqual(detections[1][1], 0.8, places=5)
|
||||
self.assertTrue(np.all(detections[2] == 0))
|
||||
|
||||
empty = np.zeros((1, 0, 6), dtype=np.float32)
|
||||
self.assertTrue(np.all(decode_raw_nms_in_head([empty], 640, 640, 0.25) == 0))
|
||||
|
||||
|
||||
class TestDeepxConfig(unittest.TestCase):
|
||||
def test_a_device_string_resolves_to_an_npu_index(self):
|
||||
for configured, index in (("PCIe:1", 1), ("2", 2), ("", 0)):
|
||||
with self.subTest(device=configured):
|
||||
self.assertEqual(resolve_device(configured), index)
|
||||
|
||||
def test_a_device_that_is_not_an_index_is_rejected(self):
|
||||
"""The whole string has to be an index. Reading only the tail would
|
||||
take the 1 out of "PCIe:0,PCIe:1" and bind to an NPU the config never
|
||||
named, and several NPUs are configured as separate devices entries."""
|
||||
for configured in (
|
||||
"PCIe:the-fast-one",
|
||||
"PCIe:0,PCIe:1",
|
||||
"0,1",
|
||||
"PCIe:0 PCIe:1",
|
||||
"PCIe:-1",
|
||||
"PCIe:",
|
||||
):
|
||||
with self.subTest(device=configured):
|
||||
with self.assertRaises(ValueError):
|
||||
resolve_device(configured)
|
||||
|
||||
with self.assertRaises(ValidationError):
|
||||
DeepxDetectorConfig(type="deepx", device=configured)
|
||||
|
||||
def test_a_bad_device_is_refused_where_the_config_is_parsed(self):
|
||||
"""parse_device builds the detector config to surface a bad device at
|
||||
startup, so the comma-separated form fails there rather than binding a
|
||||
detector process to the wrong NPU."""
|
||||
self.assertEqual(parse_device("deepx:PCIe:1").device, "PCIe:1")
|
||||
|
||||
for raw in ("deepx:PCIe:0,PCIe:1", "deepx:the-fast-one"):
|
||||
with self.subTest(raw=raw), self.assertRaises(DeviceParseError):
|
||||
parse_device(raw)
|
||||
|
||||
def test_a_device_string_builds_this_detector_config(self):
|
||||
"""Frigate turns a `deepx:PCIe:0` entry into the detector config with
|
||||
the model already attached, which is the path app.py takes; a bare
|
||||
constructor call does not exercise it."""
|
||||
config = build_detector_config(
|
||||
parse_device("deepx:PCIe:0"), model_with_type(ModelTypeEnum.yologeneric)
|
||||
)
|
||||
|
||||
self.assertIsInstance(config, DeepxDetectorConfig)
|
||||
self.assertEqual(config.device, "PCIe:0")
|
||||
self.assertEqual(config.model.model_type, ModelTypeEnum.yologeneric)
|
||||
|
||||
def test_the_runtime_manifest_pins_its_wheels_to_the_version(self):
|
||||
"""A PyPI path carries a per-file digest, so bumping DXRT_VERSION has
|
||||
to rewrite the whole URL; a stale one installs the old wheel and fails
|
||||
the sha256 on every user's first start."""
|
||||
self.assertEqual(DEEPX_MANIFEST.version, DXRT_VERSION)
|
||||
|
||||
for artifact in DEEPX_MANIFEST.artifacts:
|
||||
with self.subTest(url=artifact.url):
|
||||
self.assertIn(f"dx_engine-{DXRT_VERSION}-", artifact.url)
|
||||
|
||||
def test_a_model_less_config_still_validates(self):
|
||||
config = DeepxDetectorConfig(type="deepx")
|
||||
|
||||
self.assertIsNone(config.model)
|
||||
|
||||
|
||||
class DeepxDetectorTestCase(unittest.TestCase):
|
||||
def detector(
|
||||
self,
|
||||
model_type=ModelTypeEnum.yologeneric,
|
||||
outputs_info=None,
|
||||
ppu=False,
|
||||
dynamic=False,
|
||||
model_path="/nonexistent/model.dxnn",
|
||||
) -> DeepxDetector:
|
||||
dx_engine = MagicMock()
|
||||
dx_engine.Configuration.ITEM.SERVICE = object()
|
||||
session = dx_engine.InferenceEngine.return_value
|
||||
session.get_output_tensors_info.return_value = (
|
||||
[{"shape": [8400]}] if ppu else outputs_info or []
|
||||
)
|
||||
session.is_ppu.return_value = ppu
|
||||
session.has_dynamic_output.return_value = dynamic
|
||||
|
||||
config = DeepxDetectorConfig(type="deepx")
|
||||
config.model = model_with_type(model_type)
|
||||
config.model.path = model_path
|
||||
|
||||
with (
|
||||
# the detector writes the endpoint into the environment, which the
|
||||
# rest of the suite shares when it runs in one process
|
||||
patch.dict(os.environ),
|
||||
patch.dict(sys.modules, {"dx_engine": dx_engine}),
|
||||
patch.object(DeepxDetector, "activate_dependencies"),
|
||||
patch("os.path.isfile", return_value=True),
|
||||
):
|
||||
return DeepxDetector(config)
|
||||
|
||||
def ppu_detector(
|
||||
self, ppu, layers, model_type=ModelTypeEnum.yologeneric, box_format=None
|
||||
) -> DeepxDetector:
|
||||
tmp = tempfile.TemporaryDirectory()
|
||||
self.addCleanup(tmp.cleanup)
|
||||
|
||||
return self.detector(
|
||||
model_type,
|
||||
ppu=True,
|
||||
model_path=write_dxnn(tmp.name, ppu, layers, box_format=box_format),
|
||||
)
|
||||
|
||||
def detect(self, detector, outputs) -> np.ndarray:
|
||||
detector.session.run.return_value = outputs
|
||||
return detector.detect_raw(np.zeros((1, 640, 640, 3), np.uint8))
|
||||
|
||||
|
||||
class TestDeepxModelType(DeepxDetectorTestCase):
|
||||
def test_a_model_type_with_no_decoder_is_rejected(self):
|
||||
for model_type in (ModelTypeEnum.ssd, ModelTypeEnum.dfine):
|
||||
with (
|
||||
self.subTest(model_type=model_type),
|
||||
self.assertRaisesRegex(ValueError, model_type.value),
|
||||
):
|
||||
self.detector(model_type)
|
||||
|
||||
def test_supported_model_types_are_accepted(self):
|
||||
for model_type, outputs_info in (
|
||||
(ModelTypeEnum.yologeneric, [{"shape": [1, 84, 8400]}]),
|
||||
(ModelTypeEnum.yolox, [{"shape": [1, 8400, 85]}]),
|
||||
):
|
||||
with self.subTest(model_type=model_type):
|
||||
detector = self.detector(model_type, outputs_info)
|
||||
|
||||
self.assertEqual(detector.model_type, model_type)
|
||||
|
||||
|
||||
class TestDeepxDetectorLoad(DeepxDetectorTestCase):
|
||||
def test_the_layout_is_settled_at_load(self):
|
||||
detector = self.detector(ModelTypeEnum.yologeneric, [{"shape": [1, 84, 8400]}])
|
||||
self.assertIs(detector.output.layout, YoloLayout.anchor_free)
|
||||
self.assertEqual(detector.output.columns, 84)
|
||||
|
||||
detector = self.detector(ModelTypeEnum.yolox, [{"shape": [1, 8400, 85]}])
|
||||
self.assertIs(detector.output.layout, YoloLayout.yolox)
|
||||
|
||||
for model_type in (ModelTypeEnum.yologeneric, ModelTypeEnum.yolox):
|
||||
with self.subTest(model_type=model_type):
|
||||
detector = self.ppu_detector(
|
||||
ANCHOR_FREE_PPU, THREE_SCALE_FREE, model_type=model_type
|
||||
)
|
||||
|
||||
self.assertIs(detector.output.layout, YoloLayout.ppu)
|
||||
self.assertEqual(detector.ppu_layout.scale_count, 3)
|
||||
|
||||
def test_a_model_the_detector_cannot_decode_is_refused_at_load(self):
|
||||
cases = {
|
||||
"Cannot decode DEEPX model": lambda: self.detector(
|
||||
ModelTypeEnum.yologeneric, [{"shape": [1, 8400, 7]}]
|
||||
),
|
||||
"DX-COM 2.4.0": lambda: self.detector(ModelTypeEnum.yologeneric, ppu=True),
|
||||
"face and pose": lambda: self.ppu_detector({"type": 2}, [(80, 80, 1)]),
|
||||
"centre and size or as two corners": lambda: self.ppu_detector(
|
||||
ANCHOR_FREE_PPU, ONE_SCALE_FREE
|
||||
),
|
||||
}
|
||||
|
||||
for reason, load in cases.items():
|
||||
with (
|
||||
self.subTest(reason=reason),
|
||||
self.assertRaisesRegex(ValueError, reason),
|
||||
):
|
||||
load()
|
||||
|
||||
|
||||
class TestDeepxDetectRaw(DeepxDetectorTestCase):
|
||||
def test_a_ppu_record_decodes_by_the_head_in_the_model(self):
|
||||
cases = {
|
||||
"anchor-based, layer 2 of 3 at stride 32, the 373x326 anchor": (
|
||||
(ANCHOR_BASED_PPU, THREE_SCALE_ANCHORS, None),
|
||||
build_ppu_record((0.6, 0.4, 0.3, 0.7), label=5),
|
||||
(5, (0.0, 0.380094, 0.864187, 0.589906)),
|
||||
),
|
||||
"anchor-based, layer 0 of 3 at stride 8, the 16x30 anchor": (
|
||||
(ANCHOR_BASED_PPU, THREE_SCALE_ANCHORS, None),
|
||||
build_ppu_record((0.6, 0.4, 0.3, 0.7), grid=(7, 9, 1, 0)),
|
||||
(0, (None, 0.116750, None, None)),
|
||||
),
|
||||
"anchor-based, two scales: layer 0 is stride 16, not stride 8": (
|
||||
(ANCHOR_BASED_PPU, TWO_SCALE_ANCHORS, None),
|
||||
build_ppu_record((0.6, 0.4, 0.3, 0.7), grid=(7, 9, 1, 0)),
|
||||
(0, (0.141156, 0.236031, 0.223844, 0.248969)),
|
||||
),
|
||||
"anchor-free, three scales: cell (10, 9) of stride 32": (
|
||||
(ANCHOR_FREE_PPU, THREE_SCALE_FREE, None),
|
||||
build_ppu_record((1.2, 0.5, 1.0, 0.5), grid=(9, 10, 0, 2), label=7),
|
||||
(7, (0.433782, 0.492043, 0.516218, 0.627957)),
|
||||
),
|
||||
"anchor-free, one scale: the box fields are already pixels": (
|
||||
(ANCHOR_FREE_PPU, ONE_SCALE_FREE, "centre"),
|
||||
build_ppu_record((320.0, 160.0, 64.0, 32.0), label=3),
|
||||
(3, (144 / 640, 288 / 640, 176 / 640, 352 / 640)),
|
||||
),
|
||||
"anchor-free, one scale: a sub-pixel box stays sub-pixel": (
|
||||
(ANCHOR_FREE_PPU, ONE_SCALE_FREE, "centre"),
|
||||
build_ppu_record((0.6, 0.4, 0.3, 0.7)),
|
||||
(0, (None, 0.45 / 640, None, None)),
|
||||
),
|
||||
"a corner-format head reads the record as two corners": (
|
||||
(ANCHOR_FREE_PPU, ONE_SCALE_FREE, "corner"),
|
||||
build_ppu_record((100.0, 50.0, 300.0, 250.0), label=2),
|
||||
(2, (50 / 640, 100 / 640, 250 / 640, 300 / 640)),
|
||||
),
|
||||
"a centre-format head reads it as a centre and size": (
|
||||
(ANCHOR_FREE_PPU, ONE_SCALE_FREE, "centre"),
|
||||
build_ppu_record((100.0, 50.0, 300.0, 250.0), label=2),
|
||||
(2, (0.0, 0.0, 175 / 640, 250 / 640)),
|
||||
),
|
||||
}
|
||||
|
||||
for head, ((ppu, layers, box_format), record, (label, box)) in cases.items():
|
||||
with self.subTest(head=head):
|
||||
detector = self.ppu_detector(ppu, layers, box_format=box_format)
|
||||
|
||||
detections = self.detect(detector, [record])
|
||||
|
||||
self.assertEqual(detections[0][0], label)
|
||||
for i, expected in enumerate(box, start=2):
|
||||
if expected is not None:
|
||||
self.assertAlmostEqual(detections[0][i], expected, places=5)
|
||||
|
||||
def test_the_strides_come_from_the_grids_in_the_model(self):
|
||||
detector = self.ppu_detector(
|
||||
ANCHOR_FREE_PPU, [(40, 40, 1), (20, 20, 1), (10, 10, 1)]
|
||||
)
|
||||
|
||||
detections = self.detect(
|
||||
detector,
|
||||
[build_ppu_record((1.2, 0.5, 1.0, 0.5), grid=(9, 10, 0, 0), label=7)],
|
||||
)
|
||||
|
||||
# layer 0 is stride 16: centre (11.2, 9.5) * 16, size e * 16 x sqrt(e) * 16
|
||||
self.assertEqual(detections[0][0], 7)
|
||||
self.assertAlmostEqual(detections[0][2], (152 - np.exp(0.5) * 8) / 640, 5)
|
||||
self.assertAlmostEqual(detections[0][3], (179.2 - np.exp(1.0) * 8) / 640, 5)
|
||||
|
||||
def test_the_head_stays_what_the_model_said_across_frames(self):
|
||||
detector = self.ppu_detector(ANCHOR_BASED_PPU, THREE_SCALE_ANCHORS)
|
||||
|
||||
first = self.detect(
|
||||
detector, [build_ppu_record((0.6, 0.4, 0.3, 0.7), grid=(7, 9, 1, 0))]
|
||||
)
|
||||
# layer 0 of 3: stride 8, anchor 16x30
|
||||
self.assertAlmostEqual(first[0][3], 0.116750, places=5)
|
||||
|
||||
second = self.detect(
|
||||
detector, [build_ppu_record((0.5, 0.5, 0.4, 0.4), grid=(3, 4, 0, 1))]
|
||||
)
|
||||
# layer 1 of 3: stride 16, anchor 30x61, not layer 1 of 2
|
||||
self.assertAlmostEqual(second[0][3], 0.0975, places=5)
|
||||
|
||||
detector = self.ppu_detector(
|
||||
ANCHOR_FREE_PPU, ONE_SCALE_FREE, box_format="centre"
|
||||
)
|
||||
record = [build_ppu_record((100.0, 50.0, 300.0, 250.0), label=2)]
|
||||
# centre (100, 50), size 300 x 250: the right edge lands at 250
|
||||
for frame in range(2):
|
||||
with self.subTest(frame=frame):
|
||||
self.assertAlmostEqual(
|
||||
self.detect(detector, record)[0][5], 250 / 640, places=5
|
||||
)
|
||||
|
||||
def test_records_the_head_cannot_place_come_back_empty(self):
|
||||
cases = {
|
||||
"a level or box the anchor table does not carry": (
|
||||
THREE_SCALE_ANCHORS,
|
||||
[build_ppu_record((0.6, 0.4, 0.3, 0.7), grid=(7, 9, 2, 5))],
|
||||
),
|
||||
"a scale count Frigate has no anchor table for": (
|
||||
FOUR_SCALE_ANCHORS,
|
||||
[build_ppu_record((0.6, 0.4, 0.3, 0.7))],
|
||||
),
|
||||
"a record below the score threshold": (
|
||||
THREE_SCALE_ANCHORS,
|
||||
[build_ppu_record((0.6, 0.4, 0.3, 0.7), score=0.1)],
|
||||
),
|
||||
"an unexpected record width": (
|
||||
THREE_SCALE_ANCHORS,
|
||||
[np.zeros((1, 3, 16), dtype=np.uint8)],
|
||||
),
|
||||
**{
|
||||
f"no records at all, shaped {shape}": (
|
||||
THREE_SCALE_ANCHORS,
|
||||
[np.zeros(shape, dtype=np.uint8)],
|
||||
)
|
||||
for shape in ((1, 0, PPU_RECORD_SIZE), (0, PPU_RECORD_SIZE), (0,))
|
||||
},
|
||||
}
|
||||
|
||||
for output, (layers, outputs) in cases.items():
|
||||
with self.subTest(output=output):
|
||||
detector = self.ppu_detector(ANCHOR_BASED_PPU, layers)
|
||||
|
||||
self.assertTrue(np.all(self.detect(detector, outputs) == 0))
|
||||
|
||||
def test_a_yolox_raw_head_is_decoded_through_the_grid(self):
|
||||
detector = self.detector(ModelTypeEnum.yolox, [{"shape": [1, 8400, 85]}])
|
||||
|
||||
# cell (x 10, y 5) of the stride-8 grid is row 5 * 80 + 10
|
||||
tensor = np.zeros((1, 8400, 85), np.float32)
|
||||
tensor[0, 410, :5] = [0.5, 0.5, np.log(4.0), np.log(2.0), 0.9]
|
||||
tensor[0, 410, 5 + 7] = 0.8
|
||||
|
||||
detections = self.detect(detector, [tensor])
|
||||
|
||||
# centre (84, 44), size 32 x 16
|
||||
self.assertEqual(detections[0][0], 7)
|
||||
self.assertAlmostEqual(detections[0][1], 0.72, places=5)
|
||||
self.assertAlmostEqual(detections[0][2], 36 / 640, places=5)
|
||||
self.assertAlmostEqual(detections[0][3], 68 / 640, places=5)
|
||||
self.assertAlmostEqual(detections[0][4], 52 / 640, places=5)
|
||||
self.assertAlmostEqual(detections[0][5], 100 / 640, places=5)
|
||||
|
||||
detector = self.detector(ModelTypeEnum.yolox, [{"shape": [1, 85, 8400]}])
|
||||
detections = self.detect(detector, [np.swapaxes(tensor, 1, 2)])
|
||||
self.assertAlmostEqual(detections[0][5], 100 / 640, places=5)
|
||||
|
||||
def test_a_raw_head_comes_back_as_frigates_detection_rows(self):
|
||||
detector = self.detector(ModelTypeEnum.yologeneric, [{"shape": [1, 84, 8400]}])
|
||||
output = np.zeros((1, 84, 8400), dtype=np.float32)
|
||||
output[0, 0:4, 0] = [320.0, 160.0, 64.0, 32.0]
|
||||
output[0, 4 + 2, 0] = 0.9
|
||||
|
||||
detections = self.detect(detector, [output])
|
||||
|
||||
self.assertEqual(detections.shape, (20, 6))
|
||||
self.assertEqual(detections[0][0], 2)
|
||||
self.assertAlmostEqual(detections[0][1], 0.9, places=5)
|
||||
self.assertAlmostEqual(detections[0][3], 288 / 640, places=5)
|
||||
@@ -184,6 +184,26 @@ class TestAccelerators(HardwareProbeTestCase):
|
||||
)
|
||||
self.assertFalse(memryx.unlimited)
|
||||
|
||||
def test_each_deepx_node_is_a_unit(self):
|
||||
write(os.path.join(self.dev_root, "dxrt0"))
|
||||
write(os.path.join(self.dev_root, "dxrt1"))
|
||||
|
||||
deepx = self.probe()["deepx"]
|
||||
|
||||
self.assertEqual(
|
||||
[unit.device for unit in deepx.units],
|
||||
["deepx:PCIe:0", "deepx:PCIe:1"],
|
||||
)
|
||||
|
||||
def test_a_deepx_npu_is_unlimited(self):
|
||||
# the host daemon multiplexes, so one module takes several processes
|
||||
write(os.path.join(self.dev_root, "dxrt0"))
|
||||
|
||||
self.assertTrue(self.probe()["deepx"].unlimited)
|
||||
|
||||
def test_no_deepx_is_reported_without_a_node(self):
|
||||
self.assertNotIn("deepx", self.probe())
|
||||
|
||||
def test_a_supported_rockchip_soc_is_reported(self):
|
||||
write(
|
||||
os.path.join(self.proc_root, "device-tree", "compatible"),
|
||||
|
||||
@@ -0,0 +1,54 @@
|
||||
"""Tests for get_dst_transitions."""
|
||||
|
||||
import datetime
|
||||
import unittest
|
||||
|
||||
from frigate.util.time import get_dst_transitions
|
||||
|
||||
|
||||
class TestDstTransitions(unittest.TestCase):
|
||||
def test_dst_transition_splits_periods_at_the_transition(self):
|
||||
start = datetime.datetime(2026, 3, 7, 12, tzinfo=datetime.UTC).timestamp()
|
||||
end = start + 2 * 86400
|
||||
spring = datetime.datetime(2026, 3, 8, 7, tzinfo=datetime.UTC).timestamp()
|
||||
self.assertEqual(
|
||||
get_dst_transitions("America/New_York", start, end),
|
||||
[(start, spring, -18000), (spring, end, -14400)],
|
||||
)
|
||||
|
||||
def test_dst_transition_is_not_reported_a_day_late(self):
|
||||
# local midnight on the day of the change used to report the
|
||||
# transition a full day after it actually happened
|
||||
start = datetime.datetime(2024, 3, 10, 5, tzinfo=datetime.UTC).timestamp()
|
||||
end = start + 3 * 86400
|
||||
spring = datetime.datetime(2024, 3, 10, 7, tzinfo=datetime.UTC).timestamp()
|
||||
self.assertEqual(
|
||||
get_dst_transitions("America/New_York", start, end),
|
||||
[(start, spring, -18000), (spring, end, -14400)],
|
||||
)
|
||||
|
||||
def test_dst_transition_after_the_last_daily_probe_is_found(self):
|
||||
start = datetime.datetime(2024, 11, 2, 12, tzinfo=datetime.UTC).timestamp()
|
||||
end = datetime.datetime(2024, 11, 3, 10, tzinfo=datetime.UTC).timestamp()
|
||||
fall = datetime.datetime(2024, 11, 3, 6, tzinfo=datetime.UTC).timestamp()
|
||||
self.assertEqual(
|
||||
get_dst_transitions("America/New_York", start, end),
|
||||
[(start, fall, -14400), (fall, end, -18000)],
|
||||
)
|
||||
|
||||
def test_no_transition_returns_a_single_period(self):
|
||||
start = datetime.datetime(2026, 6, 1, tzinfo=datetime.UTC).timestamp()
|
||||
end = start + 5 * 86400
|
||||
self.assertEqual(
|
||||
get_dst_transitions("America/New_York", start, end),
|
||||
[(start, end, -14400)],
|
||||
)
|
||||
|
||||
def test_invalid_zone_retains_utc_fallback(self):
|
||||
self.assertEqual(
|
||||
get_dst_transitions("Invalid/Timezone", 100, 200), [(100, 200, 0)]
|
||||
)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main(verbosity=2)
|
||||
@@ -580,6 +580,15 @@ class TestLlamaCppProvider(unittest.TestCase):
|
||||
client = self._validated_client(4096, {"context_size": 32768})
|
||||
self.assertEqual(client.get_context_size(), 32768)
|
||||
|
||||
def test_list_models_dedupes_alias_matching_id(self):
|
||||
client = self._client()
|
||||
models_data = [
|
||||
{"id": "qwen3-asr", "aliases": ["qwen3-asr"]},
|
||||
{"id": "gemma", "aliases": ["gemma", "g4"]},
|
||||
]
|
||||
with patch.object(client, "_fetch_models_data", return_value=models_data):
|
||||
self.assertEqual(client.list_models(), ["g4", "gemma", "qwen3-asr"])
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# transcribe role
|
||||
|
||||
@@ -73,6 +73,35 @@ class TestImprovedMotionDetector(unittest.TestCase):
|
||||
"Motion boxes should be empty when scene change exceeds skip threshold",
|
||||
)
|
||||
|
||||
def _bright_frame(self, offset: int) -> np.ndarray:
|
||||
"""Produce a bright frame with a small dark object that moves."""
|
||||
frame = np.full((self.frame_shape[0], self.frame_shape[1]), 200, dtype=np.uint8)
|
||||
x = 10 + (offset * 5) % 60
|
||||
frame[40:60, x : x + 15] = 20
|
||||
return frame
|
||||
|
||||
def test_skip_motion_threshold_recovers_after_skip(self):
|
||||
"""Skipped frames must still be blended into the background.
|
||||
|
||||
A bright scene differs from the zeroed background across the whole
|
||||
frame, so the first frames are skipped. The background has to catch up
|
||||
anyway, otherwise motion detection never returns.
|
||||
"""
|
||||
self.config.skip_motion_threshold = 0.5
|
||||
self.config.improve_contrast = False
|
||||
self.detector.config = self.config
|
||||
self.detector.update_mask()
|
||||
|
||||
boxes = [len(self.detector.detect(self._bright_frame(i))) for i in range(40)]
|
||||
|
||||
self.assertEqual(boxes[0], 0, "First frame should exceed the skip threshold")
|
||||
self.assertGreater(
|
||||
self.detector.avg_frame.max(),
|
||||
0,
|
||||
"Background was never updated while frames were skipped",
|
||||
)
|
||||
self.assertTrue(any(boxes), "Motion detection never recovered after a skip")
|
||||
|
||||
def test_skip_motion_threshold_does_not_affect_calibration(self):
|
||||
"""Even when skipping, the detector should go into calibrating state."""
|
||||
self.config.skip_motion_threshold = 0.4
|
||||
|
||||
@@ -15,6 +15,8 @@ Also covers the inverse direction: the ptz movement timestamps must not be writt
|
||||
for a camera that has autotracking off, because nothing clears them back out.
|
||||
"""
|
||||
|
||||
import asyncio
|
||||
import threading
|
||||
import unittest
|
||||
from unittest.mock import AsyncMock, MagicMock
|
||||
|
||||
@@ -234,5 +236,40 @@ class TestManualRelativeMoveMetrics(unittest.IsolatedAsyncioTestCase):
|
||||
)
|
||||
|
||||
|
||||
class TestOnvifClose(unittest.TestCase):
|
||||
"""close() must release everything on the loop, since whatever it leaves is
|
||||
garbage collected during interpreter shutdown, where the resulting warnings
|
||||
fail to log and fill the shutdown output with logging errors."""
|
||||
|
||||
def setUp(self) -> None:
|
||||
self.controller = _make_controller(autotracking_enabled=False)
|
||||
self.onvif = self.controller.cams[CAMERA]["onvif"]
|
||||
self.onvif.close = AsyncMock()
|
||||
self.controller.config_subscriber = MagicMock()
|
||||
self.controller.loop = asyncio.new_event_loop()
|
||||
self.controller.loop_thread = threading.Thread(
|
||||
target=self.controller._run_event_loop, daemon=True
|
||||
)
|
||||
self.controller.loop_thread.start()
|
||||
self.addCleanup(self.controller.loop.close)
|
||||
|
||||
def test_close_closes_camera_sessions(self) -> None:
|
||||
self.controller.close()
|
||||
|
||||
self.onvif.close.assert_awaited_once()
|
||||
|
||||
def test_close_cancels_tasks_left_on_the_loop(self) -> None:
|
||||
async def forever() -> None:
|
||||
while True:
|
||||
await asyncio.sleep(1)
|
||||
|
||||
poll = asyncio.run_coroutine_threadsafe(forever(), self.controller.loop)
|
||||
|
||||
self.controller.close()
|
||||
|
||||
self.assertTrue(poll.cancelled())
|
||||
self.assertFalse(self.controller.loop_thread.is_alive())
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
|
||||
@@ -0,0 +1,55 @@
|
||||
"""Tests for restarting frigate under s6."""
|
||||
|
||||
import signal
|
||||
import unittest
|
||||
from unittest.mock import MagicMock, patch
|
||||
|
||||
import psutil
|
||||
|
||||
from frigate.util.services import restart_frigate
|
||||
|
||||
|
||||
class TestRestartFrigate(unittest.TestCase):
|
||||
def _s6_process(self) -> MagicMock:
|
||||
proc = MagicMock()
|
||||
proc.name.return_value = "s6-svscan"
|
||||
return proc
|
||||
|
||||
@patch("frigate.util.services.os.kill")
|
||||
@patch("frigate.util.services.psutil.Process")
|
||||
def test_terminates_s6_when_permitted(self, mock_process, mock_kill):
|
||||
proc = self._s6_process()
|
||||
mock_process.return_value = proc
|
||||
|
||||
restart_frigate()
|
||||
|
||||
proc.terminate.assert_called_once()
|
||||
mock_kill.assert_not_called()
|
||||
|
||||
@patch("frigate.util.services.os.getpid", return_value=99)
|
||||
@patch("frigate.util.services.os.kill")
|
||||
@patch("frigate.util.services.psutil.Process")
|
||||
def test_exits_self_when_s6_signal_is_denied(
|
||||
self, mock_process, mock_kill, _mock_getpid
|
||||
):
|
||||
"""Running unprivileged, frigate cannot signal root's s6-svscan."""
|
||||
proc = self._s6_process()
|
||||
proc.terminate.side_effect = psutil.AccessDenied(pid=1, name="s6-svscan")
|
||||
mock_process.return_value = proc
|
||||
|
||||
restart_frigate()
|
||||
|
||||
mock_kill.assert_called_once_with(99, signal.SIGINT)
|
||||
|
||||
@patch("frigate.util.services.os.getpid", return_value=99)
|
||||
@patch("frigate.util.services.os.kill")
|
||||
@patch("frigate.util.services.psutil.Process")
|
||||
def test_exits_self_without_s6(self, mock_process, mock_kill, _mock_getpid):
|
||||
proc = MagicMock()
|
||||
proc.name.return_value = "init"
|
||||
mock_process.return_value = proc
|
||||
|
||||
restart_frigate()
|
||||
|
||||
proc.terminate.assert_not_called()
|
||||
mock_kill.assert_called_once_with(99, signal.SIGINT)
|
||||
@@ -324,9 +324,7 @@ class NorfairTracker(ObjectTracker):
|
||||
):
|
||||
tracker = self.get_tracker(obj["label"])
|
||||
tracker.tracked_objects = [
|
||||
o
|
||||
for o in tracker.tracked_objects
|
||||
if str(o.global_id) != track_id and o.hit_counter < 0
|
||||
o for o in tracker.tracked_objects if str(o.global_id) != track_id
|
||||
]
|
||||
|
||||
del self.track_id_map[track_id]
|
||||
|
||||
@@ -49,6 +49,9 @@ def start_or_restart_ffmpeg(
|
||||
if ffmpeg_process is not None:
|
||||
stop_ffmpeg(ffmpeg_process, logger)
|
||||
|
||||
# flush after the stop so the logs cover ffmpeg's output up to exit
|
||||
logpipe.dump()
|
||||
|
||||
if frame_size is None:
|
||||
process = sp.Popen(
|
||||
ffmpeg_cmd,
|
||||
|
||||
@@ -35,12 +35,19 @@ logger = logging.getLogger(__name__)
|
||||
|
||||
def restart_frigate():
|
||||
proc = psutil.Process(1)
|
||||
|
||||
# if this is running via s6, sigterm pid 1
|
||||
if proc.name() == "s6-svscan":
|
||||
proc.terminate()
|
||||
try:
|
||||
proc.terminate()
|
||||
return
|
||||
except psutil.AccessDenied:
|
||||
# frigate runs unprivileged, so it cannot signal root's s6-svscan.
|
||||
# exiting this process instead runs frigate/finish, which halts s6
|
||||
logger.debug("Not permitted to signal s6-svscan, exiting instead")
|
||||
|
||||
# otherwise, just try and exit frigate
|
||||
else:
|
||||
os.kill(os.getpid(), signal.SIGINT)
|
||||
os.kill(os.getpid(), signal.SIGINT)
|
||||
|
||||
|
||||
def print_stack(sig, frame):
|
||||
|
||||
+40
-19
@@ -2,6 +2,7 @@
|
||||
|
||||
import datetime
|
||||
import logging
|
||||
import math
|
||||
from zoneinfo import ZoneInfoNotFoundError
|
||||
|
||||
import pytz
|
||||
@@ -43,9 +44,33 @@ def is_current_hour(timestamp: int) -> bool:
|
||||
return timestamp < start_of_next_hour
|
||||
|
||||
|
||||
def _utc_offset(tz: datetime.tzinfo, timestamp: float) -> float:
|
||||
dt = datetime.datetime.fromtimestamp(timestamp, tz=datetime.UTC)
|
||||
return dt.astimezone(tz).utcoffset().total_seconds()
|
||||
|
||||
|
||||
def _find_transition(
|
||||
tz: datetime.tzinfo, lo: float, hi: float, lo_offset: float
|
||||
) -> float:
|
||||
"""Bisect (lo, hi] to the second where the UTC offset first differs from lo_offset."""
|
||||
# whole seconds, so the midpoint always advances (a fractional bound can
|
||||
# otherwise leave the midpoint sitting on lo) and lands on the transition
|
||||
low = math.floor(lo)
|
||||
high = math.ceil(hi)
|
||||
|
||||
while high - low > 1:
|
||||
mid = (low + high) // 2
|
||||
if _utc_offset(tz, mid) == lo_offset:
|
||||
low = mid
|
||||
else:
|
||||
high = mid
|
||||
|
||||
return float(high)
|
||||
|
||||
|
||||
def get_dst_transitions(
|
||||
tz_name: str, start_time: float, end_time: float
|
||||
) -> list[tuple[float, float]]:
|
||||
) -> list[tuple[float, float, float]]:
|
||||
"""
|
||||
Find DST transition points and return time periods with consistent offsets.
|
||||
|
||||
@@ -66,28 +91,24 @@ def get_dst_transitions(
|
||||
|
||||
periods = []
|
||||
current = start_time
|
||||
|
||||
# Get initial offset
|
||||
dt = datetime.datetime.utcfromtimestamp(current).replace(tzinfo=pytz.UTC)
|
||||
local_dt = dt.astimezone(tz)
|
||||
prev_offset = local_dt.utcoffset().total_seconds()
|
||||
period_start = start_time
|
||||
prev_offset = _utc_offset(tz, current)
|
||||
|
||||
# Check each day for offset changes
|
||||
while current <= end_time:
|
||||
dt = datetime.datetime.utcfromtimestamp(current).replace(tzinfo=pytz.UTC)
|
||||
local_dt = dt.astimezone(tz)
|
||||
current_offset = local_dt.utcoffset().total_seconds()
|
||||
# Probe at most a day ahead, capped at end_time so a transition after the
|
||||
# last full day is still seen instead of silently kept in the last period.
|
||||
while current < end_time:
|
||||
next_probe = min(current + 86400, end_time)
|
||||
next_offset = _utc_offset(tz, next_probe)
|
||||
|
||||
if current_offset != prev_offset:
|
||||
# Found a transition - close previous period
|
||||
periods.append((period_start, current, prev_offset))
|
||||
period_start = current
|
||||
prev_offset = current_offset
|
||||
if next_offset != prev_offset:
|
||||
transition = _find_transition(tz, current, next_probe, prev_offset)
|
||||
periods.append((period_start, transition, prev_offset))
|
||||
period_start = transition
|
||||
prev_offset = _utc_offset(tz, transition)
|
||||
current = transition
|
||||
else:
|
||||
current = next_probe
|
||||
|
||||
current += 86400 # Check daily
|
||||
|
||||
# Add final period
|
||||
periods.append((period_start, end_time, prev_offset))
|
||||
|
||||
return periods
|
||||
|
||||
@@ -319,9 +319,6 @@ class CameraWatchdog(threading.Thread):
|
||||
f"Capture thread for {self.config.name} did not exit in time"
|
||||
)
|
||||
|
||||
self.logger.error(
|
||||
"The following ffmpeg logs include the last 100 lines prior to exit."
|
||||
)
|
||||
self.logpipe.dump()
|
||||
self.logger.info("Restarting ffmpeg...")
|
||||
self.start_ffmpeg_detect()
|
||||
@@ -543,7 +540,6 @@ class CameraWatchdog(threading.Thread):
|
||||
f"{self.config.name}/status/{role.value}", "offline"
|
||||
)
|
||||
|
||||
p["logpipe"].dump()
|
||||
p["process"] = start_or_restart_ffmpeg(
|
||||
p["cmd"], self.logger, p["logpipe"], ffmpeg_process=p["process"]
|
||||
)
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -56,3 +56,14 @@ export async function waitForErrorMarker(
|
||||
.poll(() => hasErrorMarkers(page), { timeout: timeoutMs })
|
||||
.toBe(true);
|
||||
}
|
||||
|
||||
/**
|
||||
* Append a trailing comment so the editor content differs from the
|
||||
* loaded config. The save buttons are disabled until then.
|
||||
*/
|
||||
export async function makeMonacoEdit(page: Page): Promise<void> {
|
||||
const editor = page.locator(".monaco-editor").first();
|
||||
await editor.click();
|
||||
await page.keyboard.press("ControlOrMeta+End");
|
||||
await page.keyboard.type("# edited by e2e", { delay: 0 });
|
||||
}
|
||||
|
||||
@@ -11,6 +11,7 @@ import { installWsFrameCapture, waitForWsFrame } from "../helpers/ws-frames";
|
||||
import { grantClipboardPermissions, readClipboard } from "../helpers/clipboard";
|
||||
import {
|
||||
getMonacoVisibleText,
|
||||
makeMonacoEdit,
|
||||
replaceMonacoValue,
|
||||
waitForErrorMarker,
|
||||
} from "../helpers/monaco";
|
||||
@@ -71,6 +72,7 @@ test.describe("Config Editor — Save @medium", () => {
|
||||
await expect(frigateApp.page.locator(".monaco-editor").first()).toBeVisible(
|
||||
{ timeout: 15_000 },
|
||||
);
|
||||
await makeMonacoEdit(frigateApp.page);
|
||||
await frigateApp.page.getByLabel("Save Only").click();
|
||||
await expect
|
||||
.poll(() => capture.capturedUrl(), { timeout: 5_000 })
|
||||
@@ -92,6 +94,7 @@ test.describe("Config Editor — Save @medium", () => {
|
||||
await expect(frigateApp.page.locator(".monaco-editor").first()).toBeVisible(
|
||||
{ timeout: 15_000 },
|
||||
);
|
||||
await makeMonacoEdit(frigateApp.page);
|
||||
await frigateApp.page.getByLabel("Save Only").click();
|
||||
await expect(frigateApp.page.getByText(/Invalid field/i)).toBeVisible({
|
||||
timeout: 5_000,
|
||||
@@ -117,6 +120,7 @@ test.describe("Config Editor — Save and Restart @medium", () => {
|
||||
{ timeout: 15_000 },
|
||||
);
|
||||
|
||||
await makeMonacoEdit(frigateApp.page);
|
||||
await frigateApp.page.getByLabel("Save & Restart").click();
|
||||
const dialog = frigateApp.page.getByRole("alertdialog");
|
||||
await expect(dialog).toBeVisible({ timeout: 5_000 });
|
||||
@@ -140,6 +144,7 @@ test.describe("Config Editor — Save and Restart @medium", () => {
|
||||
{ timeout: 15_000 },
|
||||
);
|
||||
|
||||
await makeMonacoEdit(frigateApp.page);
|
||||
await frigateApp.page.getByLabel("Save & Restart").click();
|
||||
const dialog = frigateApp.page.getByRole("alertdialog");
|
||||
await expect(dialog).toBeVisible({ timeout: 5_000 });
|
||||
|
||||
@@ -0,0 +1,216 @@
|
||||
/**
|
||||
* Generative AI provider settings tests -- MEDIUM tier.
|
||||
*
|
||||
* A model name belongs to its provider, so switching provider clears the model
|
||||
* field. The roles widget strips a role only for a model or provider picked in
|
||||
* the form, never when capability data arrives for the saved entry, which would
|
||||
* dirty the section on load and silently drop the role on the next save.
|
||||
*/
|
||||
|
||||
import { readFileSync } from "node:fs";
|
||||
import { resolve, dirname } from "node:path";
|
||||
import { fileURLToPath } from "node:url";
|
||||
import { test, expect } from "../../fixtures/frigate-test";
|
||||
import type { Page } from "@playwright/test";
|
||||
import { configFactory } from "../../fixtures/mock-data/config";
|
||||
|
||||
const __dirname = dirname(fileURLToPath(import.meta.url));
|
||||
const CONFIG_SCHEMA = JSON.parse(
|
||||
readFileSync(
|
||||
resolve(__dirname, "../../fixtures/mock-data/config-schema.json"),
|
||||
"utf-8",
|
||||
),
|
||||
);
|
||||
|
||||
const ENTRY = "audio";
|
||||
const SETTINGS_URL = "/settings?page=integrationGenerativeAi";
|
||||
const UNSAVED = "You have unsaved changes";
|
||||
const MODEL_PLACEHOLDER = "Select or enter a model…";
|
||||
|
||||
type Entry = {
|
||||
provider: string;
|
||||
model: string;
|
||||
base_url?: string;
|
||||
roles: string[];
|
||||
};
|
||||
|
||||
type ProviderInfo = {
|
||||
models: string[];
|
||||
supports_transcription: boolean;
|
||||
model_capabilities?: Record<string, { supports_transcription?: boolean }>;
|
||||
};
|
||||
|
||||
async function installRoutes(page: Page, entry: Entry, info: ProviderInfo) {
|
||||
const config = configFactory({ genai: { [ENTRY]: entry } });
|
||||
|
||||
await page.route("**/api/config/schema.json", (route) =>
|
||||
route.fulfill({ json: CONFIG_SCHEMA }),
|
||||
);
|
||||
await page.route("**/api/config", (route) => {
|
||||
if (route.request().method() === "GET") {
|
||||
return route.fulfill({ json: config });
|
||||
}
|
||||
return route.fulfill({ json: { success: true } });
|
||||
});
|
||||
await page.route("**/api/config/raw_paths", (route) =>
|
||||
route.fulfill({ json: { genai: { [ENTRY]: entry } } }),
|
||||
);
|
||||
await page.route("**/api/genai/models", (route) =>
|
||||
route.fulfill({
|
||||
json: {
|
||||
[ENTRY]: {
|
||||
roles: entry.roles,
|
||||
supports_toggleable_thinking: false,
|
||||
supports_embeddings: true,
|
||||
model_capabilities: {},
|
||||
...info,
|
||||
},
|
||||
},
|
||||
}),
|
||||
);
|
||||
}
|
||||
|
||||
function roleSwitch(page: Page, role: string) {
|
||||
return page.locator(`#root_${ENTRY}_roles-${role}`);
|
||||
}
|
||||
|
||||
test.describe("genai provider settings @medium", () => {
|
||||
test("a saved role the provider cannot confirm stays and is not dirty", async ({
|
||||
frigateApp,
|
||||
}) => {
|
||||
// The server does not serve the saved model, so the backend reports every
|
||||
// capability as false for the entry.
|
||||
await installRoutes(
|
||||
frigateApp.page,
|
||||
{
|
||||
provider: "llamacpp",
|
||||
model: "stale-model",
|
||||
base_url: "http://llama:8080",
|
||||
roles: ["transcribe"],
|
||||
},
|
||||
{ models: ["qwen3-asr"], supports_transcription: false },
|
||||
);
|
||||
await frigateApp.goto(SETTINGS_URL);
|
||||
|
||||
await expect(roleSwitch(frigateApp.page, "transcribe")).toBeVisible();
|
||||
await expect(roleSwitch(frigateApp.page, "transcribe")).toBeChecked();
|
||||
|
||||
// Give any stripping effect time to fire, then confirm the section stayed
|
||||
// clean.
|
||||
await frigateApp.page.waitForTimeout(1000);
|
||||
await expect(frigateApp.page.getByText(UNSAVED)).toBeHidden();
|
||||
await expect(roleSwitch(frigateApp.page, "transcribe")).toBeChecked();
|
||||
});
|
||||
|
||||
test("switching provider clears the model", async ({ frigateApp }) => {
|
||||
await installRoutes(
|
||||
frigateApp.page,
|
||||
{
|
||||
provider: "openai",
|
||||
model: "gpt-4o",
|
||||
roles: ["descriptions"],
|
||||
},
|
||||
{ models: ["gpt-4o"], supports_transcription: true },
|
||||
);
|
||||
await frigateApp.goto(SETTINGS_URL);
|
||||
|
||||
const model = frigateApp.page.locator(`#root_${ENTRY}_model`);
|
||||
await expect(model).toHaveText("gpt-4o");
|
||||
|
||||
await frigateApp.page.locator(`#root_${ENTRY}_provider`).click();
|
||||
await frigateApp.page.getByRole("option", { name: "llamacpp" }).click();
|
||||
|
||||
await expect(model).toHaveText(MODEL_PLACEHOLDER);
|
||||
await expect(frigateApp.page.getByText(UNSAVED)).toBeVisible();
|
||||
});
|
||||
|
||||
test("switching back to the saved provider drops the other provider's model", async ({
|
||||
frigateApp,
|
||||
}) => {
|
||||
await installRoutes(
|
||||
frigateApp.page,
|
||||
{
|
||||
provider: "openai",
|
||||
model: "gpt-4o",
|
||||
roles: ["descriptions"],
|
||||
},
|
||||
{ models: ["gpt-4o", "qwen3"], supports_transcription: true },
|
||||
);
|
||||
await frigateApp.goto(SETTINGS_URL);
|
||||
|
||||
const model = frigateApp.page.locator(`#root_${ENTRY}_model`);
|
||||
const provider = frigateApp.page.locator(`#root_${ENTRY}_provider`);
|
||||
await expect(model).toHaveText("gpt-4o");
|
||||
|
||||
await provider.click();
|
||||
await frigateApp.page.getByRole("option", { name: "llamacpp" }).click();
|
||||
await model.click();
|
||||
await frigateApp.page.getByRole("option", { name: "qwen3" }).click();
|
||||
await expect(model).toHaveText("qwen3");
|
||||
|
||||
// the model picked for llamacpp must not carry over to openai, and the
|
||||
// saved one isn't filled back in since the endpoint may have changed
|
||||
await provider.click();
|
||||
await frigateApp.page
|
||||
.getByRole("option", { name: "openai", exact: true })
|
||||
.click();
|
||||
|
||||
await expect(model).toHaveText(MODEL_PLACEHOLDER);
|
||||
});
|
||||
|
||||
test("undo after switching provider brings back the saved model", async ({
|
||||
frigateApp,
|
||||
}) => {
|
||||
await installRoutes(
|
||||
frigateApp.page,
|
||||
{
|
||||
provider: "openai",
|
||||
model: "gpt-4o",
|
||||
roles: ["descriptions"],
|
||||
},
|
||||
{ models: ["gpt-4o"], supports_transcription: true },
|
||||
);
|
||||
await frigateApp.goto(SETTINGS_URL);
|
||||
|
||||
const model = frigateApp.page.locator(`#root_${ENTRY}_model`);
|
||||
await frigateApp.page.locator(`#root_${ENTRY}_provider`).click();
|
||||
await frigateApp.page.getByRole("option", { name: "llamacpp" }).click();
|
||||
await expect(model).toHaveText(MODEL_PLACEHOLDER);
|
||||
|
||||
await frigateApp.page.getByRole("button", { name: "Undo" }).click();
|
||||
|
||||
await expect(model).toHaveText("gpt-4o");
|
||||
await expect(frigateApp.page.getByText(UNSAVED)).toBeHidden();
|
||||
});
|
||||
|
||||
test("picking a model that cannot transcribe strips the role", async ({
|
||||
frigateApp,
|
||||
}) => {
|
||||
await installRoutes(
|
||||
frigateApp.page,
|
||||
{
|
||||
provider: "llamacpp",
|
||||
model: "qwen3-asr",
|
||||
base_url: "http://llama:8080",
|
||||
roles: ["transcribe"],
|
||||
},
|
||||
{
|
||||
models: ["qwen3-asr", "text-only"],
|
||||
supports_transcription: true,
|
||||
model_capabilities: {
|
||||
"qwen3-asr": { supports_transcription: true },
|
||||
"text-only": { supports_transcription: false },
|
||||
},
|
||||
},
|
||||
);
|
||||
await frigateApp.goto(SETTINGS_URL);
|
||||
|
||||
await expect(roleSwitch(frigateApp.page, "transcribe")).toBeChecked();
|
||||
|
||||
await frigateApp.page.locator(`#root_${ENTRY}_model`).click();
|
||||
await frigateApp.page.getByRole("option", { name: "text-only" }).click();
|
||||
|
||||
await expect(roleSwitch(frigateApp.page, "transcribe")).toBeHidden();
|
||||
await expect(frigateApp.page.getByText(UNSAVED)).toBeVisible();
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,117 @@
|
||||
/**
|
||||
* Runtime override tests -- MEDIUM tier.
|
||||
*
|
||||
* Live view, MQTT, and Home Assistant toggles change a camera's running config
|
||||
* without touching yaml, and the change persists across restarts. The settings
|
||||
* form edits yaml, so it keeps showing the saved value. Without a marker on the
|
||||
* field and runtime-aware wording on dependent warnings, the two read as a
|
||||
* contradiction: "audio detection is not enabled" next to a switch that is on.
|
||||
*/
|
||||
|
||||
import { readFileSync } from "node:fs";
|
||||
import { resolve, dirname } from "node:path";
|
||||
import { fileURLToPath } from "node:url";
|
||||
import { test, expect } from "../../fixtures/frigate-test";
|
||||
import type { Page } from "@playwright/test";
|
||||
import { configFactory } from "../../fixtures/mock-data/config";
|
||||
|
||||
const __dirname = dirname(fileURLToPath(import.meta.url));
|
||||
const CONFIG_SCHEMA = JSON.parse(
|
||||
readFileSync(
|
||||
resolve(__dirname, "../../fixtures/mock-data/config-schema.json"),
|
||||
"utf-8",
|
||||
),
|
||||
);
|
||||
|
||||
const CAMERA = "front_door";
|
||||
const TRANSCRIPTION_URL = `/settings?page=cameraAudioTranscription&camera=${CAMERA}`;
|
||||
const AUDIO_URL = `/settings?page=cameraAudioEvents&camera=${CAMERA}`;
|
||||
|
||||
const CONFIG_DISABLED = /Audio detection is not enabled for this camera/;
|
||||
const RUNTIME_DISABLED =
|
||||
/Audio detection is enabled in your config, but it is currently turned off/;
|
||||
|
||||
type AudioState = { enabled: boolean; enabled_in_config: boolean };
|
||||
|
||||
async function installRoutes(page: Page, audio: AudioState) {
|
||||
const config = configFactory({
|
||||
cameras: {
|
||||
[CAMERA]: {
|
||||
audio,
|
||||
// audio detection only runs on a stream carrying the audio role
|
||||
ffmpeg: {
|
||||
inputs: [
|
||||
{
|
||||
path: "rtsp://user:pass@host/front",
|
||||
roles: ["record", "detect", "audio"],
|
||||
},
|
||||
],
|
||||
},
|
||||
audio_transcription: { enabled: true, enabled_in_config: true },
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
await page.route("**/api/config/raw_paths", (route) =>
|
||||
route.fulfill({
|
||||
json: { cameras: { [CAMERA]: { ffmpeg: { inputs: [] } } } },
|
||||
}),
|
||||
);
|
||||
await page.route("**/api/config/schema.json", (route) =>
|
||||
route.fulfill({ json: CONFIG_SCHEMA }),
|
||||
);
|
||||
await page.route("**/api/config", (route) => {
|
||||
if (route.request().method() === "GET") {
|
||||
return route.fulfill({ json: config });
|
||||
}
|
||||
return route.fulfill({ json: { success: true } });
|
||||
});
|
||||
}
|
||||
|
||||
test.describe("runtime overrides @medium", () => {
|
||||
test("a runtime-only toggle gets its own wording and a field marker", async ({
|
||||
frigateApp,
|
||||
}) => {
|
||||
await installRoutes(frigateApp.page, {
|
||||
enabled: false,
|
||||
enabled_in_config: true,
|
||||
});
|
||||
|
||||
await frigateApp.goto(TRANSCRIPTION_URL);
|
||||
await expect(frigateApp.page.getByText(RUNTIME_DISABLED)).toBeVisible();
|
||||
await expect(frigateApp.page.getByText(CONFIG_DISABLED)).toBeHidden();
|
||||
|
||||
// The audio section still shows the saved value, so the switch stays on and
|
||||
// the marker carries the live state.
|
||||
await frigateApp.goto(AUDIO_URL);
|
||||
await expect(
|
||||
frigateApp.page.getByRole("switch", { name: "Enable audio detection" }),
|
||||
).toHaveAttribute("data-state", "checked");
|
||||
// the boolean layout renders a mobile and a desktop label block, so only
|
||||
// one of the two badges is on screen
|
||||
await expect(
|
||||
frigateApp.page.getByText("Overridden (Live)").filter({ visible: true }),
|
||||
).toHaveCount(1);
|
||||
});
|
||||
|
||||
test("a config-disabled section keeps the original wording", async ({
|
||||
frigateApp,
|
||||
}) => {
|
||||
await installRoutes(frigateApp.page, {
|
||||
enabled: false,
|
||||
enabled_in_config: false,
|
||||
});
|
||||
|
||||
await frigateApp.goto(TRANSCRIPTION_URL);
|
||||
await expect(frigateApp.page.getByText(CONFIG_DISABLED)).toBeVisible();
|
||||
await expect(frigateApp.page.getByText(RUNTIME_DISABLED)).toBeHidden();
|
||||
|
||||
await frigateApp.goto(AUDIO_URL);
|
||||
await expect(
|
||||
frigateApp.page.getByRole("switch", { name: "Enable audio detection" }),
|
||||
).toHaveAttribute("data-state", "unchecked");
|
||||
await expect(
|
||||
frigateApp.page.getByText("Overridden (Live)").filter({ visible: true }),
|
||||
).toHaveCount(0);
|
||||
});
|
||||
});
|
||||
@@ -72,7 +72,15 @@ test.describe("System — tabs @medium", () => {
|
||||
{ timeout: 15_000 },
|
||||
);
|
||||
await expect(frigateApp.page.getByText("0.15.0-test")).toBeVisible();
|
||||
await expect(frigateApp.page.getByText(/Last refreshed/)).toBeVisible();
|
||||
|
||||
if (frigateApp.isMobile) {
|
||||
// the "Last refreshed" label is dropped on mobile so the timestamp
|
||||
// clears the centered logo
|
||||
await expect(frigateApp.page.getByText(/Last refreshed/)).toHaveCount(0);
|
||||
await expect(frigateApp.page.getByText(/Just now|ago/)).toBeVisible();
|
||||
} else {
|
||||
await expect(frigateApp.page.getByText(/Last refreshed/)).toBeVisible();
|
||||
}
|
||||
});
|
||||
|
||||
test("storage tab renders content after switching", async ({
|
||||
@@ -234,4 +242,45 @@ test.describe("System — mobile @medium @mobile", () => {
|
||||
{ timeout: 5_000 },
|
||||
);
|
||||
});
|
||||
|
||||
test("header controls leave the logo uncovered on a narrow phone", async ({
|
||||
frigateApp,
|
||||
}) => {
|
||||
await frigateApp.goto("/system#general");
|
||||
await expect(frigateApp.page.getByLabel("Select general")).toHaveAttribute(
|
||||
"data-state",
|
||||
"on",
|
||||
{ timeout: 15_000 },
|
||||
);
|
||||
await frigateApp.page.setViewportSize({ width: 320, height: 740 });
|
||||
|
||||
const logo = frigateApp.page.locator("svg.fill-current").first();
|
||||
const tabs = frigateApp.page
|
||||
.locator("[data-radix-scroll-area-viewport]")
|
||||
.filter({ has: frigateApp.page.getByLabel("Select general") });
|
||||
const refreshed = frigateApp.page.getByText(/Just now|ago/);
|
||||
|
||||
const logoBox = await logo.boundingBox();
|
||||
const tabsBox = await tabs.boundingBox();
|
||||
const refreshedBox = await refreshed.boundingBox();
|
||||
|
||||
expect(tabsBox!.x + tabsBox!.width).toBeLessThanOrEqual(logoBox!.x + 1);
|
||||
expect(refreshedBox!.x).toBeGreaterThanOrEqual(logoBox!.x + logoBox!.width);
|
||||
|
||||
// the clipped tabs stay reachable by scrolling
|
||||
const overflow = await tabs.evaluate((el) => ({
|
||||
scroll: el.scrollWidth,
|
||||
client: el.clientWidth,
|
||||
}));
|
||||
expect(overflow.scroll).toBeGreaterThan(overflow.client);
|
||||
await tabs.evaluate((el) => {
|
||||
el.scrollLeft = el.scrollWidth;
|
||||
});
|
||||
await frigateApp.page.getByLabel("Select cameras").click();
|
||||
await expect(frigateApp.page.getByLabel("Select cameras")).toHaveAttribute(
|
||||
"data-state",
|
||||
"on",
|
||||
{ timeout: 5_000 },
|
||||
);
|
||||
});
|
||||
});
|
||||
|
||||
@@ -15,10 +15,6 @@
|
||||
"bandwidth": {
|
||||
"title": "العرض الترددي:",
|
||||
"short": "العرض الترددي"
|
||||
},
|
||||
"latency": {
|
||||
"title": "التأخير:",
|
||||
"value": "{{seconds}} ثانية"
|
||||
}
|
||||
},
|
||||
"streamOffline": {
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
"1hour": "1 гадзіна",
|
||||
"12hours": "12 гадзін",
|
||||
"24hours": "24 гадзіны",
|
||||
"pm": "вечара",
|
||||
"am": "раніцы",
|
||||
"pm": "pm",
|
||||
"am": "am",
|
||||
"yr": "{{time}} г",
|
||||
"year_one": "{{time}} год",
|
||||
"year_few": "{{time}} гады",
|
||||
@@ -168,13 +168,16 @@
|
||||
"saveAll": "Захаваць усё",
|
||||
"savingAll": "Захаванне ўсяго…",
|
||||
"undoAll": "Адрабіць усё",
|
||||
"retry": "Паўтарыць"
|
||||
"retry": "Паўтарыць",
|
||||
"expand": "Разгарнуць",
|
||||
"collapse": "Згарнуць",
|
||||
"reload": "Перазагрузіць"
|
||||
},
|
||||
"menu": {
|
||||
"system": "Сістэма",
|
||||
"systemMetrics": "Сістэмныя метрыкі",
|
||||
"systemMetrics": "Стан і метрыкі",
|
||||
"configuration": "Канфігурацыя",
|
||||
"systemLogs": "Журналы сістэмы",
|
||||
"systemLogs": "Журналы",
|
||||
"profiles": "Профілі",
|
||||
"settings": "Налады",
|
||||
"configurationEditor": "Рэдактар канфігурацыі",
|
||||
@@ -225,7 +228,7 @@
|
||||
"withSystem": {
|
||||
"label": "Выкарыстоўваць мову з налад сістэмы"
|
||||
},
|
||||
"be": "Беларуская"
|
||||
"be": "Беларуская (беларуская)"
|
||||
},
|
||||
"appearance": "Выгляд",
|
||||
"darkMode": {
|
||||
@@ -328,5 +331,36 @@
|
||||
"validation_errors": "Памылкі праверкі",
|
||||
"credentialField": {
|
||||
"savedPlaceholder": "Захавана - пакіньце пустым, каб не мяняць"
|
||||
},
|
||||
"error": {
|
||||
"title": "Гэтая старонка перастала працаваць",
|
||||
"desc": "На старонцы адбылася нечаканая памылка. Звычайна дапамагае перазагрузка. Калі гэта паўтараецца, скапіюйце падрабязнасці і дадайце іх да абмеркавання на GitHub.",
|
||||
"staleTitle": "Патрэбна перазагрузка",
|
||||
"staleDesc": "Частка інтэрфейсу не загрузілася - звычайна гэта значыць, што Frigate абнавіўся, пакуль гэтая ўкладка была адкрытая. Перазагрузіце, каб атрымаць новую версію.",
|
||||
"partial": "Частка інтэрфейсу перастала працаваць.",
|
||||
"copyDetails": "Скапіяваць падрабязнасці",
|
||||
"copyFailed": "Не ўдалося скапіяваць падрабязнасці ў буфер абмену"
|
||||
},
|
||||
"commandMenu": {
|
||||
"title": "Меню каманд",
|
||||
"description": "Пошук старонак, камер, налад і дзеянняў",
|
||||
"placeholder": "Пошук старонак, камер, налад і дзеянняў",
|
||||
"empty": "Няма супадзенняў",
|
||||
"hint": "{{key}} або / каб адкрыць, Enter каб выканаць",
|
||||
"section": {
|
||||
"recent": "Апошнія",
|
||||
"pages": "Старонкі",
|
||||
"cameras": "Камеры",
|
||||
"cameraGroups": "Групы камер",
|
||||
"settings": "Налады",
|
||||
"actions": "Дзеянні"
|
||||
},
|
||||
"camera": {
|
||||
"live": "Эфір",
|
||||
"review": "Разгляд"
|
||||
},
|
||||
"action": {
|
||||
"toggleTheme": "Пераключыць светлы і цёмны рэжым"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -137,6 +137,15 @@
|
||||
"queueingExport": "Экспарт ставіцца ў чаргу…",
|
||||
"previewExport": "Перадпрагляд экспарту",
|
||||
"useThisRange": "Ужыць гэты прамежак"
|
||||
},
|
||||
"stream": {
|
||||
"label": "Якасць",
|
||||
"auto": "Аўта",
|
||||
"main": "Зыходная",
|
||||
"sub": "Нізкая",
|
||||
"autoDesc": "Выкарыстоўвае асноўную плынь, а дзе яна недаступная - пераходзіць на дадатковую плынь ніжэйшай якасці.",
|
||||
"mainDesc": "Экспартуе толькі асноўную плынь зыходнай якасці. Прамежкі часу, дзе асноўная плынь недаступная, будуць адсутнічаць.",
|
||||
"subDesc": "Экспартуе толькі дадатковую плынь ніжэйшай якасці. Прамежкі часу, дзе дадатковая плынь недаступная, будуць адсутнічаць."
|
||||
}
|
||||
},
|
||||
"streaming": {
|
||||
@@ -190,7 +199,14 @@
|
||||
"export": "Экспарт",
|
||||
"markAsReviewed": "Пазначыць як разгледжанае",
|
||||
"markAsUnreviewed": "Пазначыць як неразгледжанае",
|
||||
"deleteNow": "Выдаліць зараз"
|
||||
"deleteNow": "Выдаліць зараз",
|
||||
"generateDescription": "Стварыць апісанне"
|
||||
},
|
||||
"genaiDescription": {
|
||||
"toast": {
|
||||
"success": "Апісанне GenAI запытана для гэтага элемента разгляду.",
|
||||
"error": "Не ўдалося запытаць апісанне: {{error}}"
|
||||
}
|
||||
}
|
||||
},
|
||||
"imagePicker": {
|
||||
|
||||
@@ -22,14 +22,6 @@
|
||||
"title": "Паласа прапускання:",
|
||||
"short": "Паласа"
|
||||
},
|
||||
"latency": {
|
||||
"title": "Затрымка:",
|
||||
"value": "{{seconds}} сек",
|
||||
"short": {
|
||||
"title": "Затрымка",
|
||||
"value": "{{seconds}} с"
|
||||
}
|
||||
},
|
||||
"totalFrames": "Усяго кадраў:",
|
||||
"droppedFrames": {
|
||||
"title": "Страчаныя кадры:",
|
||||
@@ -46,7 +38,22 @@
|
||||
"submittedFrigatePlus": "Кадр паспяхова адпраўлены ў Frigate+"
|
||||
},
|
||||
"error": {
|
||||
"submitFrigatePlusFailed": "Не ўдалося адправіць кадр у Frigate+"
|
||||
"submitFrigatePlusFailed": "Не ўдалося адправіць кадр у Frigate+",
|
||||
"playRecordingsFailed": "Не ўдалося прайграць запісы (памылка {{code}}): {{message}}"
|
||||
}
|
||||
},
|
||||
"quality": {
|
||||
"auto": "Аўта",
|
||||
"autoLow": "Прайграецца нізкая якасць (абмежаваная паласа прапускання)",
|
||||
"autoLowCodec": "Прайграецца нізкая якасць (зыходная не падтрымліваецца гэтым браўзерам)",
|
||||
"autoLowSaveData": "Прайграецца нізкая якасць (эканомія трафіку)",
|
||||
"main": "Зыходная",
|
||||
"sub": "Нізкая",
|
||||
"notSupportedBrowser": "Не падтрымліваецца гэтым браўзерам",
|
||||
"label": "Якасць",
|
||||
"noAudio": "Без гуку",
|
||||
"audioRate": "Гук {{rate}} кГц",
|
||||
"audioCodecRate": "{{codec}} {{rate}} кГц",
|
||||
"noRecordings": "Няма запісаў у гэтым прамежку часу"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
},
|
||||
"objects": {
|
||||
"label": "Аб'екты-трыгеры",
|
||||
"description": "Спіс тыпаў аб'ектаў (з labelmap), якія могуць спрацаваць у гэтай зоне. Можа быць радком або спісам радкоў. Калі пуста, улічваюцца ўсе аб'екты."
|
||||
"description": "Спіс тыпаў аб'ектаў (з карты метак), якія могуць спрацаваць у гэтай зоне. Можа быць радком або спісам радкоў. Калі пуста, улічваюцца ўсе аб'екты."
|
||||
}
|
||||
},
|
||||
"label": "CameraConfig",
|
||||
@@ -120,6 +120,10 @@
|
||||
"num_threads": {
|
||||
"label": "Патокі дэтэктавання",
|
||||
"description": "Колькасць патокаў для апрацоўкі дэтэктавання гуку."
|
||||
},
|
||||
"labelmap": {
|
||||
"label": "Змяненне карты метак гуку",
|
||||
"description": "Перавызначэнні або пераназначэнні, якія аб'ядноўваюцца са стандартнай картай метак гуку."
|
||||
}
|
||||
},
|
||||
"audio_transcription": {
|
||||
@@ -147,6 +151,10 @@
|
||||
"order": {
|
||||
"label": "Пазіцыя",
|
||||
"description": "Лічбавае становішча, якое вызначае парадак камеры ў раскладцы Birdseye."
|
||||
},
|
||||
"modes": {
|
||||
"label": "Тыпы актыўнасці",
|
||||
"description": "Тыпы актыўнасці, пры якіх камеры паказваюцца ў Birdseye."
|
||||
}
|
||||
},
|
||||
"detect": {
|
||||
@@ -207,6 +215,10 @@
|
||||
"annotation_offset": {
|
||||
"label": "Зрух анатацый",
|
||||
"description": "На колькі мілісекунд зрушыць прамавугольнікі аб'ектаў, каб яны супадалі з запісаным відэа: плыні «detect» і «record» рэдка ідэальна сінхронныя. Можа быць дадатным або адмоўным."
|
||||
},
|
||||
"scene": {
|
||||
"label": "Сцэна дэтэктавання",
|
||||
"description": "Асяроддзе, на якое глядзіць гэтая камера; паводле яго выбіраецца, якая з наладжаных мадэлей на ёй працуе. Камеры са значэннем «all» выкарыстоўваюць мадэль, наладжаную са сцэнай «all»."
|
||||
}
|
||||
},
|
||||
"face_recognition": {
|
||||
@@ -250,6 +262,10 @@
|
||||
"record": {
|
||||
"label": "Выходныя аргументы для record",
|
||||
"description": "Прадвызначаныя выходныя аргументы для плыняў з роляй «record»."
|
||||
},
|
||||
"record_sub": {
|
||||
"label": "Выходныя аргументы запісу дадатковай плыні",
|
||||
"description": "Выходныя аргументы для плыняў з роляй «record_sub». Калі не зададзена, выкарыстоўваюцца выходныя аргументы запісу."
|
||||
}
|
||||
},
|
||||
"retry_interval": {
|
||||
@@ -579,6 +595,54 @@
|
||||
"enabled_in_config": {
|
||||
"label": "Зыходны стан запісу",
|
||||
"description": "Паказвае, ці быў запіс уключаны ў зыходнай статычнай канфігурацыі."
|
||||
},
|
||||
"sub": {
|
||||
"label": "Запіс дадатковай плыні",
|
||||
"description": "Налады запісу другой плыні ніжэйшай якасці.",
|
||||
"enabled": {
|
||||
"label": "Уключыць запіс дадатковай плыні",
|
||||
"description": "Уключыць запіс другой плыні ніжэйшай якасці для прайгравання з адаптыўнай якасцю і падоўжанага захоўвання."
|
||||
},
|
||||
"continuous": {
|
||||
"label": "Бесперапыннае захоўванне дадатковай плыні",
|
||||
"description": "Колькасць дзён захоўвання запісаў дадатковай плыні незалежна ад аб'ектаў пад адсочваннем або руху.",
|
||||
"days": {
|
||||
"label": "Дні захоўвання",
|
||||
"description": "Дзён захоўвання запісаў."
|
||||
}
|
||||
},
|
||||
"motion": {
|
||||
"label": "Захоўванне дадатковай плыні па руху",
|
||||
"description": "Колькасць дзён захоўвання запісаў дадатковай плыні, выкліканых рухам.",
|
||||
"days": {
|
||||
"label": "Дні захоўвання",
|
||||
"description": "Дзён захоўвання запісаў."
|
||||
}
|
||||
},
|
||||
"alerts": {
|
||||
"label": "Захоўванне абвестак дадатковай плыні",
|
||||
"description": "Налады захоўвання запісаў абвестак дадатковай плыні.",
|
||||
"days": {
|
||||
"label": "Дні захоўвання",
|
||||
"description": "Колькасць дзён захоўвання запісаў падзей дэтэктавання."
|
||||
},
|
||||
"mode": {
|
||||
"label": "Рэжым захоўвання",
|
||||
"description": "Рэжым захоўвання: all (усе сегменты), motion (сегменты з рухам) або active_objects (сегменты з актыўнымі аб'ектамі)."
|
||||
}
|
||||
},
|
||||
"detections": {
|
||||
"label": "Захоўванне дэтэктаванняў дадатковай плыні",
|
||||
"description": "Налады захоўвання запісаў дэтэктаванняў дадатковай плыні.",
|
||||
"days": {
|
||||
"label": "Дні захоўвання",
|
||||
"description": "Колькасць дзён захоўвання запісаў падзей дэтэктавання."
|
||||
},
|
||||
"mode": {
|
||||
"label": "Рэжым захоўвання",
|
||||
"description": "Рэжым захоўвання: all (усе сегменты), motion (сегменты з рухам) або active_objects (сегменты з актыўнымі аб'ектамі)."
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"review": {
|
||||
@@ -670,6 +734,10 @@
|
||||
"activity_context_prompt": {
|
||||
"label": "Прампт кантэксту актыўнасці",
|
||||
"description": "Уласны прампт, які апісвае, якая актыўнасць падазроная, а якая не, каб даць кантэкст для зводак GenAI."
|
||||
},
|
||||
"response_style": {
|
||||
"label": "Стыль адказу",
|
||||
"description": "Гатовы стыль пісьма для створаных апісанняў разгляду. Гатовыя стылі наладжваюць тон і падрабязнасць загалоўка, зводкі і апісання сцэны, якія бачыць карыстальнік; «default» пакідае ўбудаваны прампт без змен."
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -33,7 +33,11 @@
|
||||
"label": "Патокі дэтэктавання",
|
||||
"description": "Колькасць патокаў для апрацоўкі дэтэктавання гуку."
|
||||
},
|
||||
"description": "Налады дэтэктавання падзей па гуку для ўсіх камер. Можна перавызначыць для кожнай камеры."
|
||||
"description": "Налады дэтэктавання падзей па гуку для ўсіх камер. Можна перавызначыць для кожнай камеры.",
|
||||
"labelmap": {
|
||||
"label": "Змяненне карты метак гуку",
|
||||
"description": "Перавызначэнні або пераназначэнні, якія аб'ядноўваюцца са стандартнай картай метак гуку."
|
||||
}
|
||||
},
|
||||
"audio_transcription": {
|
||||
"label": "Транскрыпцыя гуку",
|
||||
@@ -105,6 +109,10 @@
|
||||
"idle_heartbeat_fps": {
|
||||
"label": "FPS сігналу пры прастоі",
|
||||
"description": "Колькі разоў на секунду паўтараць апошні кадр Birdseye пры прастоі. 0 адключае."
|
||||
},
|
||||
"modes": {
|
||||
"label": "Тыпы актыўнасці",
|
||||
"description": "Тыпы актыўнасці, пры якіх камеры паказваюцца ў Birdseye."
|
||||
}
|
||||
},
|
||||
"detect": {
|
||||
@@ -165,6 +173,10 @@
|
||||
"annotation_offset": {
|
||||
"label": "Зрух анатацый",
|
||||
"description": "На колькі мілісекунд зрушыць прамавугольнікі аб'ектаў, каб яны супадалі з запісаным відэа: плыні «detect» і «record» рэдка ідэальна сінхронныя. Можа быць дадатным або адмоўным."
|
||||
},
|
||||
"scene": {
|
||||
"label": "Сцэна дэтэктавання",
|
||||
"description": "Асяроддзе, на якое глядзіць гэтая камера; паводле яго выбіраецца, якая з наладжаных мадэлей на ёй працуе. Камеры са значэннем «all» выкарыстоўваюць мадэль, наладжаную са сцэнай «all»."
|
||||
}
|
||||
},
|
||||
"face_recognition": {
|
||||
@@ -238,6 +250,10 @@
|
||||
"record": {
|
||||
"label": "Выходныя аргументы для record",
|
||||
"description": "Прадвызначаныя выходныя аргументы для плыняў з роляй «record»."
|
||||
},
|
||||
"record_sub": {
|
||||
"label": "Выходныя аргументы запісу дадатковай плыні",
|
||||
"description": "Выходныя аргументы для плыняў з роляй «record_sub». Калі не зададзена, выкарыстоўваюцца выходныя аргументы запісу."
|
||||
}
|
||||
},
|
||||
"retry_interval": {
|
||||
@@ -650,7 +666,55 @@
|
||||
"label": "Зыходны стан запісу",
|
||||
"description": "Паказвае, ці быў запіс уключаны ў зыходнай статычнай канфігурацыі."
|
||||
},
|
||||
"description": "Налады запісу і захоўвання для камер, калі яны не перавызначаны асобна."
|
||||
"description": "Налады запісу і захоўвання для камер, калі яны не перавызначаны асобна.",
|
||||
"sub": {
|
||||
"label": "Запіс дадатковай плыні",
|
||||
"description": "Налады запісу другой плыні ніжэйшай якасці.",
|
||||
"enabled": {
|
||||
"label": "Уключыць запіс дадатковай плыні",
|
||||
"description": "Уключыць запіс другой плыні ніжэйшай якасці для прайгравання з адаптыўнай якасцю і падоўжанага захоўвання."
|
||||
},
|
||||
"continuous": {
|
||||
"label": "Бесперапыннае захоўванне дадатковай плыні",
|
||||
"description": "Колькасць дзён захоўвання запісаў дадатковай плыні незалежна ад аб'ектаў пад адсочваннем або руху.",
|
||||
"days": {
|
||||
"label": "Дні захоўвання",
|
||||
"description": "Дзён захоўвання запісаў."
|
||||
}
|
||||
},
|
||||
"motion": {
|
||||
"label": "Захоўванне дадатковай плыні па руху",
|
||||
"description": "Колькасць дзён захоўвання запісаў дадатковай плыні, выкліканых рухам.",
|
||||
"days": {
|
||||
"label": "Дні захоўвання",
|
||||
"description": "Дзён захоўвання запісаў."
|
||||
}
|
||||
},
|
||||
"alerts": {
|
||||
"label": "Захоўванне абвестак дадатковай плыні",
|
||||
"description": "Налады захоўвання запісаў абвестак дадатковай плыні.",
|
||||
"days": {
|
||||
"label": "Дні захоўвання",
|
||||
"description": "Колькасць дзён захоўвання запісаў падзей дэтэктавання."
|
||||
},
|
||||
"mode": {
|
||||
"label": "Рэжым захоўвання",
|
||||
"description": "Рэжым захоўвання: all (усе сегменты), motion (сегменты з рухам) або active_objects (сегменты з актыўнымі аб'ектамі)."
|
||||
}
|
||||
},
|
||||
"detections": {
|
||||
"label": "Захоўванне дэтэктаванняў дадатковай плыні",
|
||||
"description": "Налады захоўвання запісаў дэтэктаванняў дадатковай плыні.",
|
||||
"days": {
|
||||
"label": "Дні захоўвання",
|
||||
"description": "Колькасць дзён захоўвання запісаў падзей дэтэктавання."
|
||||
},
|
||||
"mode": {
|
||||
"label": "Рэжым захоўвання",
|
||||
"description": "Рэжым захоўвання: all (усе сегменты), motion (сегменты з рухам) або active_objects (сегменты з актыўнымі аб'ектамі)."
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"review": {
|
||||
"label": "Разгляд",
|
||||
@@ -740,6 +804,10 @@
|
||||
"activity_context_prompt": {
|
||||
"label": "Прампт кантэксту актыўнасці",
|
||||
"description": "Уласны прампт, які апісвае, якая актыўнасць падазроная, а якая не, каб даць кантэкст для зводак GenAI."
|
||||
},
|
||||
"response_style": {
|
||||
"label": "Стыль адказу",
|
||||
"description": "Гатовы стыль пісьма для створаных апісанняў разгляду. Гатовыя стылі наладжваюць тон і падрабязнасць загалоўка, зводкі і апісання сцэны, якія бачыць карыстальнік; «default» пакідае ўбудаваны прампт без змен."
|
||||
}
|
||||
},
|
||||
"description": "Налады, якія кіруюць абвесткамі, дэтэктаваннямі і зводкамі разгляду GenAI для інтэрфейсу і сховішча."
|
||||
@@ -1173,7 +1241,7 @@
|
||||
},
|
||||
"default_role": {
|
||||
"label": "Прадвызначаная роля",
|
||||
"description": "Роля, якая прызначаецца карыстальнікам, аўтарызаваным праз проксі, калі супастаўленне роляў не спрацавала."
|
||||
"description": "Роля, якая прызначаецца карыстальнікам, аўтарызаваным праз проксі, калі супастаўленне роляў не спрацавала. Задайце «none», каб адмовіць у доступе карыстальнікам без супастаўлення."
|
||||
},
|
||||
"separator": {
|
||||
"label": "Сімвал-раздзяляльнік",
|
||||
@@ -1399,5 +1467,57 @@
|
||||
"label": "Паказваць у разглядзе",
|
||||
"description": "Ці бачная гэта камера ў разглядзе (старонка разгляду і яе фільтр камер, разгляд руху і выгляд гісторыі)."
|
||||
}
|
||||
},
|
||||
"models": {
|
||||
"label": "Мадэлі дэтэктавання",
|
||||
"description": "Мадэлі дэтэктавання аб'ектаў і абсталяванне, на якім працуе кожная з іх. Камера выбірае мадэль, супастаўляючы свой detect.scene са сцэнай мадэлі.",
|
||||
"scene": {
|
||||
"label": "Сцэна мадэлі",
|
||||
"description": "Асяроддзе камеры, для якога прызначана гэтая мадэль. Камера выбірае мадэль, задаючы detect.scene з адпаведным значэннем, а «all» выкарыстоўвае любая камера, якая нічога не задала."
|
||||
},
|
||||
"devices": {
|
||||
"label": "Абсталяванне дэтэктавання",
|
||||
"description": "Абсталяванне, на якім працуе гэтая мадэль, у выглядзе «<detector>» або «<detector>:<device>» (напрыклад «edgetpu:pci:0» ці «openvino:GPU»). Калі адна прылада пазначана некалькі разоў, на ёй запускаюцца дадатковыя працэсы вывядзення."
|
||||
},
|
||||
"path": {
|
||||
"label": "Шлях да мадэлі свайго дэтэктара аб'ектаў",
|
||||
"description": "Шлях да файла свае мадэлі дэтэктавання (або plus://<model_id> для мадэлей Frigate+)."
|
||||
},
|
||||
"labelmap_path": {
|
||||
"label": "Карта метак для свайго дэтэктара аб'ектаў",
|
||||
"description": "Шлях да файла карты метак, які супастаўляе лікавыя класы з тэкставымі меткамі для дэтэктара."
|
||||
},
|
||||
"width": {
|
||||
"label": "Шырыня ўваходу мадэлі дэтэктавання аб'ектаў",
|
||||
"description": "Шырыня ўваходнага тэнзара мадэлі ў пікселях."
|
||||
},
|
||||
"height": {
|
||||
"label": "Вышыня ўваходу мадэлі дэтэктавання аб'ектаў",
|
||||
"description": "Вышыня ўваходнага тэнзара мадэлі ў пікселях."
|
||||
},
|
||||
"labelmap": {
|
||||
"label": "Змяненне карты метак",
|
||||
"description": "Перавызначэнні або пераназначэнні, якія аб'ядноўваюцца са стандартнай картай метак."
|
||||
},
|
||||
"attributes_map": {
|
||||
"label": "Карта метак аб'ектаў да іх метак атрыбутаў",
|
||||
"description": "Супастаўленне метак аб'ектаў з меткамі атрыбутаў, якія дадаюць метаданыя (напрыклад «car» -> ['license_plate'])."
|
||||
},
|
||||
"input_tensor": {
|
||||
"label": "Форма ўваходнага тэнзара мадэлі",
|
||||
"description": "Фармат тэнзара, якога чакае мадэль: «nhwc» або «nchw»."
|
||||
},
|
||||
"input_pixel_format": {
|
||||
"label": "Фармат колеру пікселяў на ўваходзе мадэлі",
|
||||
"description": "Каляровая прастора пікселяў, якой чакае мадэль: «rgb», «bgr» або «yuv»."
|
||||
},
|
||||
"input_dtype": {
|
||||
"label": "Тып даных на ўваходзе мадэлі",
|
||||
"description": "Тып даных уваходнага тэнзара мадэлі (напрыклад «float32»)."
|
||||
},
|
||||
"model_type": {
|
||||
"label": "Тып мадэлі дэтэктавання аб'ектаў",
|
||||
"description": "Тып архітэктуры мадэлі дэтэктара (ssd, yolox, yolonas, yolo-generic, rfdetr, dfine), які некаторыя дэтэктары выкарыстоўваюць для аптымізацыі."
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -31,5 +31,8 @@
|
||||
},
|
||||
"detect": {
|
||||
"dimensionMustBeEven": "Мусіць быць цотным лікам."
|
||||
},
|
||||
"models": {
|
||||
"defaultRequired": "Адна мадэль мусіць выкарыстоўваць сцэну «All cameras». Без гэтага камера, якая не выбрала сцэну, не мае мадэлі, да якой можна вярнуцца."
|
||||
}
|
||||
}
|
||||
|
||||
@@ -55,6 +55,12 @@
|
||||
"auto_scroll": {
|
||||
"title": "Аўтапракрутка",
|
||||
"desc": "Сачыць за новымі паведамленнямі па меры паступлення."
|
||||
},
|
||||
"always_allow": {
|
||||
"title": "Заўсёды дазволеныя дзеянні",
|
||||
"desc": "Дзеянні, якія памочнік можа выконваць без папярэдняга запыту.",
|
||||
"none": "Няма",
|
||||
"reset": "Скінуць"
|
||||
}
|
||||
},
|
||||
"stats": {
|
||||
@@ -68,5 +74,15 @@
|
||||
},
|
||||
"thinking": {
|
||||
"toggle": "Пераключыць разважанне"
|
||||
},
|
||||
"approval": {
|
||||
"title": "Ухваліць {{tool}}?",
|
||||
"desc": "Гэтае дзеянне нешта змяняе ў Frigate. Праглядзіце падрабязнасці перад ухваленнем.",
|
||||
"approve": "Ухваліць",
|
||||
"always_allow": "Заўсёды дазваляць",
|
||||
"reject": "Адхіліць",
|
||||
"approved": "Ухвалена",
|
||||
"rejected": "Адхілена",
|
||||
"placeholder": "Ухваліце або адхіліце дзеянне ў чаканні, каб працягнуць"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -91,5 +91,6 @@
|
||||
"crop": "Абрэзаць па фільтры",
|
||||
"cropAria": "Пераключыць абрэзку перадпрагляду па выбраных вобласцях",
|
||||
"cropDesc": "Набліжаць перадпрагляды да выбраных вобласцей фільтра замест паказу ўсяго кадра."
|
||||
}
|
||||
},
|
||||
"subOnlyQuality": "У гэтым прамежку часу даступныя толькі запісы нізкай якасці"
|
||||
}
|
||||
|
||||
@@ -63,7 +63,8 @@
|
||||
"copying": "Капіяванне",
|
||||
"encoding": "Кадаванне",
|
||||
"encodingRetry": "Кадаванне (паўтор)",
|
||||
"finalizing": "Завяршэнне"
|
||||
"finalizing": "Завяршэнне",
|
||||
"merging": "Аб'яднанне"
|
||||
},
|
||||
"caseView": {
|
||||
"noDescription": "Без апісання",
|
||||
|
||||
@@ -80,9 +80,9 @@
|
||||
"deletedFace_one": "Выдалены {{count}} твар.",
|
||||
"deletedFace_few": "Выдалена {{count}} твары.",
|
||||
"deletedFace_many": "Выдалена {{count}} твараў.",
|
||||
"deletedName_one": "Выдалены {{count}} твар.",
|
||||
"deletedName_few": "Выдалена {{count}} твары.",
|
||||
"deletedName_many": "Выдалена {{count}} твараў.",
|
||||
"deletedName_one": "{{count}} твар паспяхова выдалены.",
|
||||
"deletedName_few": "{{count}} твары паспяхова выдалены.",
|
||||
"deletedName_many": "{{count}} твараў паспяхова выдалена.",
|
||||
"renamedFace": "Твар перайменаваны на {{name}}",
|
||||
"trainedFace": "Твар навучаны.",
|
||||
"reclassifiedFace": "Твар перакласіфікаваны.",
|
||||
|
||||
@@ -6,7 +6,12 @@
|
||||
"lowBandwidthMode": "Рэжым нізкай паласы прапускання",
|
||||
"twoWayTalk": {
|
||||
"enable": "Уключыць двухбаковую размову",
|
||||
"disable": "Адключыць двухбаковую размову"
|
||||
"disable": "Адключыць двухбаковую размову",
|
||||
"requiresWebRTC": "Двухбаковая размова патрабуе WebRTC, які недаступны",
|
||||
"error": {
|
||||
"microphone": "Двухбаковая размова не атрымала доступу да вашага мікрафона",
|
||||
"refused": "Не ўдалося пачаць двухбаковую размову. Падрабязнасці глядзіце ў кансолі браўзера."
|
||||
}
|
||||
},
|
||||
"cameraAudio": {
|
||||
"enable": "Уключыць гук камеры",
|
||||
@@ -135,7 +140,8 @@
|
||||
"unavailable": "Для гэтай плыні гук недаступны"
|
||||
},
|
||||
"debug": {
|
||||
"picker": "Выбар плыні недаступны ў рэжыме адладкі. Адладачны выгляд заўсёды выкарыстоўвае плынь з роляй «detect»."
|
||||
"picker": "Выбар плыні недаступны ў рэжыме адладкі. Адладачны выгляд заўсёды выкарыстоўвае плынь з роляй «detect».",
|
||||
"technology": "Выбар тэхналогіі трансляцыі недаступны ў рэжыме адладкі."
|
||||
},
|
||||
"twoWayTalk": {
|
||||
"tips": "Ваша прылада мусіць падтрымліваць гэтую функцыю, а WebRTC мусіць быць наладжаны для двухбаковай размовы.",
|
||||
@@ -144,11 +150,36 @@
|
||||
},
|
||||
"lowBandwidth": {
|
||||
"tips": "Жывы прагляд працуе ў рэжыме нізкай паласы прапускання праз буферызацыю або памылкі плыні.",
|
||||
"resetStream": "Скінуць плынь"
|
||||
"resetStream": "Скінуць плынь",
|
||||
"force": {
|
||||
"label": "Прымусова ўключыць рэжым нізкай паласы прапускання",
|
||||
"desc": "Заўсёды прайграваць убудаваную ў Frigate плынь нізкай паласы прапускання замест выбранай. Працуе пры любым злучэнні, але мае ніжэйшую якасць і без гуку."
|
||||
}
|
||||
},
|
||||
"playInBackground": {
|
||||
"label": "Прайграваць у фоне",
|
||||
"tips": "Уключыце гэты параметр, каб плынь працягваўся, калі плэер схаваны."
|
||||
},
|
||||
"mode": "Тэхналогія трансляцыі",
|
||||
"technology": {
|
||||
"description": "Выберыце пажаданую тэхналогію трансляцыі. Пры памылках прайгравання ці сеткі Frigate усё роўна можа перайсці ў рэжым нізкай паласы прапускання.",
|
||||
"name": {
|
||||
"mse": "MSE",
|
||||
"webrtc": "WebRTC",
|
||||
"jsmpeg": "JSMpeg"
|
||||
},
|
||||
"tips": {
|
||||
"mse": "Рэкамендаваны прадвызначаны варыянт, шырокая сумяшчальнасць і плыўнае прайграванне",
|
||||
"webrtc": "Патрабуе дадатковай наладкі і падтрымліваецца не на кожнай прыладзе"
|
||||
},
|
||||
"unavailable": {
|
||||
"browser": "Ваш браўзер не падтрымлівае WebRTC.",
|
||||
"not-configured": "WebRTC не наладжаны. Задайце ў go2rtc webrtc candidates або ice_servers.",
|
||||
"unreachable": "WebRTC не змог злучыцца. Праверце, ці даступны порт 8555 і ці правільна зададзены серверы STUN/TURN.",
|
||||
"video-codec": "Відэакодэк гэтай плыні не падтрымліваецца WebRTC у гэтым браўзеры.",
|
||||
"audio-codec": "Аўдыякодэк гэтай плыні не падтрымліваецца WebRTC. Перакадуйце ў opus або G.711 праз go2rtc.",
|
||||
"checking": "Праверка даступнасці WebRTC…"
|
||||
}
|
||||
}
|
||||
},
|
||||
"cameraSettings": {
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
"systemTelemetry": "Тэлеметрыя",
|
||||
"systemBirdseye": "Birdseye",
|
||||
"systemFfmpeg": "FFMPEG",
|
||||
"systemDetectorsAndModel": "Дэтэктары і мадэль",
|
||||
"systemDetectorsAndModel": "Мадэлі дэтэктавання",
|
||||
"systemMqtt": "MQTT",
|
||||
"systemGo2rtcStreams": "Плыні go2rtc",
|
||||
"integrationSemanticSearch": "Семантычны пошук",
|
||||
@@ -204,11 +204,50 @@
|
||||
"toast": {
|
||||
"success": {
|
||||
"clearStoredLayout": "Захаваная раскладка для {{cameraName}} ачышчана",
|
||||
"clearStreamingSettings": "Налады трансляцыі для ўсіх груп камер ачышчаны."
|
||||
"clearStreamingSettings": "Налады трансляцыі для ўсіх груп камер ачышчаны.",
|
||||
"exportUiSettings": "Налады экспартаваны",
|
||||
"importUiSettings": "Налады імпартаваны"
|
||||
},
|
||||
"error": {
|
||||
"clearStoredLayoutFailed": "Не ўдалося ачысціць захаваную раскладку: {{errorMessage}}",
|
||||
"clearStreamingSettingsFailed": "Не ўдалося ачысціць налады трансляцыі: {{errorMessage}}"
|
||||
"clearStreamingSettingsFailed": "Не ўдалося ачысціць налады трансляцыі: {{errorMessage}}",
|
||||
"exportUiSettingsFailed": "Не ўдалося экспартаваць налады",
|
||||
"importNothingToApply": "Не ўдалося імпартаваць налады: файл не змяшчае налад",
|
||||
"importInvalidJson": "Не ўдалося імпартаваць налады: файл не з'яўляецца сапраўдным JSON",
|
||||
"importWrongType": "Не ўдалося імпартаваць налады: файл не з'яўляецца экспартам налад Frigate",
|
||||
"importUnsupportedVersion": "Не ўдалося імпартаваць налады: файлу патрэбна навейшая версія Frigate",
|
||||
"importInvalidSchema": "Не ўдалося імпартаваць налады: файл пашкоджаны",
|
||||
"importUiSettingsFailed": "Не ўдалося імпартаваць налады"
|
||||
}
|
||||
},
|
||||
"backupRestore": {
|
||||
"title": "Рэзервовая копія і аднаўленне",
|
||||
"transfer": {
|
||||
"label": "Файл налад прылады",
|
||||
"desc": "Раскладкі груп камер, налады трансляцыі і параметры інтэрфейсу захоўваюцца ў вашым браўзеры. Экспартуйце іх у файл, каб зрабіць рэзервовую копію або перанесці на іншую прыладу.",
|
||||
"export": "Экспартаваць налады",
|
||||
"import": "Імпартаваць налады"
|
||||
},
|
||||
"importDialog": {
|
||||
"title": "Імпартаваць налады",
|
||||
"desc": "Выберыце, што прымяніць з гэтага файла. Пасля імпарту Frigate перазагрузіцца.",
|
||||
"exportedFrom": "Экспартавана {{date}} з канфігурацыі Frigate версіі {{version}}",
|
||||
"layouts_one": "Раскладкі груп камер ({{count}} група)",
|
||||
"layouts_few": "Раскладкі груп камер ({{count}} групы)",
|
||||
"layouts_many": "Раскладкі груп камер ({{count}} груп)",
|
||||
"streaming_one": "Налады трансляцыі ({{count}} камера)",
|
||||
"streaming_few": "Налады трансляцыі ({{count}} камеры)",
|
||||
"streaming_many": "Налады трансляцыі ({{count}} камер)",
|
||||
"preferences_one": "Параметры інтэрфейсу ({{count}} налада)",
|
||||
"preferences_few": "Параметры інтэрфейсу ({{count}} налады)",
|
||||
"preferences_many": "Параметры інтэрфейсу ({{count}} налад)",
|
||||
"unknownGroups_one": "Групы камер {{groups}} няма на гэтым серверы. Яе налады захаваюцца, але не будуць выкарыстоўвацца.",
|
||||
"unknownGroups_few": "Груп камер {{groups}} няма на гэтым серверы. Іх налады захаваюцца, але не будуць выкарыстоўвацца.",
|
||||
"unknownGroups_many": "Груп камер {{groups}} няма на гэтым серверы. Іх налады захаваюцца, але не будуць выкарыстоўвацца.",
|
||||
"unknownCameras_one": "Камеры {{cameras}} няма на гэтым серверы. Яе налады трансляцыі будуць ігнаравацца.",
|
||||
"unknownCameras_few": "Камер {{cameras}} няма на гэтым серверы. Іх налады трансляцыі будуць ігнаравацца.",
|
||||
"unknownCameras_many": "Камер {{cameras}} няма на гэтым серверы. Іх налады трансляцыі будуць ігнаравацца.",
|
||||
"confirm": "Імпартаваць"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -370,7 +409,7 @@
|
||||
}
|
||||
},
|
||||
"step3": {
|
||||
"description": "Наладзьце ролі плыняў і дадайце дадатковыя плыні для вашай камеры.",
|
||||
"description": "Наладзьце магчымасці і ролі плыняў, дадайце дадатковыя плыні для вашай камеры.",
|
||||
"streamsTitle": "Плыні камеры",
|
||||
"addStream": "Дадаць плынь",
|
||||
"addAnotherStream": "Дадаць яшчэ плынь",
|
||||
@@ -404,11 +443,26 @@
|
||||
"title": "Ролі плыняў",
|
||||
"detect": "Асноўная плынь для дэтэктавання аб'ектаў.",
|
||||
"record": "Захоўвае сегменты відэаплыні паводле налад канфігурацыі.",
|
||||
"audio": "Плынь для дэтэктавання па гуку."
|
||||
"audio": "Плынь для дэтэктавання па гуку.",
|
||||
"record_sub": "Запісы ніжэйшай якасці для адаптыўнага прайгравання і падоўжанага захоўвання (звычайна дадатковая плынь камеры)."
|
||||
},
|
||||
"featuresPopover": {
|
||||
"title": "Магчымасці плыні",
|
||||
"description": "Скарыстайцеся рэтрансляцыяй go2rtc, каб паменшыць колькасць падлучэнняў да камеры."
|
||||
},
|
||||
"appleCompatibility": {
|
||||
"title": "Палепшыць прайграванне на прыладах Apple",
|
||||
"description": "Уключыце, калі глядзіце запісы ў Safari або на iPhone, iPad ці Mac."
|
||||
},
|
||||
"ptz": {
|
||||
"title": "Уключыць кіраванне PTZ",
|
||||
"detectedNote": "Праз ONVIF выяўлена падтрымка PTZ. Калі гэта камера PTZ, з гэтым параметрам вы зможаце кіраваць паваротам, нахілам і маштабаваннем камеры з інтэрфейсу.",
|
||||
"connectionDetails": "Падрабязнасці злучэння ONVIF",
|
||||
"host": "Хост ONVIF",
|
||||
"port": "Порт ONVIF",
|
||||
"username": "Імя карыстальніка ONVIF",
|
||||
"password": "Пароль ONVIF",
|
||||
"hostRequiredWarning": "Калі ўключана кіраванне PTZ, патрэбны хост і порт ONVIF."
|
||||
}
|
||||
},
|
||||
"step4": {
|
||||
@@ -1435,7 +1489,9 @@
|
||||
"orphansDeleted": "Выдалена асірацелых",
|
||||
"aborted": "Перарвана. Выдаленне перавысіла б парог бяспекі.",
|
||||
"error": "Памылка",
|
||||
"totals": "Усяго"
|
||||
"totals": "Усяго",
|
||||
"spaceToReclaim": "Месца для вызвалення",
|
||||
"spaceReclaimed": "Вызвалена месца"
|
||||
},
|
||||
"event_snapshots": "Здымкі аб'ектаў пад адсочваннем",
|
||||
"event_thumbnails": "Паменшаныя выявы аб'ектаў пад адсочваннем",
|
||||
@@ -1488,7 +1544,12 @@
|
||||
},
|
||||
"knownPlates": {
|
||||
"namePlaceholder": "напрыклад Аўто жонкі",
|
||||
"platePlaceholder": "Нумар знака або рэгулярны выраз"
|
||||
"platePlaceholder": "Нумар знака або рэгулярны выраз",
|
||||
"assignedTo": "Прызначана: {{name}}",
|
||||
"detected": "Выяўленыя нумарныя знакі",
|
||||
"noneDetected": "Нумарных знакаў пакуль не выяўлена",
|
||||
"search": "Знайдзіце або ўвядзіце нумарны знак",
|
||||
"useCustom": "Выкарыстаць «{{value}}»"
|
||||
},
|
||||
"liveStreams": {
|
||||
"streamNameLabel": "Назва плыні",
|
||||
@@ -1544,7 +1605,8 @@
|
||||
"preset-record-mjpeg": "Запіс - камеры MJPEG",
|
||||
"preset-record-jpeg": "Запіс - камеры JPEG",
|
||||
"preset-record-ubiquiti": "Запіс - камеры Ubiquiti"
|
||||
}
|
||||
},
|
||||
"sameAsRecord": "Тое самае, што выходныя аргументы запісу"
|
||||
},
|
||||
"cameraInputs": {
|
||||
"itemTitle": "Плынь {{index}}",
|
||||
@@ -1629,8 +1691,11 @@
|
||||
"options": {
|
||||
"detect": "Дэтэктаваць",
|
||||
"record": "Запіс",
|
||||
"audio": "Аўдыя"
|
||||
}
|
||||
"audio": "Аўдыя",
|
||||
"record_sub": "Запіс (дадатковая плынь)"
|
||||
},
|
||||
"roleInUse": "Ужо прызначана іншай плыні",
|
||||
"recordSubConflict": "Плынь не можа мець адначасова ролі record і record_sub"
|
||||
},
|
||||
"genaiRoles": {
|
||||
"options": {
|
||||
@@ -1683,7 +1748,18 @@
|
||||
},
|
||||
"defaultRole": {
|
||||
"admin": "Адміністратар",
|
||||
"viewer": "Назіральнік"
|
||||
"viewer": "Назіральнік",
|
||||
"none": "Няма (адмовіць у доступе)"
|
||||
},
|
||||
"birdseyeModes": {
|
||||
"summary": "Выбрана: {{count}}",
|
||||
"options": {
|
||||
"continuous": "Бесперапынна",
|
||||
"motion": "Рух",
|
||||
"all_objects": "Усе аб'екты",
|
||||
"alerts": "Абвесткі",
|
||||
"detections": "Дэтэктаванні"
|
||||
}
|
||||
}
|
||||
},
|
||||
"globalConfig": {
|
||||
@@ -1905,7 +1981,8 @@
|
||||
"maxFramesSet": "Задаванне максімуму кадраў перавызначае прадвызначаныя паводзіны і адключае адсочванне нерухомых аб'ектаў. Гэта патрэбна вельмі рэдка, карыстайцеся асцярожна.",
|
||||
"squareResolution": "Квадратнае разрозненне дэтэктавання - незвычайны выбар. Шырыня і вышыня дэтэктавання мусяць адпавядаць фарматным суадносінам камеры (напрыклад 16:9), а не памерам мадэлі дэтэктавання аб'ектаў. Неадпаведнасць можа расцягнуць відарыс і знізіць дакладнасць дэтэктавання.",
|
||||
"resolutionHigh": "Гэта разрозненне дэтэктавання вышэйшае за рэкамендаванае і можа павялічыць спажыванне рэсурсаў без павышэння дакладнасці. Для большасці камер рэкамендуецца разрозненне не вышэй за 1080p.",
|
||||
"globalResolutionMultipleCameras": "Зададзена глабальнае разрозненне дэтэктавання, хоць наладжана некалькі камер. Калі камеры не маюць аднолькавых разрознення і фарматных суадносін, шырыню і вышыню дэтэктавання варта задаваць для кожнай камеры асобна."
|
||||
"globalResolutionMultipleCameras": "Зададзена глабальнае разрозненне дэтэктавання, хоць наладжана некалькі камер. Калі камеры не маюць аднолькавых разрознення і фарматных суадносін, шырыню і вышыню дэтэктавання варта задаваць для кожнай камеры асобна.",
|
||||
"sceneWithoutModel": "Для гэтай сцэны не наладжана мадэль дэтэктавання, таму камера вяртаецца да мадэлі са сцэнай «All cameras». Дадайце мадэль для гэтай сцэны, каб камера мела сваю."
|
||||
},
|
||||
"model": {
|
||||
"optimizedFor320": "Frigate аптымізаваны пад мадэль 320x320, і для большасці канфігурацый гэта найлепшы выбар. Мадэль 640x640 працуе павольней і дапамагае толькі ў асобных выпадках.",
|
||||
@@ -1929,7 +2006,8 @@
|
||||
"modelSizeLarge": "Мадэль «large» аптымізавана пад шматрадковыя нумарныя знакі. Мадэль «small» працуе хутчэй, і карыстацца варта ёй, калі ў вашым рэгіёне не ўжываюцца шматрадковыя знакі."
|
||||
},
|
||||
"record": {
|
||||
"noRecordRole": "Ніводнай плыні не прызначана роля «record». Запіс працаваць не будзе."
|
||||
"noRecordRole": "Ніводнай плыні не прызначана роля «record». Запіс працаваць не будзе.",
|
||||
"noRecordSubRole": "Ні ў адной плыні не зададзена роля record_sub. Запіс дадатковай плыні не будзе працаваць."
|
||||
},
|
||||
"snapshots": {
|
||||
"detectDisabled": "Дэтэктаванне аб'ектаў адключана. Здымкі ствараюцца з аб'ектаў пад адсочваннем і стварацца не будуць."
|
||||
@@ -1939,6 +2017,50 @@
|
||||
},
|
||||
"onvif": {
|
||||
"autotrackingNoZones": "Аўтаадсочванне патрабуе хаця б адной зоны. Вызначце зону для гэтай камеры ў раздзеле «Маскі і зоны», а потым пазначце яе як патрэбную ніжэй."
|
||||
},
|
||||
"birdseye": {
|
||||
"objectTrackingDetectDisabled": "Birdseye паказвае аб'екты пад адсочваннем, але дэтэктаванне аб'ектаў для гэтай камеры адключана. Камера не з'явіцца ў Birdseye."
|
||||
}
|
||||
},
|
||||
"detectionModels": {
|
||||
"title": "Мадэлі дэтэктавання",
|
||||
"description": "Наладзьце мадэлі дэтэктавання аб'ектаў і абсталяванне, на якім працуе кожная з іх. Камера выбірае мадэль паводле сваёй сцэны ў наладах дэтэктавання.",
|
||||
"addModel": "Дадаць мадэль",
|
||||
"cameras_one": "{{count}} камера",
|
||||
"cameras_few": "{{count}} камеры",
|
||||
"cameras_many": "{{count}} камер",
|
||||
"scene": {
|
||||
"label": "Сцэна",
|
||||
"description": "Асяроддзе, для якога прызначана гэтая мадэль. Камера выбірае мадэль, задаючы тую самую сцэну ў сваіх наладах дэтэктавання, а мадэль са сцэнай all выкарыстоўвае любая камера, якая нічога не задала."
|
||||
},
|
||||
"scenes": {
|
||||
"all": "Усе камеры",
|
||||
"indoor": "У памяшканні",
|
||||
"outdoor": "На вуліцы",
|
||||
"indoor_thermal": "У памяшканні, цеплавізійная",
|
||||
"outdoor_thermal": "На вуліцы, цеплавізійная"
|
||||
},
|
||||
"hardware": {
|
||||
"label": "Абсталяванне",
|
||||
"placeholder": "Выберыце абсталяванне",
|
||||
"loading": "Пошук абсталявання для дэтэктавання…",
|
||||
"none": "Абсталяванне не выбрана",
|
||||
"claimedBy": "выкарыстоўвае {{scene}}",
|
||||
"detectorCount": "Дэтэктары",
|
||||
"countRecommended_one": "Рэкамендуецца для {{count}} камеры",
|
||||
"countRecommended_few": "Рэкамендуецца для {{count}} камер",
|
||||
"countRecommended_many": "Рэкамендуецца для {{count}} камер",
|
||||
"unrecognized": "Гэтая мадэль наладжана для абсталявання, якога няма ў сістэме: {{devices}}",
|
||||
"description": "Абсталяванне, на якім гэтая мадэль выконвае дэтэктаванне.",
|
||||
"detectorCountDescription": "Колькі працэсаў дэтэктавання запускаць на гэтым абсталяванні. Большая колькасць дэтэктараў спраўляецца з большай колькасцю камер, але займае больш памяці прылады.",
|
||||
"unitsDescription": "Кожны блок выконвае свой працэс дэтэктавання. Блок, які ўжо выкарыстоўвае іншая мадэль, выбраць нельга."
|
||||
},
|
||||
"tabs": {
|
||||
"plus": "Frigate+",
|
||||
"custom": "Свая мадэль"
|
||||
},
|
||||
"plusModel": {
|
||||
"noModelSelected": "Выберыце мадэль Frigate+"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,7 +9,8 @@
|
||||
"go2rtc": "Журналы go2rtc - Frigate",
|
||||
"nginx": "Журналы Nginx - Frigate",
|
||||
"websocket": "Журналы паведамленняў - Frigate"
|
||||
}
|
||||
},
|
||||
"health": "Стан - Frigate"
|
||||
},
|
||||
"title": "Сістэма",
|
||||
"metrics": "Сістэмныя метрыкі",
|
||||
@@ -148,6 +149,10 @@
|
||||
"unused": {
|
||||
"title": "Нявыкарыстана",
|
||||
"tips": "Гэта значэнне можа недакладна адлюстроўваць вольнае месца, даступнае Frigate, калі на дыску ёсць іншыя файлы акрамя запісаў Frigate. Frigate не адсочвае месца па-за сваімі запісамі."
|
||||
},
|
||||
"subStream": {
|
||||
"information": "Звесткі пра сховішча дадатковай плыні",
|
||||
"tips": "Камеры, якія пішуць дадатковую плынь, паказваюць выкарыстанне зыходнай і нізкай якасці асобна, тымі ж назвамі, што і параметры якасці пры прайграванні запісаў. Запісы нізкай якасці застаюцца на дыску да заканчэння тэрміну захоўвання, таму гэты падзел можа паказвацца і пасля таго, як запіс дадатковай плыні быў адключаны."
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -181,7 +186,11 @@
|
||||
"segmentLength": "Даўжыня сегмента запісу:",
|
||||
"ok": "Ключавыя кадры прыблізна кожныя {{seconds}} с, гэта добра для запісу і прайгравання.",
|
||||
"unknown": "Не ўдалося вызначыць інтэрвал ключавых кадраў.",
|
||||
"recordDisabled": "Для гэтай камеры запіс адключаны."
|
||||
"recordDisabled": "Для гэтай камеры запіс адключаны.",
|
||||
"warningFixed": "Ключавыя кадры ідуць раўнамерна, але рэдка (прыкладна кожныя {{seconds}} с). Запіс працуе, але жывое прайграванне і перамотка пачынаюцца павольней. Задайце інтэрвал I-кадраў (ключавых кадраў) камеры роўным яе частаце кадраў.",
|
||||
"warningVariable": "Інтэрвал ключавых кадраў нераўнамерны (ад {{minSeconds}} с да {{maxSeconds}} с), што звычайна значыць уключаны разумны кодэк (H.264+/H.265+). Так рабіць не рэкамендуецца.",
|
||||
"errorFixed": "Ключавыя кадры кожныя прыкладна {{seconds}} с - гэта даўжэй за сегмент запісу ({{segmentTime}} с), таму некаторыя сегменты застаюцца без ключавога кадра і не будуць прайгравацца. Паменшыце інтэрвал I-кадраў (ключавых кадраў) камеры да яе частаты кадраў.",
|
||||
"errorVariable": "Прамежкі паміж ключавымі кадрамі дасягаюць прыкладна {{seconds}} с - гэта даўжэй за сегмент запісу ({{segmentTime}} с). Некаторыя сегменты застануцца без ключавога кадра, што ламае прайграванне. Адключыце разумны кодэк (+) на камеры або паменшыце інтэрвал ключавых кадраў."
|
||||
}
|
||||
},
|
||||
"framesAndDetections": "Кадры / дэтэктаванні",
|
||||
@@ -234,7 +243,11 @@
|
||||
"cameraIsOffline": "{{camera}} па-за сеткай",
|
||||
"detectIsSlow": "{{detect}} працуе павольна ({{speed}} мс)",
|
||||
"detectIsVerySlow": "{{detect}} працуе вельмі павольна ({{speed}} мс)",
|
||||
"debugReplayActive": "Сеанс адладачнага паўтору актыўны"
|
||||
"debugReplayActive": "Сеанс адладачнага паўтору актыўны",
|
||||
"cameraSkippedDetections": "{{camera}} прапускае дэтэктаванне на {{pct}}% кадраў",
|
||||
"systemNotices_one": "{{count}} сістэмная заўвага",
|
||||
"systemNotices_other": "{{count}} сістэмнай заўвагі",
|
||||
"retentionUnmet": "Запісы выдаляюцца да заканчэння тэрміну захоўвання, каб вызваліць месца"
|
||||
},
|
||||
"enrichments": {
|
||||
"title": "Узбагачэнні",
|
||||
@@ -262,5 +275,93 @@
|
||||
"classification_speed": "Хуткасць класіфікацыі {{name}}",
|
||||
"classification_events_per_second": "Падзей класіфікацыі {{name}} на секунду"
|
||||
}
|
||||
},
|
||||
"health": {
|
||||
"title": "Стан",
|
||||
"notices": {
|
||||
"title": "Заўвагі",
|
||||
"empty": "Ваша ўсталёўка Frigate у парадку",
|
||||
"dismiss": "Схаваць",
|
||||
"openSettings": "Адкрыць налады",
|
||||
"openLink": "Адкрыць спасылку",
|
||||
"noMatches": "Няма заўваг, якія адпавядаюць фільтру",
|
||||
"dismissedTitle": "Схаваныя",
|
||||
"noneDismissed": "Няма схаваных заўваг",
|
||||
"clearDismissed": "Ачысціць схаваныя",
|
||||
"clearDismissedTitle": "Ачысціць схаваныя заўвагі?",
|
||||
"clearDismissedDesc": "Усе схаваныя заўвагі будуць выдалены. Праверкі канфігурацыі і плыняў пакажуцца адразу, а іншыя заўвагі вернуцца пры наступным узнікненні.",
|
||||
"firstSeen_one": "Упершыню {{time}}",
|
||||
"firstSeen_other": "Упершыню {{time}} · {{count}} разу",
|
||||
"dismissedAt": "Схавана {{time}}",
|
||||
"filter": {
|
||||
"showDismissed": "Паказаць схаваныя",
|
||||
"severity": "Узровень важнасці",
|
||||
"error": "Памылка",
|
||||
"warning": "Папярэджанне",
|
||||
"info": "Звесткі"
|
||||
},
|
||||
"kinds": {
|
||||
"detector_stuck": "Дэтэктар {{detector}} перазапушчаны пасля таго, як перастаў адказваць",
|
||||
"model_download_failed": "Не ўдалося спампаваць {{file}} для {{model}}: {{error}}",
|
||||
"skipped_detections": "Дэтэктаванне не паспявала і больш за хвіліну прапускала {{pct}}% кадраў",
|
||||
"shm_too_low": "Выдзеленую памяць /dev/shm ({{total}} МБ) трэба павялічыць прынамсі да {{min}} МБ",
|
||||
"failed_login_one": "Няўдалая спроба ўваходу для {{user}}",
|
||||
"failed_login_other": "Няўдалыя спробы ўваходу для {{user}}",
|
||||
"update_available": "Даступная Frigate {{version}}"
|
||||
},
|
||||
"streamPrefix": "Плынь {{index}}: {{message}}",
|
||||
"streamPrefixRestream": "Плынь {{index}} (праз go2rtc): {{message}}",
|
||||
"streamProbeFailed": "Не ўдалося зандзіраваць плынь {{index}}: {{error}}",
|
||||
"cameraProbeFailed": "Не ўдалося зандзіраваць плыні: {{error}}"
|
||||
},
|
||||
"hardware": {
|
||||
"title": "Абсталяванне",
|
||||
"objectDetection": "Дэтэктаванне аб'ектаў",
|
||||
"hardwareAcceleration": "Апаратнае паскарэнне",
|
||||
"enrichments": {
|
||||
"title": "Узбагачэнні",
|
||||
"semantic_search": "Семантычны пошук",
|
||||
"face_recognition": "Распазнаванне асобы",
|
||||
"lpr": "Распазнаванне нумарных знакаў",
|
||||
"audio_transcription": "Транскрыпцыя гуку"
|
||||
},
|
||||
"cameraConnections": "Злучэнні камер",
|
||||
"allCamerasExcellent": "Усе камеры маюць выдатнае злучэнне.",
|
||||
"fps": "{{camera}} / {{expected}} fps",
|
||||
"nothingConfigured": "Нічога не наладжана",
|
||||
"allCameras": "Усе камеры",
|
||||
"probeUnavailable": "Выяўленне абсталявання недаступнае",
|
||||
"justStarted": "Frigate толькі што запусціўся",
|
||||
"deviceNotFound": "{{devices}} не знойдзена ў гэтай сістэме",
|
||||
"detectorNotRunning": "Працэс дэтэктара не запушчаны",
|
||||
"inferenceVerySlow": "Вывядзенне вельмі павольнае ({{speed}} мс)",
|
||||
"inferenceSlow": "Вывядзенне павольнае ({{speed}} мс)",
|
||||
"inferenceMs": "{{speed}} мс",
|
||||
"customArgs": "Свае аргументы ffmpeg",
|
||||
"customArgsNotVerified": "Свае аргументы ffmpeg, не правераныя",
|
||||
"hwaccelNotConfigured": "Апаратнае дэкадаванне не выкарыстоўваецца, хоць {{family}} даступнае. Выберыце яго ў наладах ffmpeg",
|
||||
"hwaccelHardwareMissing": "{{family}} наладжана, але апаратнае зандзіраванне яго не выявіла",
|
||||
"unrecognizedDevice": "Нераспазнанае перавызначэнне прылады, не праверана",
|
||||
"decoderUsage": "дэкадавальнік {{usage}}",
|
||||
"remoteProvider": "Аддалены правайдар",
|
||||
"acceleratorMissing": "Наладжана для {{device}}, але сумяшчальнага паскаральніка не знойдзена",
|
||||
"modelNotRunYet": "Мадэль яшчэ не запускалася, прылада правяраецца пасля першага выкарыстання",
|
||||
"fellBackToCpu": "Наладжана для {{device}}, але працуе на CPU",
|
||||
"cpuDespiteAccelerator": "Працуе на CPU, хоць паскаральнік даступны",
|
||||
"probed": "Зандзіравана",
|
||||
"probing": "Зандзіраванне…",
|
||||
"recheck": "Праверыць абсталяванне зноў",
|
||||
"cameraStreams": "Плыні камер",
|
||||
"streamsNotChecked": "Яшчэ не правяралася",
|
||||
"streamsChecking": "Правярае {{done}} з {{total}}",
|
||||
"streamsClean": "Праблем з плынямі няма",
|
||||
"checked": "Праверана",
|
||||
"runAgain": "Запусціць зноў",
|
||||
"runStreamChecks": "Запусціць праверку плыняў",
|
||||
"streamsChecked_one": "{{count}} камера правераная",
|
||||
"streamsChecked_other": "{{count}} камеры правераных",
|
||||
"streamsFlagged_one": "{{count}} з праблемамі, пералічана ў Заўвагах",
|
||||
"streamsFlagged_other": "{{count}} з праблемамі, пералічана ў Заўвагах"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,14 +1,6 @@
|
||||
{
|
||||
"noPreviewFoundFor": "Не е намерен предварителен преглед за {{cameraName}}",
|
||||
"stats": {
|
||||
"latency": {
|
||||
"short": {
|
||||
"value": "{{seconds}} сек",
|
||||
"title": "Закъснение"
|
||||
},
|
||||
"title": "Закъснение:",
|
||||
"value": "{{seconds}} секунди"
|
||||
},
|
||||
"streamType": {
|
||||
"title": "Тип поток:",
|
||||
"short": "Тип"
|
||||
|
||||
@@ -21,14 +21,6 @@
|
||||
"title": "Širina pojasa:",
|
||||
"short": "Širina pojasa"
|
||||
},
|
||||
"latency": {
|
||||
"title": "Kasnjenje:",
|
||||
"value": "{{seconds}} sekundi",
|
||||
"short": {
|
||||
"title": "Kasnjenje",
|
||||
"value": "{{seconds}} sek"
|
||||
}
|
||||
},
|
||||
"totalFrames": "Ukupno okvira:",
|
||||
"droppedFrames": {
|
||||
"title": "Izgubljeni okviri:",
|
||||
|
||||
@@ -55,9 +55,9 @@
|
||||
"be": "Беларуская (belarús)"
|
||||
},
|
||||
"system": "Sistema",
|
||||
"systemMetrics": "Mètriques del sistema",
|
||||
"systemMetrics": "Salut i Mètriques",
|
||||
"configuration": "Configuració",
|
||||
"systemLogs": "Registres del sistema",
|
||||
"systemLogs": "Registres",
|
||||
"configurationEditor": "Editor de configuració",
|
||||
"languages": "Idiomes",
|
||||
"settings": "Opcions",
|
||||
@@ -287,7 +287,10 @@
|
||||
"savingAll": "S'està desant tot…",
|
||||
"undoAll": "Desfés-ho tot",
|
||||
"applying": "S'està aplicant…",
|
||||
"retry": "Torna a intentar"
|
||||
"retry": "Torna a intentar",
|
||||
"expand": "Expandeix",
|
||||
"collapse": "Redueix",
|
||||
"reload": "Torna a carregar"
|
||||
},
|
||||
"toast": {
|
||||
"copyUrlToClipboard": "URL copiada al porta-retalls.",
|
||||
@@ -328,5 +331,36 @@
|
||||
"validation_errors": "Errors de validació",
|
||||
"credentialField": {
|
||||
"savedPlaceholder": "Desat — deixa en blanc per mantenir l'actual"
|
||||
},
|
||||
"error": {
|
||||
"title": "Aquesta pàgina ha deixat de funcionar",
|
||||
"desc": "La pàgina ha tingut un error inesperat. La recàrrega normalment la neteja. Si continua passant, copieu els detalls i adjunteu-los a una discussió sobre GitHub.",
|
||||
"staleTitle": "Recàrrega requerida",
|
||||
"staleDesc": "No s'ha pogut carregar part de la interfície, cosa que normalment significa que Frigate s'ha actualitzat mentre aquesta pestanya estava oberta. Torna a carregar per a recollir la nova versió.",
|
||||
"partial": "Part de la interfície va deixar de funcionar.",
|
||||
"copyDetails": "Copia els detalls",
|
||||
"copyFailed": "No s'han pogut copiar els detalls al porta-retalls"
|
||||
},
|
||||
"commandMenu": {
|
||||
"title": "Menú d'ordres",
|
||||
"description": "Cerca pàgines, càmeres, paràmetres i accions",
|
||||
"placeholder": "Cerca pàgines, càmeres, paràmetres i accions",
|
||||
"empty": "Sense coincidències",
|
||||
"hint": "{{key}} o / per obrir, Intro per executar",
|
||||
"section": {
|
||||
"recent": "Recent",
|
||||
"pages": "Pàg",
|
||||
"cameras": "Càmeres",
|
||||
"cameraGroups": "Grups de càmera",
|
||||
"settings": "Configuració",
|
||||
"actions": "Accions"
|
||||
},
|
||||
"camera": {
|
||||
"live": "Directe",
|
||||
"review": "Revisió"
|
||||
},
|
||||
"action": {
|
||||
"toggleTheme": "Commuta el mode clar i fosc"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -137,6 +137,15 @@
|
||||
"partial": "S'han iniciat {{successful}} de {{total}} exportacions. Ha fallat: {{failedItems}}",
|
||||
"failed": "No s'han pogut iniciar {{total}} exportacions. Ha fallat: {{failedItems}}"
|
||||
}
|
||||
},
|
||||
"stream": {
|
||||
"label": "Qualitat",
|
||||
"auto": "Automàtic",
|
||||
"main": "Original",
|
||||
"sub": "Baix",
|
||||
"autoDesc": "Utilitza el flux principal i torna al flux de menor qualitat quan el principal no està disponible.",
|
||||
"mainDesc": "Exporta només el flux principal de qualitat original. Faltaran els intervals de temps on el flux principal no està disponible.",
|
||||
"subDesc": "Exporta només el subflux de menor qualitat. Faltaran els intervals de temps on el subflux no està disponible."
|
||||
}
|
||||
},
|
||||
"streaming": {
|
||||
@@ -172,7 +181,8 @@
|
||||
"deleteNow": "Suprimir ara",
|
||||
"export": "Exportar",
|
||||
"markAsReviewed": "Marcar com a revisat",
|
||||
"markAsUnreviewed": "Marcar com no revisat"
|
||||
"markAsUnreviewed": "Marcar com no revisat",
|
||||
"generateDescription": "Genera la descripció"
|
||||
},
|
||||
"confirmDelete": {
|
||||
"title": "Confirmar la supressió",
|
||||
@@ -191,6 +201,12 @@
|
||||
"custom": "Marca horària personalitzada",
|
||||
"button": "Comparteix l'URL de la marca horària",
|
||||
"shareTitle": "Marca de temps de revisió de Frigate: {{camera}}"
|
||||
},
|
||||
"genaiDescription": {
|
||||
"toast": {
|
||||
"success": "S'ha sol·licitat una descripció de IA Generativa per a aquest element de revisió.",
|
||||
"error": "No s'ha pogut sol·licitar la descripció: {{error}}"
|
||||
}
|
||||
}
|
||||
},
|
||||
"imagePicker": {
|
||||
|
||||
@@ -1,13 +1,5 @@
|
||||
{
|
||||
"stats": {
|
||||
"latency": {
|
||||
"short": {
|
||||
"title": "Latència",
|
||||
"value": "{{seconds}} s"
|
||||
},
|
||||
"title": "Latència:",
|
||||
"value": "{{seconds}} segons"
|
||||
},
|
||||
"streamType": {
|
||||
"title": "Tipus de transmissió:",
|
||||
"short": "Tipus"
|
||||
@@ -45,8 +37,23 @@
|
||||
"submittedFrigatePlus": "Fotograma enviat correctament a Frigate+"
|
||||
},
|
||||
"error": {
|
||||
"submitFrigatePlusFailed": "Error al enviar fotograma a Frigate+"
|
||||
"submitFrigatePlusFailed": "Error al enviar fotograma a Frigate+",
|
||||
"playRecordingsFailed": "No s'han pogut reproduir els enregistraments (error {{code}}): {{message}}"
|
||||
}
|
||||
},
|
||||
"cameraOff": "La càmera està apagada"
|
||||
"cameraOff": "La càmera està apagada",
|
||||
"quality": {
|
||||
"auto": "Automàtic",
|
||||
"autoLow": "Reproduint de baixa qualitat (ample de banda limitat)",
|
||||
"autoLowCodec": "Reproducció de baixa qualitat (Original no suportat per aquest navegador)",
|
||||
"autoLowSaveData": "Reproducció de baixa qualitat (desador de dades)",
|
||||
"main": "Original",
|
||||
"sub": "Baixa",
|
||||
"notSupportedBrowser": "No és compatible amb aquest navegador",
|
||||
"label": "Qualitat",
|
||||
"noAudio": "Sense àudio",
|
||||
"audioRate": "{{rate}} àudio kHz",
|
||||
"audioCodecRate": "{{codec}} {{rate}} kHz",
|
||||
"noRecordings": "No hi ha enregistraments en aquest interval de temps"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -46,6 +46,10 @@
|
||||
"num_threads": {
|
||||
"label": "Fils de detecció",
|
||||
"description": "Nombre de fils a utilitzar per al processament de detecció d'àudio."
|
||||
},
|
||||
"labelmap": {
|
||||
"label": "Personalització del mapa d'etiquetes d'àudio",
|
||||
"description": "Sobreescriu o reassigna les entrades per a fusionar-se en el mapa d'etiquetes d'àudio estàndard."
|
||||
}
|
||||
},
|
||||
"audio_transcription": {
|
||||
@@ -73,6 +77,10 @@
|
||||
"order": {
|
||||
"label": "Posició",
|
||||
"description": "Posició numèrica que controla l'ordenació de la càmera en la disposició Birdseye."
|
||||
},
|
||||
"modes": {
|
||||
"label": "Tipus d'activitat",
|
||||
"description": "Tipus d'activitat que inclouen càmeres a Birdseye."
|
||||
}
|
||||
},
|
||||
"detect": {
|
||||
@@ -133,6 +141,10 @@
|
||||
"annotation_offset": {
|
||||
"label": "Desplaçament de l'anotació",
|
||||
"description": "Mil·lisegons per a desplaçar detecta anotacions per a alinear millor els límits de la línia de temps amb els enregistraments; pot ser positiu o negatiu."
|
||||
},
|
||||
"scene": {
|
||||
"label": "Detecta l'escena",
|
||||
"description": "L'entorn que mira aquesta càmera, utilitzat per triar quin dels models configurats s'executa en ell. Les càmeres que queden a 'totes' executen el model configurat amb una escena de 'totes'."
|
||||
}
|
||||
},
|
||||
"face_recognition": {
|
||||
@@ -176,6 +188,10 @@
|
||||
"record": {
|
||||
"label": "Registra els arguments de sortida",
|
||||
"description": "Arguments de sortida predeterminats per a enregistrar fluxos de rols."
|
||||
},
|
||||
"record_sub": {
|
||||
"label": "Arguments de sortida del registre de subflux",
|
||||
"description": "Arguments de sortida per als fluxos de rols record.sub. Els arguments de sortida del registre s'utilitzen quan no s'estableix."
|
||||
}
|
||||
},
|
||||
"retry_interval": {
|
||||
@@ -356,51 +372,51 @@
|
||||
"label": "Màscara en brut"
|
||||
},
|
||||
"genai": {
|
||||
"label": "Configuració de l'objecte GenAI",
|
||||
"description": "Opcions de GenAI per descriure objectes rastrejats i enviar fotogrames per a la generació.",
|
||||
"label": "Configuració de l'objecte IA Generativa",
|
||||
"description": "Opcions d'IA Generativa per descriure objectes rastrejats i enviar fotogrames per a la generació.",
|
||||
"enabled": {
|
||||
"label": "Habilita el GenAI",
|
||||
"description": "Habilita la generació de descripcions de GenAI per als objectes rastrejats de manera predeterminada."
|
||||
"label": "Habilita l'IA Generativa",
|
||||
"description": "Habilita la generació de descripcions d'IA Generativa per als objectes rastrejats de manera predeterminada."
|
||||
},
|
||||
"use_snapshot": {
|
||||
"label": "Utilitza instantànies",
|
||||
"description": "Usa instantànies d'objecte en lloc de miniatures per a la generació de descripcions de GenAI."
|
||||
"description": "Usa instantànies d'objecte en lloc de miniatures per a la generació de descripcions d'IA Generativa."
|
||||
},
|
||||
"prompt": {
|
||||
"label": "Indicació de la llegenda",
|
||||
"description": "Plantilla de pregunta predeterminada utilitzada en generar descripcions amb GenAI."
|
||||
"description": "Plantilla de pregunta predeterminada utilitzada en generar descripcions amb IA Generativa."
|
||||
},
|
||||
"object_prompts": {
|
||||
"label": "Peticions d'objecte",
|
||||
"description": "Per objecte demana personalitzar les sortides de GenAI per a etiquetes específiques."
|
||||
"description": "Per objecte demana personalitzar les sortides d'IA Generativa per a etiquetes específiques."
|
||||
},
|
||||
"objects": {
|
||||
"label": "Objectes GenAI",
|
||||
"description": "Llista d'etiquetes d'objectes a enviar a GenAI per defecte."
|
||||
"label": "Objectes d'IA Generativa",
|
||||
"description": "Llista d'etiquetes d'objectes a enviar a IA Generativa per defecte."
|
||||
},
|
||||
"required_zones": {
|
||||
"label": "Zones requerides",
|
||||
"description": "Zones que s'han d'introduir perquè els objectes es puguin classificar per a la generació de descripcions de GenAI."
|
||||
"description": "Zones que s'han d'introduir perquè els objectes es puguin classificar per a la generació de descripcions d'IA Generativa."
|
||||
},
|
||||
"debug_save_thumbnails": {
|
||||
"label": "Desa les miniatures",
|
||||
"description": "Desa les miniatures enviades a GenAI per a la depuració i la revisió."
|
||||
"description": "Desa les miniatures enviades a IA Generativa per a la depuració i la revisió."
|
||||
},
|
||||
"send_triggers": {
|
||||
"label": "Activadors de GenAI",
|
||||
"description": "Defineix quan s'han d'enviar fotogrames a GenAI (al final, després de les actualitzacions, etc.).",
|
||||
"label": "Activadors d'IA Generativa",
|
||||
"description": "Defineix quan s'han d'enviar fotogrames a IA Generativa (al final, després de les actualitzacions, etc.).",
|
||||
"tracked_object_end": {
|
||||
"label": "Envia al final",
|
||||
"description": "Envia una sol·licitud a GenAI quan acabi l'objecte rastrejat."
|
||||
"description": "Envia una sol·licitud a IA Generativa quan acabi l'objecte rastrejat."
|
||||
},
|
||||
"after_significant_updates": {
|
||||
"label": "Activador de GenAI primerenc",
|
||||
"description": "Envia una sol·licitud a GenAI després d'un nombre especificat d'actualitzacions significatives per a l'objecte rastrejat."
|
||||
"label": "Activador d'IA Generativa primerenc",
|
||||
"description": "Envia una sol·licitud a IA Generativa després d'un nombre especificat d'actualitzacions significatives per a l'objecte rastrejat."
|
||||
}
|
||||
},
|
||||
"enabled_in_config": {
|
||||
"label": "Estat original de GenAI",
|
||||
"description": "Indica si el GenAI s'ha activat a la configuració estàtica original."
|
||||
"label": "Estat original d'IA Generativa",
|
||||
"description": "Indica si l'IA Generativa s'ha activat a la configuració estàtica original."
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -505,11 +521,59 @@
|
||||
"enabled_in_config": {
|
||||
"label": "Estat de l'enregistrament original",
|
||||
"description": "Indica si l'enregistrament s'ha activat en la configuració estàtica original."
|
||||
},
|
||||
"sub": {
|
||||
"label": "Enregistrament de subflux",
|
||||
"description": "Paràmetres per a enregistrar un segon flux de menor qualitat.",
|
||||
"enabled": {
|
||||
"label": "Habilita l'enregistrament de subflux",
|
||||
"description": "Permet l'enregistrament d'un segon flux de menor qualitat per a la reproducció de qualitat adaptativa i la retenció estesa."
|
||||
},
|
||||
"continuous": {
|
||||
"label": "Retenció contínua del subflux",
|
||||
"description": "Nombre de dies per a retenir els enregistraments de sub flux independentment dels objectes o el moviment seguits.",
|
||||
"days": {
|
||||
"label": "Dies de retenció",
|
||||
"description": "Dies per retenir enregistraments."
|
||||
}
|
||||
},
|
||||
"motion": {
|
||||
"label": "Retenció del moviment del subflux",
|
||||
"description": "Nombre de dies per a retenir els enregistraments de substream activats pel moviment.",
|
||||
"days": {
|
||||
"label": "Dies de retenció",
|
||||
"description": "Dies per retenir enregistraments."
|
||||
}
|
||||
},
|
||||
"alerts": {
|
||||
"label": "Retenció d'alertes del subflux",
|
||||
"description": "Paràmetres de retenció per als enregistraments de substream d'alertes.",
|
||||
"days": {
|
||||
"label": "Dies de retenció",
|
||||
"description": "Nombre de dies per a retenir enregistraments d'esdeveniments de detecció."
|
||||
},
|
||||
"mode": {
|
||||
"label": "Mode de retenció",
|
||||
"description": "Mode de retenció: tot (desa tots els segments), moviment (desa els segments amb moviment), o actiuobobjectes (desa els segments amb objectes actius)."
|
||||
}
|
||||
},
|
||||
"detections": {
|
||||
"label": "Retenció de la detecció de subflux",
|
||||
"description": "Paràmetres de retenció per als enregistraments de substream de les deteccions.",
|
||||
"days": {
|
||||
"label": "Dies de retenció",
|
||||
"description": "Nombre de dies per a retenir enregistraments d'esdeveniments de detecció."
|
||||
},
|
||||
"mode": {
|
||||
"label": "Mode de retenció",
|
||||
"description": "Mode de retenció: tot (desa tots els segments), moviment (desa els segments amb moviment), o actiuobobjectes (desa els segments amb objectes actius)."
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"review": {
|
||||
"label": "Revisió",
|
||||
"description": "Configuració que controla les alertes, les deteccions i els resums de revisió de GenAI utilitzats per la interfície d'usuari i l'emmagatzematge d'aquesta càmera.",
|
||||
"description": "Configuració que controla les alertes, les deteccions i els resums de revisió d'IA Generativa utilitzats per la interfície d'usuari i l'emmagatzematge d'aquesta càmera.",
|
||||
"alerts": {
|
||||
"label": "Configuració d'alertes",
|
||||
"description": "Paràmetres per als quals els objectes rastrejats generen alertes i com es mantenen les alertes",
|
||||
@@ -559,43 +623,51 @@
|
||||
}
|
||||
},
|
||||
"genai": {
|
||||
"label": "Configuració del GenAI",
|
||||
"description": "Controla l'ús de la IA generativa per a la producció de descripcions i resums d'elements de revisió.",
|
||||
"label": "Configuració de l'IA Generativa",
|
||||
"description": "Controla l'ús de l'IA generativa per a la producció de descripcions i resums d'elements de revisió.",
|
||||
"enabled": {
|
||||
"label": "Habilita les descripcions del GenAI",
|
||||
"description": "Activa o desactiva les descripcions i resums generats per GenAI per als elements de revisió."
|
||||
"label": "Habilita les descripcions de l'IA Generativa",
|
||||
"description": "Activa o desactiva les descripcions i resums generats per IA Generativa per als elements de revisió."
|
||||
},
|
||||
"alerts": {
|
||||
"label": "Habilita el GenAI per a alertes",
|
||||
"description": "Utilitzeu GenAI per a generar descripcions per als elements d'alerta."
|
||||
"label": "Habilita l'IA Generativa per a alertes",
|
||||
"description": "Utilitzeu IA Generativa per a generar descripcions per als elements d'alerta."
|
||||
},
|
||||
"detections": {
|
||||
"label": "Habilita el GenAI per a les deteccions",
|
||||
"description": "Utilitzeu GenAI per generar descripcions per als elements de detecció."
|
||||
"label": "Habilita l'IA Generativa per a les deteccions",
|
||||
"description": "Utilitzeu IA Generativa per generar descripcions per als elements de detecció."
|
||||
},
|
||||
"image_source": {
|
||||
"label": "Revisa l'origen de la imatge",
|
||||
"description": "Font d'imatges enviades a GenAI ('previsualització' o 'enregistraments'); 'enregistraments' utilitza Fotogrames de més qualitat però més tokens."
|
||||
"description": "Font d'imatges enviades a IA Generativa ('previsualització' o 'enregistraments'); 'enregistraments' utilitza Fotogrames de més qualitat però més tokens."
|
||||
},
|
||||
"additional_concerns": {
|
||||
"label": "Altres preocupacions",
|
||||
"description": "Una llista de preocupacions o notes addicionals que el GenAI ha de tenir en compte a l'hora d'avaluar l'activitat en aquesta càmera."
|
||||
"description": "Una llista de preocupacions o notes addicionals que l¡IA Generativa ha de tenir en compte a l'hora d'avaluar l'activitat en aquesta càmera."
|
||||
},
|
||||
"debug_save_thumbnails": {
|
||||
"label": "Desa les miniatures",
|
||||
"description": "Desa les miniatures que s'envien al proveïdor GenAI per a la depuració i la revisió."
|
||||
"description": "Desa les miniatures que s'envien al proveïdor IA Generativa per a la depuració i la revisió."
|
||||
},
|
||||
"enabled_in_config": {
|
||||
"label": "Estat original de GenAI",
|
||||
"description": "Fa un seguiment de si la revisió de GenAI es va habilitar originalment a la configuració estàtica."
|
||||
"label": "Estat original d'IA Generativa",
|
||||
"description": "Fa un seguiment de si la revisió d'IA Generativa es va habilitar originalment a la configuració estàtica."
|
||||
},
|
||||
"preferred_language": {
|
||||
"label": "Idioma preferit",
|
||||
"description": "Idioma preferit per sol·licitar al proveïdor GenAI respostes generades."
|
||||
"description": "Idioma preferit per sol·licitar al proveïdor d'IA Generativa respostes generades."
|
||||
},
|
||||
"activity_context_prompt": {
|
||||
"label": "Indicador de context de l'activitat",
|
||||
"description": "Pregunta personalitzada que descriu el que és i no és una activitat sospitosa per proporcionar context per als resums de GenAI."
|
||||
},
|
||||
"response_style": {
|
||||
"label": "Estil de resposta",
|
||||
"description": "Escriviu un predefinit d'estil per a les descripcions generades de les revisions. Els valors predefinits ajusten el to i el nivell de detall del títol orientat a l'usuari, el resum i la descripció de l'escena; «predeterminat» deixa l'indicatiu incorporat sense canvis."
|
||||
},
|
||||
"frame_mode": {
|
||||
"label": "Mode de fotograma",
|
||||
"description": "Com es presenten els marcs al model. Els 'frames' envien l'indicatiu seguit pels fotogrames, que s'adapta als models que segueixen una seqüència per si sols. 'annotated.frames' etiqueta cada marc i entrellaça notes derivades del seguiment d'objectes, el que ajuda als models que perden el rastre de l'activitat que es repeteix o reverteix."
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -31,6 +31,10 @@
|
||||
"record": {
|
||||
"label": "Registra els arguments de sortida",
|
||||
"description": "Arguments de sortida predeterminats per a enregistrar fluxos de rols."
|
||||
},
|
||||
"record_sub": {
|
||||
"label": "Arguments de sortida del registre de subflux",
|
||||
"description": "Arguments de sortida per als fluxos de rols record.sub. Els arguments de sortida del registre s'utilitzen quan no s'estableix."
|
||||
}
|
||||
},
|
||||
"retry_interval": {
|
||||
@@ -193,49 +197,49 @@
|
||||
"genai": {
|
||||
"required_zones": {
|
||||
"label": "Zones requerides",
|
||||
"description": "Zones que s'han d'introduir perquè els objectes es puguin classificar per a la generació de descripcions de GenAI."
|
||||
"description": "Zones que s'han d'introduir perquè els objectes es puguin classificar per a la generació de descripcions d'IA Generativa."
|
||||
},
|
||||
"label": "Configuració de l'objecte GenAI",
|
||||
"description": "Opcions de GenAI per descriure objectes rastrejats i enviar fotogrames per a la generació.",
|
||||
"label": "Configuració de l'objecte IA Generativa",
|
||||
"description": "Opcions d'IA Generativa per descriure objectes rastrejats i enviar fotogrames per a la generació.",
|
||||
"enabled": {
|
||||
"label": "Habilita el GenAI",
|
||||
"description": "Habilita la generació de descripcions de GenAI per als objectes rastrejats de manera predeterminada."
|
||||
"label": "Habilita l'IA Generativa",
|
||||
"description": "Habilita la generació de descripcions d'IA Generativa per als objectes rastrejats de manera predeterminada."
|
||||
},
|
||||
"use_snapshot": {
|
||||
"label": "Utilitza instantànies",
|
||||
"description": "Usa instantànies d'objecte en lloc de miniatures per a la generació de descripcions de GenAI."
|
||||
"description": "Usa instantànies d'objecte en lloc de miniatures per a la generació de descripcions d'IA Generativa."
|
||||
},
|
||||
"prompt": {
|
||||
"label": "Indicació de la llegenda",
|
||||
"description": "Plantilla de pregunta predeterminada utilitzada en generar descripcions amb GenAI."
|
||||
"description": "Plantilla de pregunta predeterminada utilitzada en generar descripcions amb IA Generativa."
|
||||
},
|
||||
"object_prompts": {
|
||||
"label": "Peticions d'objecte",
|
||||
"description": "Per objecte demana personalitzar les sortides de GenAI per a etiquetes específiques."
|
||||
"description": "Per objecte demana personalitzar les sortides d'IA Generativa per a etiquetes específiques."
|
||||
},
|
||||
"objects": {
|
||||
"label": "Objectes GenAI",
|
||||
"description": "Llista d'etiquetes d'objectes a enviar a GenAI per defecte."
|
||||
"label": "Objectes d'IA Generativa",
|
||||
"description": "Llista d'etiquetes d'objectes a enviar a IA Generativa per defecte."
|
||||
},
|
||||
"debug_save_thumbnails": {
|
||||
"label": "Desa les miniatures",
|
||||
"description": "Desa les miniatures enviades a GenAI per a la depuració i la revisió."
|
||||
"description": "Desa les miniatures enviades a IA Generativa per a la depuració i la revisió."
|
||||
},
|
||||
"send_triggers": {
|
||||
"label": "Activadors de GenAI",
|
||||
"description": "Defineix quan s'han d'enviar fotogrames a GenAI (al final, després de les actualitzacions, etc.).",
|
||||
"label": "Activadors d'IA Generativa",
|
||||
"description": "Defineix quan s'han d'enviar fotogrames a IA Generativa (al final, després de les actualitzacions, etc.).",
|
||||
"tracked_object_end": {
|
||||
"label": "Envia al final",
|
||||
"description": "Envia una sol·licitud a GenAI quan acabi l'objecte rastrejat."
|
||||
"description": "Envia una sol·licitud a IA Generativa quan acabi l'objecte rastrejat."
|
||||
},
|
||||
"after_significant_updates": {
|
||||
"label": "Activador de GenAI primerenc",
|
||||
"description": "Envia una sol·licitud a GenAI després d'un nombre especificat d'actualitzacions significatives per a l'objecte rastrejat."
|
||||
"label": "Activador d'IA Generativa primerenc",
|
||||
"description": "Envia una sol·licitud a IA Generativa després d'un nombre especificat d'actualitzacions significatives per a l'objecte rastrejat."
|
||||
}
|
||||
},
|
||||
"enabled_in_config": {
|
||||
"label": "Estat original de GenAI",
|
||||
"description": "Indica si el GenAI s'ha activat a la configuració estàtica original."
|
||||
"label": "Estat original d'IA Generativa",
|
||||
"description": "Indica si l'IA Generativa s'ha activat a la configuració estàtica original."
|
||||
}
|
||||
},
|
||||
"label": "Objectes",
|
||||
@@ -388,6 +392,54 @@
|
||||
"enabled_in_config": {
|
||||
"label": "Estat de l'enregistrament original",
|
||||
"description": "Indica si l'enregistrament s'ha activat en la configuració estàtica original."
|
||||
},
|
||||
"sub": {
|
||||
"label": "Enregistrament de subflux",
|
||||
"description": "Paràmetres per a enregistrar un segon flux de menor qualitat.",
|
||||
"enabled": {
|
||||
"label": "Habilita l'enregistrament de subflux",
|
||||
"description": "Permet l'enregistrament d'un segon flux de menor qualitat per a la reproducció de qualitat adaptativa i la retenció estesa."
|
||||
},
|
||||
"continuous": {
|
||||
"label": "Retenció contínua del subflux",
|
||||
"description": "Nombre de dies per a retenir els enregistraments de sub flux independentment dels objectes o el moviment seguits.",
|
||||
"days": {
|
||||
"label": "Dies de retenció",
|
||||
"description": "Dies per retenir enregistraments."
|
||||
}
|
||||
},
|
||||
"motion": {
|
||||
"label": "Retenció del moviment del subflux",
|
||||
"description": "Nombre de dies per a retenir els enregistraments de substream activats pel moviment.",
|
||||
"days": {
|
||||
"label": "Dies de retenció",
|
||||
"description": "Dies per retenir enregistraments."
|
||||
}
|
||||
},
|
||||
"alerts": {
|
||||
"label": "Retenció d'alertes del subflux",
|
||||
"description": "Paràmetres de retenció per als enregistraments de substream d'alertes.",
|
||||
"days": {
|
||||
"label": "Dies de retenció",
|
||||
"description": "Nombre de dies per a retenir enregistraments d'esdeveniments de detecció."
|
||||
},
|
||||
"mode": {
|
||||
"label": "Mode de retenció",
|
||||
"description": "Mode de retenció: tot (desa tots els segments), moviment (desa els segments amb moviment), o actiuobobjectes (desa els segments amb objectes actius)."
|
||||
}
|
||||
},
|
||||
"detections": {
|
||||
"label": "Retenció de la detecció de subflux",
|
||||
"description": "Paràmetres de retenció per als enregistraments de substream de les deteccions.",
|
||||
"days": {
|
||||
"label": "Dies de retenció",
|
||||
"description": "Nombre de dies per a retenir enregistraments d'esdeveniments de detecció."
|
||||
},
|
||||
"mode": {
|
||||
"label": "Mode de retenció",
|
||||
"description": "Mode de retenció: tot (desa tots els segments), moviment (desa els segments amb moviment), o actiuobobjectes (desa els segments amb objectes actius)."
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"review": {
|
||||
@@ -417,42 +469,50 @@
|
||||
},
|
||||
"genai": {
|
||||
"image_source": {
|
||||
"description": "Font d'imatges enviades a GenAI ('previsualització' o 'enregistraments'); 'enregistraments' utilitza Fotogrames de més qualitat però més tokens.",
|
||||
"description": "Font d'imatges enviades a IA Generativa ('previsualització' o 'enregistraments'); 'enregistraments' utilitza Fotogrames de més qualitat però més tokens.",
|
||||
"label": "Revisa l'origen de la imatge"
|
||||
},
|
||||
"enabled_in_config": {
|
||||
"description": "Fa un seguiment de si la revisió de GenAI es va habilitar originalment a la configuració estàtica.",
|
||||
"label": "Estat original de GenAI"
|
||||
"description": "Fa un seguiment de si la revisió d'IA Generativa es va habilitar originalment a la configuració estàtica.",
|
||||
"label": "Estat original d'IA Generativa"
|
||||
},
|
||||
"label": "Configuració del GenAI",
|
||||
"description": "Controla l'ús de la IA generativa per a la producció de descripcions i resums d'elements de revisió.",
|
||||
"label": "Configuració de l'IA Generativa",
|
||||
"description": "Controla l'ús de l'IA generativa per a la producció de descripcions i resums d'elements de revisió.",
|
||||
"enabled": {
|
||||
"label": "Habilita les descripcions del GenAI",
|
||||
"description": "Activa o desactiva les descripcions i resums generats per GenAI per als elements de revisió."
|
||||
"label": "Habilita les descripcions de l'IA Generativa",
|
||||
"description": "Activa o desactiva les descripcions i resums generats per IA Generativa per als elements de revisió."
|
||||
},
|
||||
"alerts": {
|
||||
"label": "Habilita el GenAI per a alertes",
|
||||
"description": "Utilitzeu GenAI per a generar descripcions per als elements d'alerta."
|
||||
"label": "Habilita l'IA Generativa per a alertes",
|
||||
"description": "Utilitzeu IA Generativa per a generar descripcions per als elements d'alerta."
|
||||
},
|
||||
"detections": {
|
||||
"label": "Habilita el GenAI per a les deteccions",
|
||||
"description": "Utilitzeu GenAI per generar descripcions per als elements de detecció."
|
||||
"label": "Habilita l'IA Generativa per a les deteccions",
|
||||
"description": "Utilitzeu IA Generativa per generar descripcions per als elements de detecció."
|
||||
},
|
||||
"additional_concerns": {
|
||||
"label": "Altres preocupacions",
|
||||
"description": "Una llista de preocupacions o notes addicionals que el GenAI ha de tenir en compte a l'hora d'avaluar l'activitat en aquesta càmera."
|
||||
"description": "Una llista de preocupacions o notes addicionals que l¡IA Generativa ha de tenir en compte a l'hora d'avaluar l'activitat en aquesta càmera."
|
||||
},
|
||||
"debug_save_thumbnails": {
|
||||
"label": "Desa les miniatures",
|
||||
"description": "Desa les miniatures que s'envien al proveïdor GenAI per a la depuració i la revisió."
|
||||
"description": "Desa les miniatures que s'envien al proveïdor IA Generativa per a la depuració i la revisió."
|
||||
},
|
||||
"preferred_language": {
|
||||
"label": "Idioma preferit",
|
||||
"description": "Idioma preferit per sol·licitar al proveïdor GenAI respostes generades."
|
||||
"description": "Idioma preferit per sol·licitar al proveïdor d'IA Generativa respostes generades."
|
||||
},
|
||||
"activity_context_prompt": {
|
||||
"label": "Indicador de context de l'activitat",
|
||||
"description": "Pregunta personalitzada que descriu el que és i no és una activitat sospitosa per proporcionar context per als resums de GenAI."
|
||||
},
|
||||
"response_style": {
|
||||
"label": "Estil de resposta",
|
||||
"description": "Escriviu un predefinit d'estil per a les descripcions generades de les revisions. Els valors predefinits ajusten el to i el nivell de detall del títol orientat a l'usuari, el resum i la descripció de l'escena; «predeterminat» deixa l'indicatiu incorporat sense canvis."
|
||||
},
|
||||
"frame_mode": {
|
||||
"label": "Mode de fotograma",
|
||||
"description": "Com es presenten els marcs al model. Els 'frames' envien l'indicatiu seguit pels fotogrames, que s'adapta als models que segueixen una seqüència per si sols. 'annotated.frames' etiqueta cada marc i entrellaça notes derivades del seguiment d'objectes, el que ajuda als models que perden el rastre de l'activitat que es repeteix o reverteix."
|
||||
}
|
||||
},
|
||||
"label": "Revisió",
|
||||
@@ -699,7 +759,7 @@
|
||||
"description": "Configuració per a la transcripció d'àudio en viu i de veu utilitzada per a esdeveniments i llegendes en directe.",
|
||||
"language": {
|
||||
"label": "Idioma de transcripció",
|
||||
"description": "Codi d'idioma utilitzat per a la transcripció/traducció (per exemple 'en' per a l'anglès). Vegeu https://whisper-api.com/docs/languages/ per als codis de llengua compatibles."
|
||||
"description": "Codi d'idioma utilitzat per a la transcripció/traducció (per exemple 'en' per a l'anglès), o 'auto' per permetre que el model el detecti. Vegeu https://whisper-api.com/docs/languages/ per als codis de llengua compatibles."
|
||||
},
|
||||
"device": {
|
||||
"label": "Dispositiu de transcripció",
|
||||
@@ -712,6 +772,10 @@
|
||||
"live_enabled": {
|
||||
"label": "Transcripció en viu",
|
||||
"description": "Habilita la transcripció en directe per a l'àudio a mesura que es rep."
|
||||
},
|
||||
"model": {
|
||||
"label": "Model de transcripció d'àudio o nom del proveïdor GenAI",
|
||||
"description": "El dorsal de transcripció: 'whisper' per als models locals integrats de Frigate, o el nom d'un proveïdor de GenAI amb el rol de transcriure."
|
||||
}
|
||||
},
|
||||
"version": {
|
||||
@@ -971,7 +1035,7 @@
|
||||
},
|
||||
"default_role": {
|
||||
"label": "Rol predeterminat",
|
||||
"description": "Rol predeterminat assignat als usuaris intermediaris autenticats quan no s'aplica cap mapatge de rols."
|
||||
"description": "Rol predeterminat assignat als usuaris intermediaris autenticats quan no s'aplica cap mapatge de rols. Establiu-ho a «none» per a denegar l'accés als usuaris sense mapar."
|
||||
},
|
||||
"separator": {
|
||||
"label": "Caràcter separador",
|
||||
@@ -1019,7 +1083,7 @@
|
||||
}
|
||||
},
|
||||
"genai": {
|
||||
"label": "Configuració de la IA generada",
|
||||
"label": "Configuració de l'IA Generativa",
|
||||
"description": "Paràmetres per als proveïdors integrats generatius d'IA utilitzats per generar descripcions d'objectes i resums de revisions.",
|
||||
"api_key": {
|
||||
"label": "Clau API",
|
||||
@@ -1035,15 +1099,15 @@
|
||||
},
|
||||
"provider": {
|
||||
"label": "Proveïdor",
|
||||
"description": "El proveïdor GenAI a utilitzar (per exemple: ollama, gemini, openai)."
|
||||
"description": "El proveïdor IA Generativa a utilitzar (per exemple: ollama, gemini, openai)."
|
||||
},
|
||||
"roles": {
|
||||
"label": "Rols",
|
||||
"description": "Rols de GenAI (xat, descripcions, incrustacions); un proveïdor per rol."
|
||||
"description": "Rols d'IA Generativa (xat, descripcions, incrustacions, transcriure); un proveïdor per rol. Per defecte només es concedeixen xats, descripcions i incrustacions; la transcripció s'ha de llistar explícitament."
|
||||
},
|
||||
"provider_options": {
|
||||
"label": "Opcions del proveïdor",
|
||||
"description": "Opcions addicionals específiques del proveïdor per passar al client GenAI."
|
||||
"description": "Opcions addicionals específiques del proveïdor per passar al client d'IA Generativa."
|
||||
},
|
||||
"runtime_options": {
|
||||
"label": "Opcions de temps d'execució",
|
||||
@@ -1084,6 +1148,10 @@
|
||||
"num_threads": {
|
||||
"label": "Fils de detecció",
|
||||
"description": "Nombre de fils a utilitzar per al processament de detecció d'àudio."
|
||||
},
|
||||
"labelmap": {
|
||||
"label": "Personalització del mapa d'etiquetes d'àudio",
|
||||
"description": "Sobreescriu o reassigna les entrades per a fusionar-se en el mapa d'etiquetes d'àudio estàndard."
|
||||
}
|
||||
},
|
||||
"birdseye": {
|
||||
@@ -1132,7 +1200,11 @@
|
||||
"label": "Posició",
|
||||
"description": "Posició numèrica que controla l'ordenació de la càmera en la disposició Birdseye."
|
||||
},
|
||||
"label": "Birdseye"
|
||||
"label": "Birdseye",
|
||||
"modes": {
|
||||
"label": "Tipus d'activitat",
|
||||
"description": "Tipus d'activitat que inclouen càmeres a Birdseye."
|
||||
}
|
||||
},
|
||||
"detect": {
|
||||
"label": "Detecció d'objectes",
|
||||
@@ -1192,6 +1264,10 @@
|
||||
"annotation_offset": {
|
||||
"label": "Desplaçament de l'anotació",
|
||||
"description": "Mil·lisegons per a desplaçar detecta anotacions per a alinear millor els límits de la línia de temps amb els enregistraments; pot ser positiu o negatiu."
|
||||
},
|
||||
"scene": {
|
||||
"label": "Detecta l'escena",
|
||||
"description": "L'entorn que mira aquesta càmera, utilitzat per triar quin dels models configurats s'executa en ell. Les càmeres que queden a 'totes' executen el model configurat amb una escena de 'totes'."
|
||||
}
|
||||
},
|
||||
"classification": {
|
||||
@@ -1399,5 +1475,57 @@
|
||||
"active_profile": {
|
||||
"label": "Perfil actiu",
|
||||
"description": "Nom de perfil actualment actiu. Només en temps d'execució, no ha persistit en YAML."
|
||||
},
|
||||
"models": {
|
||||
"label": "Models de detecció",
|
||||
"description": "Models de detecció d'objectes i el maquinari en què s'executa. Les càmeres trien un model fent coincidir el seu detect.scene amb l'escena d'un model.",
|
||||
"scene": {
|
||||
"label": "Escena del model",
|
||||
"description": "L'entorn de la càmera per al qual s'utilitza aquest model. Les càmeres seleccionen un model establint detect.scene a un valor coincident, i «all» és utilitzat per qualsevol càmera que no n'estableixi un."
|
||||
},
|
||||
"devices": {
|
||||
"label": "hardware de detecció",
|
||||
"description": "Aquest model funciona com a '<detector>' o '<detector>:<device>' (per exemple 'edgetpu:pci:0' o 'openvino:GPU'). La llista del mateix dispositiu més d'una vegada executa processos d'inferència addicionals."
|
||||
},
|
||||
"path": {
|
||||
"label": "Ruta del model de detector d'objectes personalitzat",
|
||||
"description": "Ruta a un fitxer de model de detecció personalitzat (o plus://<model_id> per a models Frigate+)."
|
||||
},
|
||||
"labelmap_path": {
|
||||
"label": "Mapa d'etiquetes per al detector d'objectes personalitzat",
|
||||
"description": "Ruta a un fitxer de mapa d'etiquetes que assigna classes numèriques a etiquetes de cadena per al detector."
|
||||
},
|
||||
"width": {
|
||||
"label": "Amplada d'entrada del model de detecció d'objectes",
|
||||
"description": "Amplada del tensor d'entrada del model en píxels."
|
||||
},
|
||||
"height": {
|
||||
"label": "Alçada d'entrada del model de detecció d'objectes",
|
||||
"description": "Alçada del tensor d'entrada del model en píxels."
|
||||
},
|
||||
"labelmap": {
|
||||
"label": "Personalització del mapa d'etiquetes",
|
||||
"description": "Sobreescriu o reassigna les entrades per a fusionar-se en el mapa d'etiquetes estàndard."
|
||||
},
|
||||
"attributes_map": {
|
||||
"label": "Mapa d'etiquetes d'objectes a les seves etiquetes d'atribut",
|
||||
"description": "Assignació des d'etiquetes d'objectes a etiquetes d'atribut utilitzades per adjuntar metadades (per exemple 'cotxe' -). ['matricula'])."
|
||||
},
|
||||
"input_tensor": {
|
||||
"label": "Forma del sensor d'entrada del model",
|
||||
"description": "Format del sensor esperat pel model: 'nhwc' o 'nchw'."
|
||||
},
|
||||
"input_pixel_format": {
|
||||
"label": "Format de color del píxel d'entrada del model",
|
||||
"description": "Espai de color del píxel esperat pel model: 'rgb', 'bgr' o 'yuv'."
|
||||
},
|
||||
"input_dtype": {
|
||||
"label": "Tipus D d'entrada del model",
|
||||
"description": "Tipus de dades del tensor d'entrada del model (per exemple «float32»)."
|
||||
},
|
||||
"model_type": {
|
||||
"label": "Tipus de model de detecció d'objectes",
|
||||
"description": "Tipus d'arquitectura del model de detector (ssd, yolox, yolonas, yolo-generic, rfdetr, dfine) utilitzat per alguns detectors per a l'optimització."
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -31,5 +31,8 @@
|
||||
},
|
||||
"detect": {
|
||||
"dimensionMustBeEven": "Ha de ser un nombre parell."
|
||||
},
|
||||
"models": {
|
||||
"defaultRequired": "Un model ha d'utilitzar una escena de \"Totes les càmeres\". Sense ella, qualsevol càmera que no esculli una escena no té cap model al qual tornar."
|
||||
}
|
||||
}
|
||||
|
||||
@@ -55,6 +55,12 @@
|
||||
"auto_scroll": {
|
||||
"title": "Desplaçament automàtic",
|
||||
"desc": "Segueix els missatges nous a mesura que arriben."
|
||||
},
|
||||
"always_allow": {
|
||||
"title": "Accions sempre permeses",
|
||||
"desc": "Accions que l'assistent pot executar sense preguntar primer.",
|
||||
"none": "Cap",
|
||||
"reset": "Restableix"
|
||||
}
|
||||
},
|
||||
"stats": {
|
||||
@@ -68,5 +74,15 @@
|
||||
},
|
||||
"thinking": {
|
||||
"toggle": "Commuta el pensament"
|
||||
},
|
||||
"approval": {
|
||||
"title": "Aprova {{tool}}?",
|
||||
"desc": "Aquesta acció canvia alguna cosa a Frigate. Revisa els detalls abans d'aprovar.",
|
||||
"approve": "Aprova",
|
||||
"always_allow": "Permet sempre",
|
||||
"reject": "Rebutja",
|
||||
"approved": "Aprovat",
|
||||
"rejected": "Rebutjat",
|
||||
"placeholder": "Aprova o rebutja l'acció pendent de continuar"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -91,5 +91,6 @@
|
||||
"crop": "Escapça per filtrar",
|
||||
"cropAria": "Commuta la vista prèvia d'escapçament a les àrees filtrades",
|
||||
"cropDesc": "Amplia les vistes prèvies a les àrees de filtre seleccionades en lloc de mostrar el fotograma complet."
|
||||
}
|
||||
},
|
||||
"subOnlyQuality": "Només els enregistraments de baixa qualitat estan disponibles en aquest interval de temps"
|
||||
}
|
||||
|
||||
@@ -63,7 +63,8 @@
|
||||
"copying": "Copiant",
|
||||
"encoding": "Codificant",
|
||||
"encodingRetry": "Codificant (reintent)",
|
||||
"finalizing": "Finalitzant"
|
||||
"finalizing": "Finalitzant",
|
||||
"merging": "Fusió"
|
||||
},
|
||||
"caseView": {
|
||||
"noDescription": "Sense descripció",
|
||||
|
||||
@@ -50,7 +50,12 @@
|
||||
"lowBandwidthMode": "Mode de baix ample de banda",
|
||||
"twoWayTalk": {
|
||||
"enable": "Activa la comunicació bidireccional",
|
||||
"disable": "Desactiva la comunicació bidireccional"
|
||||
"disable": "Desactiva la comunicació bidireccional",
|
||||
"requiresWebRTC": "La conversa en dues direccions requereix WebRTC, que no està disponible",
|
||||
"error": {
|
||||
"microphone": "La conversa en dues direccions no ha pogut accedir al micròfon",
|
||||
"refused": "No s'ha pogut iniciar la conversa en dues direccions. Consulteu la consola del navegador per a més detalls."
|
||||
}
|
||||
},
|
||||
"cameraAudio": {
|
||||
"enable": "Habilitar l'àudio de la càmera",
|
||||
@@ -127,14 +132,40 @@
|
||||
},
|
||||
"lowBandwidth": {
|
||||
"resetStream": "Restablir transmissió",
|
||||
"tips": "La vista en directe està en mode de baix ample de banda a causa d'errors de transmissió o de buffering."
|
||||
"tips": "La vista en directe està en mode de baix ample de banda a causa d'errors de transmissió o de buffering.",
|
||||
"force": {
|
||||
"label": "Força el mode d'amplada de banda baixa",
|
||||
"desc": "Reprodueix sempre el canal d'amplada de banda baixa integrat per Frigate en lloc del flux seleccionat. Funciona en qualsevol connexió, però té menor qualitat i sense àudio."
|
||||
}
|
||||
},
|
||||
"playInBackground": {
|
||||
"label": "Reproduir en segon pla",
|
||||
"tips": "Habilita aquesta opció per a contiuar la transmissió tot i que el reproductor estigui ocult."
|
||||
},
|
||||
"debug": {
|
||||
"picker": "Selecció de stream no disponible en mode debug. La vista debug sempre fa servir el stream assignat pel rol de detecció."
|
||||
"picker": "Selecció de stream no disponible en mode debug. La vista debug sempre fa servir el stream assignat pel rol de detecció.",
|
||||
"technology": "La selecció de la tecnologia de flux no està disponible en el mode de depuració."
|
||||
},
|
||||
"mode": "Tecnologia Streaming",
|
||||
"technology": {
|
||||
"description": "Tria la teva tecnologia de streaming preferida. Frigate encara pot tornar al mode d'amplada de banda baixa en la reproducció o els errors de xarxa.",
|
||||
"tips": {
|
||||
"mse": "Predeterminada recomanada, compatibilitat àmplia i reproducció suau",
|
||||
"webrtc": "Necessita configuració addicional i no està suportat en tots els dispositius"
|
||||
},
|
||||
"unavailable": {
|
||||
"browser": "El teu navegador no suporta WebRTC.",
|
||||
"not-configured": "WebRTC no està configurat. Estableix candidats go2rtc webrtc o ice_servers.",
|
||||
"unreachable": "WebRTC no s'ha pogut connectar. Comproveu que el port 8555 és accessible i qualsevol servidor STUN/TURN és correcte.",
|
||||
"video-codec": "El còdec de vídeo d'aquest flux no és compatible amb WebRTC en aquest navegador.",
|
||||
"audio-codec": "El còdec d'àudio d'aquest flux no és compatible amb WebRTC. Transcodifica a opus o G.711 amb go2rtc.",
|
||||
"checking": "S'està comprovant la disponibilitat de WebRTC…"
|
||||
},
|
||||
"name": {
|
||||
"mse": "MSE",
|
||||
"webrtc": "WebRTC",
|
||||
"jsmpeg": "JSMpeg"
|
||||
}
|
||||
}
|
||||
},
|
||||
"streamingSettings": "Paràmetres de transmissió",
|
||||
|
||||
@@ -88,7 +88,7 @@
|
||||
"uiSettings": "Paràmetres de la IU",
|
||||
"profiles": "Perfils",
|
||||
"systemGo2rtcStreams": "go2rtc streams",
|
||||
"systemDetectorsAndModel": "Detectors i model"
|
||||
"systemDetectorsAndModel": "Models de detecció"
|
||||
},
|
||||
"dialog": {
|
||||
"unsavedChanges": {
|
||||
@@ -150,11 +150,50 @@
|
||||
"toast": {
|
||||
"success": {
|
||||
"clearStoredLayout": "Disposició emmagatzemada esborrada per {{cameraName}}",
|
||||
"clearStreamingSettings": "S'han suprimit els paràmetres de la transmissió per tots els grups de càmeres."
|
||||
"clearStreamingSettings": "S'han suprimit els paràmetres de la transmissió per tots els grups de càmeres.",
|
||||
"exportUiSettings": "Configuració exportada",
|
||||
"importUiSettings": "Configuració importada"
|
||||
},
|
||||
"error": {
|
||||
"clearStoredLayoutFailed": "Error en suprimir la disposició desada: {{errorMessage}}",
|
||||
"clearStreamingSettingsFailed": "Error en esborrar els paràmetres de la transmissió: {{errorMessage}}"
|
||||
"clearStreamingSettingsFailed": "Error en esborrar els paràmetres de la transmissió: {{errorMessage}}",
|
||||
"exportUiSettingsFailed": "No s'han pogut exportar els paràmetres",
|
||||
"importNothingToApply": "No s'ha pogut importar la configuració: el fitxer no conté cap configuració",
|
||||
"importInvalidJson": "No s'ha pogut importar la configuració: el fitxer no és un JSON vàlid",
|
||||
"importWrongType": "Ha fallat la importació de la configuració: el fitxer no és una exportació de la configuració de Frigate",
|
||||
"importUnsupportedVersion": "No s'ha pogut importar la configuració: el fitxer requereix una versió més nova de Frigate",
|
||||
"importInvalidSchema": "No s'ha pogut importar la configuració: el fitxer està mal format",
|
||||
"importUiSettingsFailed": "No s'han pogut importar els paràmetres"
|
||||
}
|
||||
},
|
||||
"backupRestore": {
|
||||
"title": "Còpia de seguretat i restauració",
|
||||
"transfer": {
|
||||
"label": "Fitxer de configuració del dispositiu",
|
||||
"desc": "Les disposicions del grup de càmeres, la configuració de la transmissió i les preferències de la interfície d'usuari s'emmagatzemen al vostre navegador. Exporta-les a un fitxer per fer-ne una còpia de seguretat o per moure-les a un altre dispositiu.",
|
||||
"export": "Exporta la configuració",
|
||||
"import": "Importa els paràmetres"
|
||||
},
|
||||
"importDialog": {
|
||||
"title": "Importa els paràmetres",
|
||||
"desc": "Trieu què aplicar d'aquest fitxer. Frigate es tornarà a carregar quan acabi la importació.",
|
||||
"exportedFrom": "S'ha exportat {{date}} de la versió de configuració de Frigate {{version}}",
|
||||
"layouts_one": "Distribucions de grup de càmeres (grup{{count}})",
|
||||
"layouts_many": "Distribucions de grup de càmera ({{count}} grups)",
|
||||
"layouts_other": "Distribucions de grup de càmera ({{count}} grups)",
|
||||
"streaming_one": "Configuració de l'Streaming (càmera {{count}})",
|
||||
"streaming_many": "Configuració de l'Streaming (càmeres {{count}})",
|
||||
"streaming_other": "Configuració de l'Streaming (càmeres {{count}})",
|
||||
"preferences_one": "Preferències de la interfície d'usuari (ajust {{count}})",
|
||||
"preferences_many": "Preferències de la interfície d'usuari ( {{count}} paràmetres)",
|
||||
"preferences_other": "Preferències de la interfície d'usuari ( {{count}} paràmetres)",
|
||||
"unknownGroups_one": "El grup de càmeres {{groups}} no és en aquest servidor. La seva configuració es desarà però no s'utilitzarà.",
|
||||
"unknownGroups_many": "Els grups de càmeres {{groups}} no són en aquest servidor. La seva configuració es desarà però no s'utilitzarà.",
|
||||
"unknownGroups_other": "Els grups de càmeres {{groups}} no són en aquest servidor. La seva configuració es desarà però no s'utilitzarà.",
|
||||
"unknownCameras_one": "La càmera {{cameras}} no és en aquest servidor. S'ignorarà la seva configuració de transmissió.",
|
||||
"unknownCameras_many": "Les càmeres {{cameras}} no són en aquest servidor. S'ignoraran els seus paràmetres de transmissió.",
|
||||
"unknownCameras_other": "Les càmeres {{cameras}} no són en aquest servidor. S'ignoraran els seus paràmetres de transmissió.",
|
||||
"confirm": "Importa"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -1024,7 +1063,7 @@
|
||||
}
|
||||
},
|
||||
"step3": {
|
||||
"description": "Configura els rols de flux i afegeix fluxos addicionals per a la càmera.",
|
||||
"description": "Configura característiques, rols de flux i afegeix fluxos addicionals per a la càmera.",
|
||||
"streamTitle": "Flux {{number}}",
|
||||
"roles": "Rols",
|
||||
"streamsTitle": "Fluxos de la càmera",
|
||||
@@ -1058,11 +1097,26 @@
|
||||
"title": "Roles de flux",
|
||||
"detect": "Canal principal per a la detecció d'objectes.",
|
||||
"record": "Desa els segments del canal de vídeo basats en la configuració.",
|
||||
"audio": "Canal per a la detecció basada en àudio."
|
||||
"audio": "Canal per a la detecció basada en àudio.",
|
||||
"record_sub": "Enregistraments de menor qualitat per a la reproducció adaptativa i la retenció estesa (típicament el substream de la càmera)."
|
||||
},
|
||||
"featuresPopover": {
|
||||
"title": "Característiques del flux",
|
||||
"description": "Utilitzeu el restreaming go2rtc per reduir les connexions a la càmera."
|
||||
},
|
||||
"appleCompatibility": {
|
||||
"title": "Millora la reproducció en dispositius Apple",
|
||||
"description": "Activeu això si mireu enregistraments al Safari o a un iPhone, iPad o Mac."
|
||||
},
|
||||
"ptz": {
|
||||
"title": "Habilita els controls PTZ",
|
||||
"detectedNote": "S'ha detectat suport PTZ a través de l'ONVIF. Si es tracta d'una càmera PTZ, habilitar aquesta opció us permetrà controlar les funcions pan/tilt/zoom de la càmera des de la interfície d'usuari.",
|
||||
"connectionDetails": "Detalls de la connexió ONVIF",
|
||||
"host": "Amfitrió ONVIF",
|
||||
"port": "Port ONVIF",
|
||||
"username": "Nom d'usuari ONVIF",
|
||||
"password": "Contrasenya ONVIF",
|
||||
"hostRequiredWarning": "Es requereix un amfitrió i un port ONVIF quan s'habiliten els controls PTZ."
|
||||
}
|
||||
},
|
||||
"step4": {
|
||||
@@ -1393,7 +1447,9 @@
|
||||
"orphansDeleted": "Orfes eliminats",
|
||||
"aborted": "Avortat. La supressió superaria el llindar de seguretat.",
|
||||
"error": "Error",
|
||||
"totals": "Totals"
|
||||
"totals": "Totals",
|
||||
"spaceToReclaim": "Espai a reclamar",
|
||||
"spaceReclaimed": "Espai reclamat"
|
||||
},
|
||||
"event_snapshots": "Instantànies de l'objecte rastrejat",
|
||||
"event_thumbnails": "Miniatures d'objecte rastrejat",
|
||||
@@ -1489,7 +1545,8 @@
|
||||
"preset-record-mjpeg": "Registre - Càmeres MJPEG",
|
||||
"preset-record-jpeg": "Registre - Càmeres JPEG",
|
||||
"preset-record-ubiquiti": "Registre - Càmeres Ubiquiti"
|
||||
}
|
||||
},
|
||||
"sameAsRecord": "Igual que els arguments de sortida del registre"
|
||||
},
|
||||
"cameraInputs": {
|
||||
"itemTitle": "Flux {{index}}",
|
||||
@@ -1570,8 +1627,11 @@
|
||||
"options": {
|
||||
"detect": "Detecta",
|
||||
"record": "Enregistrament",
|
||||
"audio": "Àudio"
|
||||
}
|
||||
"audio": "Àudio",
|
||||
"record_sub": "Registre (Sub Flux)"
|
||||
},
|
||||
"roleInUse": "Ja assignat a un altre flux",
|
||||
"recordSubConflict": "Un flux no pot tenir els rols record andsub"
|
||||
},
|
||||
"review": {
|
||||
"title": "Configuració de la revisió"
|
||||
@@ -1593,7 +1653,8 @@
|
||||
"options": {
|
||||
"embeddings": "Vectors",
|
||||
"descriptions": "Descripcions",
|
||||
"chat": "Xat"
|
||||
"chat": "Xat",
|
||||
"transcribe": "Transcripció"
|
||||
}
|
||||
},
|
||||
"semanticSearchModel": {
|
||||
@@ -1618,7 +1679,12 @@
|
||||
},
|
||||
"knownPlates": {
|
||||
"namePlaceholder": "per exemple. Cotxe de la parella",
|
||||
"platePlaceholder": "Matricula o regex"
|
||||
"platePlaceholder": "Matricula o regex",
|
||||
"assignedTo": "Assignat a {{name}}",
|
||||
"detected": "Plaques detectades",
|
||||
"noneDetected": "Encara no s'ha detectat cap matrícula",
|
||||
"search": "Cerca o introdueix una matrícula",
|
||||
"useCustom": "Utilitza \"{{value}}\""
|
||||
},
|
||||
"semanticSearchModelSize": {
|
||||
"notApplicable": "No aplicable als proveïdors de GenAI"
|
||||
@@ -1643,7 +1709,26 @@
|
||||
},
|
||||
"defaultRole": {
|
||||
"admin": "Administrar",
|
||||
"viewer": "Visor"
|
||||
"viewer": "Visor",
|
||||
"none": "Cap (denega l'accés)"
|
||||
},
|
||||
"birdseyeModes": {
|
||||
"summary": "{{count}} seleccionats",
|
||||
"options": {
|
||||
"continuous": "Continu",
|
||||
"motion": "Moviment",
|
||||
"all_objects": "Tots els objectes",
|
||||
"alerts": "Alertes",
|
||||
"detections": "Deteccions"
|
||||
}
|
||||
},
|
||||
"audioTranscriptionModel": {
|
||||
"placeholder": "Selecciona el model…",
|
||||
"builtIn": "Models integrats",
|
||||
"genaiProviders": "Proveïdors de GenAI"
|
||||
},
|
||||
"audioTranscriptionModelSize": {
|
||||
"notApplicable": "No aplicable als proveïdors de GenAI"
|
||||
}
|
||||
},
|
||||
"globalConfig": {
|
||||
@@ -1715,7 +1800,10 @@
|
||||
"overriddenBaseConfigHeading_one": "El perfil {{profile}} substitueix el camp {{count}} de la configuració base:",
|
||||
"overriddenBaseConfigHeading_many": "El perfil {{profile}} substitueix {{count}} camps de la configuració base:",
|
||||
"overriddenBaseConfigHeading_other": "El perfil {{profile}} substitueix {{count}} camps de la configuració base:",
|
||||
"overriddenBaseConfigNoDeltas": "El perfil {{profile}} substitueix aquesta secció, però no hi ha valors de camp diferents de la configuració base."
|
||||
"overriddenBaseConfigNoDeltas": "El perfil {{profile}} substitueix aquesta secció, però no hi ha valors de camp diferents de la configuració base.",
|
||||
"overriddenLive": "Sobreescrit (Viure)",
|
||||
"overriddenLiveTooltip": "Aquesta càmera s'està executant amb un valor diferent del desat a la configuració, que es mostra aquí. La vista en viu, MQTT, o un perfil actiu pot canviar-la mentre s'està executant Frigate.",
|
||||
"overriddenLiveValue": "Valor en execució: {{value}}"
|
||||
},
|
||||
"profiles": {
|
||||
"title": "Perfils",
|
||||
@@ -1833,13 +1921,18 @@
|
||||
"recordDisabled": "L'enregistrament està desactivat, els elements de revisió no es generaran.",
|
||||
"detectDisabled": "La detecció d'objectes està desactivada. Els elements de revisió requereixen objectes detectats per categoritzar alertes i deteccions.",
|
||||
"allNonAlertDetections": "Totes les activitats que no siguin alertes s'inclouran com a deteccions.",
|
||||
"genaiImageSourceRecordingsRecordDisabled": "La font d'imatges està configurada com a 'enregistraments', però l'enregistrament està desactivat. Frigate tornarà a la vista prèvia de les imatges."
|
||||
"genaiImageSourceRecordingsRecordDisabled": "La font d'imatges està configurada com a 'enregistraments', però l'enregistrament està desactivat. Frigate tornarà a la vista prèvia de les imatges.",
|
||||
"recordRuntimeDisabled": "L'enregistrament està activat a la configuració, però actualment està desactivat per a aquesta càmera, de manera que els elements de revisió no es generaran. Torneu-lo a activar des de la vista en viu de la càmera, o comproveu si un perfil actiu l'està desactivant.",
|
||||
"detectRuntimeDisabled": "La detecció d'objectes està activada a la configuració, però actualment està desactivada per a aquesta càmera. Els elements de revisió requereixen objectes detectats per categoritzar alertes i deteccions. Torneu-lo a activar des de la vista en viu de la càmera, o comproveu si un perfil actiu l'està desactivant.",
|
||||
"genaiImageSourceRecordingsRecordRuntimeDisabled": "La font d'imatges està configurada com a 'enregistraments', però l'enregistrament està desactivat per a aquesta càmera tot i que la configuració l'habilita. Frigate tornarà a la vista prèvia de les imatges."
|
||||
},
|
||||
"audio": {
|
||||
"noAudioRole": "Cap flux té definit el rol d'àudio. Heu d'habilitar el rol d'àudio per a la detecció d'àudio perquè funcioni."
|
||||
},
|
||||
"audioTranscription": {
|
||||
"audioDetectionDisabled": "La detecció d'àudio no està activada per a aquesta càmera. La transcripció d'àudio requereix que la detecció d'àudio estigui activa."
|
||||
"audioDetectionDisabled": "La detecció d'àudio no està activada per a aquesta càmera. La transcripció d'àudio requereix que la detecció d'àudio estigui activa.",
|
||||
"genaiProviderSelected": "La detecció d'àudio està activada a la configuració, però actualment està desactivada per a aquesta càmera, de manera que la transcripció d'àudio no s'executarà. Torneu-lo a activar des de la vista en viu de la càmera, o comproveu si un perfil actiu l'està desactivant.",
|
||||
"audioDetectionRuntimeDisabled": "La detecció d'àudio està activada a la configuració, però actualment està desactivada per a aquesta càmera, de manera que la transcripció d'àudio no s'executarà. Torneu-lo a activar des de la vista en viu de la càmera, o comproveu si un perfil actiu l'està desactivant."
|
||||
},
|
||||
"detect": {
|
||||
"fpsGreaterThanFive": "No es recomana establir el detect FPS superior a 5. Els valors més alts poden causar problemes de rendiment i no proporcionaran cap benefici.",
|
||||
@@ -1849,7 +1942,9 @@
|
||||
"maxFramesSet": "La configuració dels fotogrames màxims anul·la el comportament predeterminat i desactiva el seguiment d'objectes estacionaris. Hi ha molt poques situacions en què això sigui necessari, utilitzeu-lo amb precaució.",
|
||||
"squareResolution": "Una resolució de detecció quadrada és inusual. L'amplada i l'alçada de la detecció han de coincidir amb la relació d'aspecte de la càmera (per exemple, 16:9), no amb les dimensions del model de detecció d'objectes. Una relació d'aspecte no coincident pot estirar la imatge i reduir la precisió de detecció.",
|
||||
"resolutionHigh": "Aquesta resolució de detecció és més alta del recomanat i pot causar un ús més elevat dels recursos sense millorar la precisió de detecció. Es recomana una resolució de detecció a o per sota de 1080p per a la majoria de les càmeres.",
|
||||
"globalResolutionMultipleCameras": "S'estableix una resolució de detecció global mentre es configuren diverses càmeres. Tret que totes les càmeres comparteixin la mateixa resolució i relació d'aspecte, l'amplada i l'alçada de la detecció s'haurien de definir per càmera perquè coincideixi amb la relació d'aspecte nativa de cada càmera."
|
||||
"globalResolutionMultipleCameras": "S'estableix una resolució de detecció global mentre es configuren diverses càmeres. Tret que totes les càmeres comparteixin la mateixa resolució i relació d'aspecte, l'amplada i l'alçada de la detecció s'haurien de definir per càmera perquè coincideixi amb la relació d'aspecte nativa de cada càmera.",
|
||||
"sceneWithoutModel": "No s'ha configurat cap model de detecció per a aquesta escena, de manera que aquesta càmera torna al model amb una escena de 'Totes les càmeres'. Afegiu un model per a aquesta escena per donar la càmera pròpia.",
|
||||
"runtimeDisabled": "La detecció d'objectes està activada a la configuració, però actualment està desactivada per a aquesta càmera. Instantànies, articles de revisió i enriquiments com el reconeixement de rostres, el reconeixement de matrícules i la IA Generativa no funcionaran fins que no s'encengui des de la vista en viu de la càmera, o fins que el perfil actiu deixi d'inhabilitar-lo."
|
||||
},
|
||||
"faceRecognition": {
|
||||
"globalDisabled": "L'enriquiment del reconeixement facial s'ha d'habilitar perquè les funcions de reconeixement facial funcionin en aquesta càmera.",
|
||||
@@ -1862,10 +1957,12 @@
|
||||
"modelSizeLarge": "El model 'gran' està optimitzat per a matrícules multilínies. El model 'petit' proporciona un millor rendiment sobre 'gran' i s'ha d'utilitzar tret que la vostra regió utilitzi formats de placa multilínia."
|
||||
},
|
||||
"record": {
|
||||
"noRecordRole": "Cap flux té el rol de registre definit. L'enregistrament no funcionarà."
|
||||
"noRecordRole": "Cap flux té el rol de registre definit. L'enregistrament no funcionarà.",
|
||||
"noRecordSubRole": "Cap flux té definit el rol recordsubsub. L'enregistrament del substream no funcionarà."
|
||||
},
|
||||
"snapshots": {
|
||||
"detectDisabled": "La detecció d'objectes està desactivada. Les instantànies es generen a partir d'objectes rastrejats i no es crearan."
|
||||
"detectDisabled": "La detecció d'objectes està desactivada. Les instantànies es generen a partir d'objectes rastrejats i no es crearan.",
|
||||
"detectRuntimeDisabled": "La detecció d'objectes està activada a la configuració, però actualment està desactivada per a aquesta càmera, de manera que no es crearan instantànies. Torneu-lo a activar des de la vista en viu de la càmera, o comproveu si un perfil actiu l'està desactivant."
|
||||
},
|
||||
"objects": {
|
||||
"genaiNoDescriptionsProvider": "Heu de configurar un proveïdor de GenAI amb el rol 'descripcions' per a les descripcions que es generaran."
|
||||
@@ -1883,6 +1980,10 @@
|
||||
"model": {
|
||||
"optimizedFor320": "Frigate està optimitzada per a un model 320x320, que és la millor opció per a la majoria de configuracions. Un model 640x640 és més lent i només ajuda en escenaris específics.",
|
||||
"inputDimensionsNotDetectResolution": "L'amplada i l'alçada del model d'entrada són les dimensions d'entrada del model de detecció d'objectes, no la resolució de detecció de la càmera. Haurien de coincidir amb les dimensions del model que esteu utilitzant - típicament una mida quadrada com 320x320 o 640x640."
|
||||
},
|
||||
"birdseye": {
|
||||
"objectTrackingDetectDisabled": "Birdseye inclou objectes rastrejats, però la detecció d'objectes està desactivada per a aquesta càmera. La càmera no apareixerà a Birdseye.",
|
||||
"objectTrackingDetectRuntimeDisabled": "La detecció d'objectes està activada a la configuració, però actualment està desactivada per a aquesta càmera. Instantànies, articles de revisió i enriquiments com el reconeixement de rostres, el reconeixement de matrícules i la IA Generativa no funcionaran fins que no s'encengui des de la vista en viu de la càmera, o fins que el perfil actiu deixi d'inhabilitar-lo."
|
||||
}
|
||||
},
|
||||
"modelSize": {
|
||||
@@ -1913,6 +2014,10 @@
|
||||
"imageSource": {
|
||||
"recordings": "Gravacions",
|
||||
"previews": "Previsualitzacions"
|
||||
},
|
||||
"frameMode": {
|
||||
"frames": "Fotogrames",
|
||||
"annotated_frames": "Fotogrames anotats"
|
||||
}
|
||||
},
|
||||
"logger": {
|
||||
@@ -1940,5 +2045,46 @@
|
||||
"overrideGlobal": "Aquesta secció substitueix la configuració global",
|
||||
"overrideProfile": "Aquesta secció està substituïda pel perfil {{profile}}",
|
||||
"unsaved": "Aquesta secció té canvis sense desar"
|
||||
},
|
||||
"detectionModels": {
|
||||
"title": "Models de detecció",
|
||||
"description": "Configura els models de detecció d'objectes i el maquinari que s'executa. Les càmeres trien un model segons la seva escena a la configuració de detecció de la càmera.",
|
||||
"addModel": "Afegeix un model",
|
||||
"cameras_one": "{{count}} càmera",
|
||||
"cameras_many": "{{count}} càmeres",
|
||||
"cameras_other": "{{count}} càmeres",
|
||||
"scene": {
|
||||
"label": "Escena",
|
||||
"description": "L'entorn per al qual serveix aquest model. Les càmeres trien un model establint la mateixa escena a la seva configuració de detecció, i el model amb una escena de tots és utilitzat per qualsevol càmera que no en estableixi una."
|
||||
},
|
||||
"scenes": {
|
||||
"all": "Totes les càmeres",
|
||||
"indoor": "Interior",
|
||||
"outdoor": "Exterior",
|
||||
"indoor_thermal": "Tèrmiques interiors",
|
||||
"outdoor_thermal": "Tèrmiques exterior"
|
||||
},
|
||||
"hardware": {
|
||||
"label": "Maquinari",
|
||||
"placeholder": "Selecciona el maquinari",
|
||||
"loading": "S'està cercant el maquinari de detecció...",
|
||||
"none": "Cap maquinari seleccionat",
|
||||
"claimedBy": "utilitzat per {{scene}}",
|
||||
"detectorCount": "Detectors",
|
||||
"countRecommended_one": "Recomanat per a la càmera {{count}}",
|
||||
"countRecommended_many": "Recomanat per {{count}} càmeres",
|
||||
"countRecommended_other": "Recomanat per {{count}} càmeres",
|
||||
"unrecognized": "Aquest model està configurat per al maquinari que no s'ha trobat en aquest sistema: {{devices}}",
|
||||
"description": "El maquinari en el qual aquest model executa la seva detecció.",
|
||||
"detectorCountDescription": "Quants processos de detecció s'han d'executar en aquest maquinari. Més detectors es mantenen al dia amb més càmeres, a costa de la memòria extra del dispositiu.",
|
||||
"unitsDescription": "Cada unitat executa el seu propi procés de detecció. No es pot seleccionar una unitat ja utilitzada per un altre model."
|
||||
},
|
||||
"tabs": {
|
||||
"plus": "Frigate+",
|
||||
"custom": "Model personalitzat"
|
||||
},
|
||||
"plusModel": {
|
||||
"noModelSelected": "Selecciona un model Frigate+"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,7 +9,8 @@
|
||||
"nginx": "Registres de Nginix - Frigate",
|
||||
"websocket": "Registres de missatges - Frigate"
|
||||
},
|
||||
"enrichments": "Estadístiques complementàries - Frigate"
|
||||
"enrichments": "Estadístiques complementàries - Frigate",
|
||||
"health": "Salut - Frigate"
|
||||
},
|
||||
"title": "Sistema",
|
||||
"metrics": "Mètriques del sistema",
|
||||
@@ -139,7 +140,11 @@
|
||||
"title": "Sense utilitzar",
|
||||
"tips": "Aquest valor pot no de forma exacta representar l'espai lliure disponible a Frigate si tens altres fitxers emmagatzemats en la vostra unitat més enllà dels registres de Frigate. Frigate no rastreja l'ús d'emmagatzematge extern als seus registres."
|
||||
},
|
||||
"percentageOfTotalUsed": "Percentatge del total"
|
||||
"percentageOfTotalUsed": "Percentatge del total",
|
||||
"subStream": {
|
||||
"information": "Informació de l'emmagatzematge del subflux",
|
||||
"tips": "Les càmeres que enregistren un subflux mostren el seu ús original i de baixa qualitat per separat, utilitzant els mateixos noms que les opcions de qualitat en la reproducció de l'enregistrament. Els enregistraments de baixa qualitat es mantenen en disc fins que el seu període de retenció expira, de manera que aquesta avaria encara pot aparèixer per a una càmera després que s'hagi desactivat l'enregistrament de substream."
|
||||
}
|
||||
},
|
||||
"overview": "Visió general",
|
||||
"shm": {
|
||||
@@ -197,7 +202,11 @@
|
||||
"segmentLength": "Longitud del segment d'enregistrament:",
|
||||
"ok": "Fotogrames clau cada ,{{seconds}}s, bons per enregistrar i reproduir.",
|
||||
"unknown": "No s'ha pogut determinar l'espaiat dels fotogrames clau.",
|
||||
"recordDisabled": "L'enregistrament està desactivat per a aquesta càmera."
|
||||
"recordDisabled": "L'enregistrament està desactivat per a aquesta càmera.",
|
||||
"warningFixed": "Els fotogrames clau estan uniformement espaiats però dispersos (cada ).{{seconds}}s). L'enregistrament encara funciona, però la reproducció en directe i la recerca comencen més lentament. Estableix l'interval I-frame (keyframe) de la càmera perquè coincideixi amb la seva velocitat de fotogrames.",
|
||||
"warningVariable": "L'espaiat dels fotogrames clau és inconsistent ({{minSeconds}}s a {{maxSeconds}}s), el qual normalment significa que un còdec intel·ligent (H.264+/H.265+) està habilitat. Això no és recomanable.",
|
||||
"errorFixed": "Els fotogrames clau cada the{{seconds}}s és més llarg que la longitud del segment d'enregistrament ({{segmentTime}}s), de manera que alguns segments no tenen fotogrames clau i no es reproduiran. Escurça l'interval I-frame (keyframe) de la càmera perquè coincideixi amb la seva velocitat de fotogrames.",
|
||||
"errorVariable": "Els buits dels fotogrames clau arriben a the{{seconds}}s, més llargs que la longitud del segment d'enregistrament ({{segmentTime}}s). Alguns segments no tindran un fotograma clau, el qual trenca la reproducció. Desactiva el còdec intel·ligent/+ a la càmera o escurça el seu interval de fotogrames clau."
|
||||
}
|
||||
},
|
||||
"title": "Càmeres",
|
||||
@@ -234,7 +243,11 @@
|
||||
"detectHighCpuUsage": "{{camera}} te un ús elevat de CPU per la detecció ({{detectAvg}}%)",
|
||||
"detectIsVerySlow": "{{detect}} és molt lent ({{speed}} ms)",
|
||||
"detectIsSlow": "{{detect}} és lent ({{speed}} ms)",
|
||||
"debugReplayActive": "La sessió de repetició de depuració està activa"
|
||||
"debugReplayActive": "La sessió de repetició de depuració està activa",
|
||||
"cameraSkippedDetections": "{{camera}} està ometent la detecció en {{pct}}% de fotogrames",
|
||||
"systemNotices_one": "{{count}} avís del sistema",
|
||||
"systemNotices_other": "{{count}} avisos del sistema",
|
||||
"retentionUnmet": "Els enregistraments s'estan suprimint abans que acabi el seu període de retenció a l'espai lliure"
|
||||
},
|
||||
"enrichments": {
|
||||
"title": "Anàlisi avançada",
|
||||
@@ -262,5 +275,93 @@
|
||||
},
|
||||
"infPerSecond": "Inferències per segon",
|
||||
"averageInf": "Temps mitjà d'inferència"
|
||||
},
|
||||
"health": {
|
||||
"title": "Salut",
|
||||
"notices": {
|
||||
"title": "Avís",
|
||||
"empty": "La instal·lació de Frigate és saludable",
|
||||
"dismiss": "Descarta",
|
||||
"openSettings": "Obre la configuració",
|
||||
"openLink": "Obre l'enllaç",
|
||||
"noMatches": "No hi ha avisos que coincideixin amb el filtre",
|
||||
"dismissedTitle": "Descartat",
|
||||
"noneDismissed": "No hi ha avisos descartats",
|
||||
"clearDismissed": "Neteja descartada",
|
||||
"clearDismissedTitle": "Voleu netejar els avisos descartats?",
|
||||
"clearDismissedDesc": "S'elimina cada avís acomiadat. Les comprovacions de configuració i flux es mostren de nou immediatament, i altres avisos tornen la propera vegada que succeeixin.",
|
||||
"firstSeen_one": "{{time}} vist per primera vegada",
|
||||
"firstSeen_other": "{{time}} · {{count}} vegades",
|
||||
"dismissedAt": "S'ha suprimit {{time}}",
|
||||
"filter": {
|
||||
"showDismissed": "Mostra descartat",
|
||||
"severity": "Severitat",
|
||||
"warning": "Avís",
|
||||
"error": "Error",
|
||||
"info": "Info"
|
||||
},
|
||||
"kinds": {
|
||||
"detector_stuck": "S'ha reiniciat el detector {{detector}} després que deixés de respondre",
|
||||
"model_download_failed": "Ha fallat la baixada de {{file}} per {{model}}: {{error}}",
|
||||
"skipped_detections": "La detecció no ha pogut mantenir el {{pct}}% de fotogrames durant més d'un minut",
|
||||
"shm_too_low": "L'assignació /dev/shm ({{total}} MB) s'hauria d'augmentar a com a mínim {{min}} MB",
|
||||
"failed_login_one": "Error en l'intent d'inici de sessió de {{user}}",
|
||||
"failed_login_other": "Intents d'inici de sessió fallits per {{user}}",
|
||||
"update_available": "Frigate {{version}} està disponible"
|
||||
},
|
||||
"streamPrefix": "Flux {{index}}: {{message}}",
|
||||
"streamPrefixRestream": "Flux {{index}} (via go2rtc): {{message}}",
|
||||
"streamProbeFailed": "No s'ha pogut provar el flux {{index}}: {{error}}",
|
||||
"cameraProbeFailed": "No s'han pogut explorar els fluxos: {{error}}"
|
||||
},
|
||||
"hardware": {
|
||||
"title": "Maquinari",
|
||||
"objectDetection": "Detecció d'objectes",
|
||||
"hardwareAcceleration": "Acceleració del maquinari",
|
||||
"enrichments": {
|
||||
"title": "Enriquiments",
|
||||
"semantic_search": "Cerca semàntica",
|
||||
"face_recognition": "Reconeixement facial",
|
||||
"lpr": "Reconeixement de matricules",
|
||||
"audio_transcription": "Transcripció d'àudio"
|
||||
},
|
||||
"cameraConnections": "Connexions de la càmera",
|
||||
"allCamerasExcellent": "Totes les càmeres tenen una excel·lent connexió.",
|
||||
"fps": "{{camera}} / {{expected}} fps",
|
||||
"nothingConfigured": "Res configurat",
|
||||
"allCameras": "Totes les càmeres",
|
||||
"probeUnavailable": "La detecció de maquinari no està disponible",
|
||||
"justStarted": "Frigate acaba de començar",
|
||||
"deviceNotFound": "{{devices}} no s'ha trobat en aquest sistema",
|
||||
"detectorNotRunning": "El procés del detector no s'està executant",
|
||||
"inferenceVerySlow": "La inferència és molt lenta ({{speed}} ms)",
|
||||
"inferenceSlow": "La inferència és lenta ({{speed}} ms)",
|
||||
"customArgs": "Arguments personalitzats del ffmpeg",
|
||||
"customArgsNotVerified": "Arguments personalitzats del ffmpeg, no verificats",
|
||||
"hwaccelNotConfigured": "No s'utilitza cap descodificació de maquinari, però {{family}} està disponible. Seleccioneu-lo a la configuració del ffmpeg",
|
||||
"hwaccelHardwareMissing": "{{family}} està configurat, però la sonda de maquinari no ho ha informat",
|
||||
"unrecognizedDevice": "Sobreescriu el dispositiu no reconegut, no verificat",
|
||||
"decoderUsage": "descodificador {{usage}}",
|
||||
"remoteProvider": "Proveïdor remot",
|
||||
"acceleratorMissing": "Configurat per {{device}} però no s'ha trobat cap accelerador compatible",
|
||||
"modelNotRunYet": "El model encara no s'ha executat, el dispositiu es verifica després del primer ús",
|
||||
"fellBackToCpu": "Configurat per {{device}} però executant-se a la CPU",
|
||||
"cpuDespiteAccelerator": "S'està executant a la CPU encara que hi ha disponible un accelerador",
|
||||
"probed": "Profund",
|
||||
"probing": "S'està sondejant...",
|
||||
"recheck": "Torna a comprovar el maquinari",
|
||||
"cameraStreams": "Fluxos de la càmera",
|
||||
"streamsNotChecked": "Encara no s'ha comprovat",
|
||||
"streamsChecking": "S'està comprovant {{done}} de {{total}}",
|
||||
"streamsClean": "No hi ha problemes de flux",
|
||||
"checked": "Comprovat",
|
||||
"runAgain": "Torna a executar",
|
||||
"runStreamChecks": "Executa les comprovacions de flux",
|
||||
"streamsChecked_one": "S'ha comprovat la càmera {{count}}",
|
||||
"streamsChecked_other": "{{count}} càmeres comprovades",
|
||||
"streamsFlagged_one": "{{count}} amb problemes, llistat a Avisos",
|
||||
"streamsFlagged_other": "{{count}} amb problemes, llistat a Avisos",
|
||||
"inferenceMs": "{{speed}} ms"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -20,14 +20,6 @@
|
||||
"title": "Šířka pásma:",
|
||||
"short": "Šířka pásma"
|
||||
},
|
||||
"latency": {
|
||||
"title": "Latence:",
|
||||
"value": "{{seconds}} sekund",
|
||||
"short": {
|
||||
"title": "Latence",
|
||||
"value": "{{seconds}} sek"
|
||||
}
|
||||
},
|
||||
"totalFrames": "Celkový počet snímků:",
|
||||
"droppedFrames": {
|
||||
"title": "Ztracené snímky:",
|
||||
|
||||
@@ -343,5 +343,8 @@
|
||||
"engine": "Motor",
|
||||
"light_engine": "Lille motor",
|
||||
"swing_music": "Swing musik",
|
||||
"bluegrass": "Bluegrass"
|
||||
"bluegrass": "Bluegrass",
|
||||
"folk_music": "Folkemusik",
|
||||
"echo": "Ekko",
|
||||
"pulse": "Puls"
|
||||
}
|
||||
|
||||
@@ -20,14 +20,6 @@
|
||||
"title": "Båndbredde:",
|
||||
"short": "Båndbredde"
|
||||
},
|
||||
"latency": {
|
||||
"title": "Latenstid:",
|
||||
"value": "{{seconds}} sekunder",
|
||||
"short": {
|
||||
"title": "Latenstid",
|
||||
"value": "{{seconds}} sek"
|
||||
}
|
||||
},
|
||||
"droppedFrames": {
|
||||
"short": {
|
||||
"title": "Tabt",
|
||||
|
||||
@@ -20,14 +20,6 @@
|
||||
"title": "Bandbreite:",
|
||||
"short": "Bandbreite"
|
||||
},
|
||||
"latency": {
|
||||
"title": "Latenz:",
|
||||
"value": "{{seconds}} Sekunden",
|
||||
"short": {
|
||||
"title": "Latenz",
|
||||
"value": "{{seconds}} s"
|
||||
}
|
||||
},
|
||||
"droppedFrames": {
|
||||
"short": {
|
||||
"title": "Ausgelassen",
|
||||
|
||||
@@ -20,14 +20,6 @@
|
||||
"title": "Ταχύτητα:",
|
||||
"short": "Ταχύτητα"
|
||||
},
|
||||
"latency": {
|
||||
"title": "Καθυστέρηση:",
|
||||
"value": "{{seconds}} δευτερόλεπτα",
|
||||
"short": {
|
||||
"title": "Καθυστέρηση",
|
||||
"value": "{{seconds}} δευτερόλεπτα"
|
||||
}
|
||||
},
|
||||
"totalFrames": "Συνολικός αριθμός Καρέ:",
|
||||
"droppedFrames": {
|
||||
"title": "Απορριφθέντα καρέ:",
|
||||
|
||||
@@ -23,6 +23,9 @@
|
||||
"overriddenGlobalHeading_one": "This camera overrides {{count}} field from the global config:",
|
||||
"overriddenGlobalHeading_other": "This camera overrides {{count}} fields from the global config:",
|
||||
"overriddenGlobalNoDeltas": "This camera overrides the global config, but no field values differ.",
|
||||
"overriddenLive": "Overridden (Live)",
|
||||
"overriddenLiveTooltip": "This camera is running with a different value than the one saved in your config, which is shown here. The live view, MQTT, or an active profile can change it while Frigate is running.",
|
||||
"overriddenLiveValue": "Running value: {{value}}",
|
||||
"overriddenBaseConfig": "Overridden (Base Config)",
|
||||
"overriddenBaseConfigTooltip": "The {{profile}} profile overrides configuration settings in this section",
|
||||
"overriddenBaseConfigHeading_one": "The {{profile}} profile overrides {{count}} field from the base config:",
|
||||
@@ -1205,9 +1208,8 @@
|
||||
"desc": "Frigate can natively send push notifications to your device when it is running in the browser or installed as a PWA."
|
||||
},
|
||||
"notificationUnavailable": {
|
||||
"title": "Notifications Unavailable",
|
||||
"desc": "Web push notifications require a secure context (<code>https://…</code>). This is a browser limitation. Access Frigate securely to use notifications.",
|
||||
"descPwa": "On iOS, web push notifications are only available when Frigate is installed to your Home Screen. Open the <strong>Share</strong> menu, choose <strong>Add to Home Screen</strong>, then open Frigate from the new icon to register this device for notifications."
|
||||
"desc": "Web push notifications require a secure context (https://…). This is a browser limitation. Access Frigate securely to use notifications.",
|
||||
"descPwa": "On iOS, web push notifications are only available when Frigate is installed to your Home Screen. Open the Share menu, choose Add to Home Screen, then open Frigate from the new icon to register this device for notifications."
|
||||
},
|
||||
"globalSettings": {
|
||||
"title": "Global Settings",
|
||||
@@ -1313,7 +1315,6 @@
|
||||
"triggers": {
|
||||
"documentTitle": "Triggers",
|
||||
"semanticSearch": {
|
||||
"title": "Semantic Search is disabled",
|
||||
"desc": "Semantic Search must be enabled to use Triggers."
|
||||
},
|
||||
"management": {
|
||||
@@ -1954,20 +1955,25 @@
|
||||
"configMessages": {
|
||||
"review": {
|
||||
"recordDisabled": "Recording is disabled, review items will not be generated.",
|
||||
"recordRuntimeDisabled": "Recording is enabled in your config, but it is currently turned off for this camera, so review items will not be generated. Turn it back on from the camera's live view, or check whether an active profile is disabling it.",
|
||||
"detectDisabled": "Object detection is disabled. Review items require detected objects to categorize alerts and detections.",
|
||||
"detectRuntimeDisabled": "Object detection is enabled in your config, but it is currently turned off for this camera. Review items require detected objects to categorize alerts and detections. Turn it back on from the camera's live view, or check whether an active profile is disabling it.",
|
||||
"allNonAlertDetections": "All non-alert activity will be included as detections.",
|
||||
"genaiImageSourceRecordingsRecordDisabled": "Image source is set to 'recordings', but recording is disabled. Frigate will fall back to preview images."
|
||||
"genaiImageSourceRecordingsRecordDisabled": "Image source is set to 'recordings', but recording is disabled. Frigate will fall back to preview images.",
|
||||
"genaiImageSourceRecordingsRecordRuntimeDisabled": "Image source is set to 'recordings', but recording is currently turned off for this camera even though your config enables it. Frigate will fall back to preview images."
|
||||
},
|
||||
"audio": {
|
||||
"noAudioRole": "No streams have the audio role defined. You must enable the audio role for audio detection to function."
|
||||
},
|
||||
"audioTranscription": {
|
||||
"audioDetectionDisabled": "Audio detection is not enabled for this camera. Audio transcription requires audio detection to be active.",
|
||||
"audioDetectionRuntimeDisabled": "Audio detection is enabled in your config, but it is currently turned off for this camera, so audio transcription will not run. Turn it back on from the camera's live view, or check whether an active profile is disabling it.",
|
||||
"genaiProviderSelected": "A GenAI provider is selected, so the device and model size settings are ignored."
|
||||
},
|
||||
"detect": {
|
||||
"fpsGreaterThanFive": "Setting the detect FPS higher than 5 is not recommended. Higher values may cause performance issues and will not provide any benefit.",
|
||||
"disabled": "Object detection is disabled. Snapshots, review items, and enrichments such as face recognition, license plate recognition, and Generative AI will not function.",
|
||||
"runtimeDisabled": "Object detection is enabled in your config, but it is currently turned off for this camera. Snapshots, review items, and enrichments such as face recognition, license plate recognition, and Generative AI will not function until it is turned back on from the camera's live view, or until the active profile stops disabling it.",
|
||||
"sceneWithoutModel": "No detection model is configured for this scene, so this camera falls back to the model with a scene of 'All cameras'. Add a model for this scene to give the camera its own.",
|
||||
"resolutionShouldBeMultipleOfFour": "For best results, detect width and height should be multiples of 4. Other even values may produce visual artifacts or slight distortion in the detect stream.",
|
||||
"aspectRatioMismatch": "The width and height you've entered don't match the aspect ratio of your current detect resolution. This may produce a stretched or distorted image.",
|
||||
@@ -2002,10 +2008,12 @@
|
||||
"noRecordSubRole": "No streams have the record_sub role defined. Sub stream recording will not function."
|
||||
},
|
||||
"birdseye": {
|
||||
"objectTrackingDetectDisabled": "Birdseye includes tracked objects, but object detection is disabled for this camera. The camera will not appear in Birdseye."
|
||||
"objectTrackingDetectDisabled": "Birdseye includes tracked objects, but object detection is disabled for this camera. The camera will not appear in Birdseye.",
|
||||
"objectTrackingDetectRuntimeDisabled": "Birdseye includes tracked objects, but object detection is currently turned off for this camera even though your config enables it. The camera will not appear in Birdseye until it is turned back on from the camera's live view, or until the active profile stops disabling it."
|
||||
},
|
||||
"snapshots": {
|
||||
"detectDisabled": "Object detection is disabled. Snapshots are generated from tracked objects and will not be created."
|
||||
"detectDisabled": "Object detection is disabled. Snapshots are generated from tracked objects and will not be created.",
|
||||
"detectRuntimeDisabled": "Object detection is enabled in your config, but it is currently turned off for this camera, so snapshots will not be created. Turn it back on from the camera's live view, or check whether an active profile is disabling it."
|
||||
},
|
||||
"semanticSearch": {
|
||||
"jinav2SmallModelSize": "The 'small' size with the Jina V2 model has high RAM and inference cost. The 'large' model with a discrete GPU is recommended."
|
||||
|
||||
@@ -95,7 +95,7 @@
|
||||
"setPassword": "Establecer contraseña",
|
||||
"current": "Usuario actual: {{user}}"
|
||||
},
|
||||
"systemMetrics": "Métricas del sistema",
|
||||
"systemMetrics": "Salud y Métricas del sistema",
|
||||
"help": "Ayuda",
|
||||
"system": "Sistema",
|
||||
"configuration": "Configuración",
|
||||
@@ -147,7 +147,8 @@
|
||||
"ur": "اردو (Urdu)",
|
||||
"hr": "Hrvatski (Croata)",
|
||||
"bs": "Bosanski (Bosnio)",
|
||||
"zhHant": "繁體中文 (Chino Tradicional)"
|
||||
"zhHant": "繁體中文 (Chino Tradicional)",
|
||||
"be": "Bielorruso"
|
||||
},
|
||||
"appearance": "Apariencia",
|
||||
"darkMode": {
|
||||
@@ -259,7 +260,10 @@
|
||||
"saveAll": "Guardar todo",
|
||||
"savingAll": "Guardando todo…",
|
||||
"undoAll": "Deshacer todo",
|
||||
"retry": "Reintentar"
|
||||
"retry": "Reintentar",
|
||||
"expand": "Expandir",
|
||||
"collapse": "Colapsar",
|
||||
"reload": "Recargar"
|
||||
},
|
||||
"toast": {
|
||||
"save": {
|
||||
@@ -327,5 +331,36 @@
|
||||
"validation_errors": "Errores de validación",
|
||||
"credentialField": {
|
||||
"savedPlaceholder": "Guardado — déjalo en blanco para mantener el actual"
|
||||
},
|
||||
"commandMenu": {
|
||||
"action": {
|
||||
"toggleTheme": "Cambiar de modo claro a modo oscuro"
|
||||
},
|
||||
"title": "Menú de Comandos",
|
||||
"description": "Buscar páginas, cámaras, configuraciones y acciones",
|
||||
"placeholder": "Buscar páginas, cámaras, configuraciones y acciones",
|
||||
"empty": "No se han encontrado coincidencias",
|
||||
"hint": "{{key}} o / para abrir, Enter para ejecutar",
|
||||
"section": {
|
||||
"recent": "Recientes",
|
||||
"pages": "Páginas",
|
||||
"cameras": "Cámaras",
|
||||
"cameraGroups": "Grupos de cámaras",
|
||||
"settings": "Configuración",
|
||||
"actions": "Acciones"
|
||||
},
|
||||
"camera": {
|
||||
"live": "En vivo",
|
||||
"review": "Revisión"
|
||||
}
|
||||
},
|
||||
"error": {
|
||||
"title": "Esta página ha dejado de funcionar",
|
||||
"desc": "Ha ocurrido un error inesperado en esta página. Recargarla generalmente resuelve el problema. Si sigue sucediendo, copia los detalles y adjuntalos en una nueva discusión en GitHub.",
|
||||
"staleTitle": "Recarga requerida",
|
||||
"staleDesc": "Una parte de esta interfaz no pudo ser cargada, lo que usualmente significa que Frigate fue actualizado mientras esta pestaña estaba abierta. Recarga la página para ver la nueva versión.",
|
||||
"partial": "Una parte de la interfaz ha dejado de funcionar.",
|
||||
"copyDetails": "Copiar detalles",
|
||||
"copyFailed": "Los detalles no pudieron ser copiados al portapapeles"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -19,14 +19,6 @@
|
||||
"title": "Ancho de banda:",
|
||||
"short": "Ancho de banda"
|
||||
},
|
||||
"latency": {
|
||||
"title": "Latencia:",
|
||||
"short": {
|
||||
"title": "Latencia",
|
||||
"value": "{{seconds}} seg"
|
||||
},
|
||||
"value": "{{seconds}} segundos"
|
||||
},
|
||||
"totalFrames": "Fotogramas totales:",
|
||||
"droppedFrames": {
|
||||
"title": "Fotogramas perdidos:",
|
||||
|
||||
@@ -274,7 +274,7 @@
|
||||
"soundtrack_music": "Filmimuusika",
|
||||
"jingle": "Kõlisemine/tilisemine",
|
||||
"theme_music": "Tunnusmuusika",
|
||||
"steel_guitar": "Steel Kitarr",
|
||||
"steel_guitar": "Steel-kitarr",
|
||||
"tapping": "Koputamine",
|
||||
"strum": "Klimberdus",
|
||||
"drum_machine": "Trummimasin",
|
||||
@@ -337,5 +337,13 @@
|
||||
"television": "Televiisor",
|
||||
"scream": "Karjumine",
|
||||
"pour": "Valamine",
|
||||
"drip": "Tilkumine"
|
||||
"drip": "Tilkumine",
|
||||
"snare_drum": "Väike trumm / soolotrumm",
|
||||
"rimshot": "Trummi äärelöök",
|
||||
"drum_roll": "Trummipõrin",
|
||||
"timpani": "Timpanid",
|
||||
"tabla": "Tabla-trumm Indiast",
|
||||
"cymbal": "Simbel",
|
||||
"hi_hat": "Pedaaliga taldrikukomplekt",
|
||||
"wood_block": "Väike õõnesplokktrumm"
|
||||
}
|
||||
|
||||
@@ -146,9 +146,9 @@
|
||||
"be": "Беларуская (valgevene keel)"
|
||||
},
|
||||
"system": "Süsteem",
|
||||
"systemMetrics": "Süsteemi meetrika",
|
||||
"systemMetrics": "Süsteemi korrasolek ja meetrika",
|
||||
"configuration": "Seadistused",
|
||||
"systemLogs": "Süsteemi logid",
|
||||
"systemLogs": "Logid",
|
||||
"configurationEditor": "Seadistuste haldur",
|
||||
"languages": "Keeled",
|
||||
"appearance": "Välimus",
|
||||
@@ -253,7 +253,10 @@
|
||||
"savingAll": "Salvestan kõiki…",
|
||||
"undoAll": "Pööra kõik tegevused tagasi",
|
||||
"applying": "Võtan kasutusele…",
|
||||
"retry": "Proovi uuesti"
|
||||
"retry": "Proovi uuesti",
|
||||
"expand": "Laienda",
|
||||
"collapse": "Ahenda",
|
||||
"reload": "Laadi uuesti"
|
||||
},
|
||||
"label": {
|
||||
"back": "Mine tagasi",
|
||||
@@ -321,5 +324,36 @@
|
||||
"validation_errors": "Valideerimise vead",
|
||||
"credentialField": {
|
||||
"savedPlaceholder": "Salvestatud - senise kasutamiseks jäta tühjaks"
|
||||
},
|
||||
"error": {
|
||||
"title": "Leht lõpetas toimimise",
|
||||
"desc": "Lehel tekkis ootamatu viga. Tavaliselt aitab lehe uuesti laadimine seda kõrvaldada. Kui viga kordub, kopeeri üksikasjad ja lisa need GitHubi arutelusse või veakirjeldusse.",
|
||||
"staleTitle": "Uuesti laadimine on vajalik",
|
||||
"staleDesc": "Osa kasutajaliidesest ei õnnestunud laadida, mis tähendab tavaliselt, et Frigate'i sai uuendatud, kui see vahekaart oli avatud. Uue versiooni kuvamiseks laadi leht uuesti.",
|
||||
"partial": "Osa kasutajaliidestest lõpetas toimimise.",
|
||||
"copyDetails": "Kopeeri üksikasjad",
|
||||
"copyFailed": "Üksikasjade kopeerimine lõikelauale ei õnnestunud"
|
||||
},
|
||||
"commandMenu": {
|
||||
"title": "Käsumenüü",
|
||||
"description": "Otsi lehti, kaameraid, seadistusi ja tegevusi",
|
||||
"placeholder": "Otsi lehti, kaameraid, seadistusi ja tegevusi",
|
||||
"empty": "Vasteid ei leidu",
|
||||
"hint": "Vajuta avamiseks {{key}} või käivitamiseks sisestusklahvi",
|
||||
"section": {
|
||||
"recent": "Hiljutine",
|
||||
"pages": "Lehti",
|
||||
"cameras": "Kaamerad",
|
||||
"cameraGroups": "Kaameragrupid",
|
||||
"settings": "Seadistused",
|
||||
"actions": "Tegevused"
|
||||
},
|
||||
"camera": {
|
||||
"live": "Vaade reaalajas",
|
||||
"review": "Ülevaade"
|
||||
},
|
||||
"action": {
|
||||
"toggleTheme": "Lülita hele ja tume vaade sisse/välja"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -143,6 +143,15 @@
|
||||
"partial": "Alustasin {{successful}}/{{total}} ekspordiga. Ebaõnnestusid: {{failedItems}}",
|
||||
"failed": "{{total}} ekspordi algatamine ebaõnnestus. Ebaõnnestunud: {{failedItems}}"
|
||||
}
|
||||
},
|
||||
"stream": {
|
||||
"label": "Kvaliteet",
|
||||
"auto": "Automaatne",
|
||||
"main": "Algne",
|
||||
"sub": "Madal",
|
||||
"autoDesc": "Kasutab põhilist voogedastust ja lülitub madalama kvaliteediga alamvoogedastusele, kui põhiline pole kättesaadav.",
|
||||
"subDesc": "Eksporditakse ainult madalama kvaliteediga alamvoogedastus. Ajavahemikud, mil see pole kättesaadav, jäävad välja.",
|
||||
"mainDesc": "Eksporditakse ainult algse kvaliteediga põhiline voogedastus. Ajavahemikud, mil see pole kättesaadav, jäävad välja."
|
||||
}
|
||||
},
|
||||
"streaming": {
|
||||
@@ -164,7 +173,8 @@
|
||||
"export": "Ekspordi",
|
||||
"markAsReviewed": "Märgi ülevaadatuks",
|
||||
"markAsUnreviewed": "Märgi mitteülevaadatuks",
|
||||
"deleteNow": "Kustuta kohe"
|
||||
"deleteNow": "Kustuta kohe",
|
||||
"generateDescription": "Koosta kirjeldus"
|
||||
},
|
||||
"confirmDelete": {
|
||||
"title": "Kinnita kustutamine",
|
||||
@@ -183,6 +193,12 @@
|
||||
"custom": "Kohandatud ajatempel",
|
||||
"button": "Jaga ajatempliga linki",
|
||||
"shareTitle": "Frigate ülevaate ajatempel: {{camera}}"
|
||||
},
|
||||
"genaiDescription": {
|
||||
"toast": {
|
||||
"error": "Kirjelduse pärimine ei õnnestunud: {{error}}",
|
||||
"success": "Selle ülevaatamisele kuuluva objekti jaoks oled palunud „GenAI“ põhise kirjelduse koostamist."
|
||||
}
|
||||
}
|
||||
},
|
||||
"imagePicker": {
|
||||
|
||||
@@ -16,14 +16,6 @@
|
||||
"title": "Ribalaius:",
|
||||
"short": "Ribalaius"
|
||||
},
|
||||
"latency": {
|
||||
"title": "Latentsus:",
|
||||
"value": "{{seconds}} sekundit",
|
||||
"short": {
|
||||
"title": "Latentsus",
|
||||
"value": "{{seconds}} sek"
|
||||
}
|
||||
},
|
||||
"totalFrames": "Kaadreid kokku:",
|
||||
"droppedFrames": {
|
||||
"title": "Vahelejäänud kaadreid:",
|
||||
@@ -45,8 +37,23 @@
|
||||
"submittedFrigatePlus": "Kaadri saatmine Frigate+ teenusesse õnnestus"
|
||||
},
|
||||
"error": {
|
||||
"submitFrigatePlusFailed": "Kaadri saatmine Frigate+ teenusesse ei õnnestunud"
|
||||
"submitFrigatePlusFailed": "Kaadri saatmine Frigate+ teenusesse ei õnnestunud",
|
||||
"playRecordingsFailed": "Salvestiste esitamine ei õnnestunud (viga {{code}}): {{message}}"
|
||||
}
|
||||
},
|
||||
"cameraOff": "Kaamera on lülitatud välja"
|
||||
"cameraOff": "Kaamera on lülitatud välja",
|
||||
"quality": {
|
||||
"auto": "Automaatne",
|
||||
"autoLow": "Esita madala kvaliteediga (väiksem ribalaius)",
|
||||
"autoLowCodec": "Esitamisel madala kvaliteediga (see brauser ei toeta algset vormingut)",
|
||||
"autoLowSaveData": "Esitamisel madala kvaliteediga (säästab andmeruumi)",
|
||||
"main": "Algne kvaliteet",
|
||||
"sub": "Madal kvaliteet",
|
||||
"notSupportedBrowser": "Pole selles brauseris toetatud",
|
||||
"label": "Kvaliteet",
|
||||
"noAudio": "Ilma heliribata",
|
||||
"audioRate": "{{rate}} kHz heliriba",
|
||||
"audioCodecRate": "{{codec}} {{rate}} kHz",
|
||||
"noRecordings": "Sellest ajavahemikust pole salvestisi"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -44,7 +44,15 @@
|
||||
},
|
||||
"alerts": {
|
||||
"enabled": {
|
||||
"label": "Luba häired"
|
||||
"label": "Luba häired",
|
||||
"description": "Luba häirete loomine selle kaamera jaoks."
|
||||
},
|
||||
"labels": {
|
||||
"label": "Häirete sildid",
|
||||
"description": "Objektide sildid, mille alusel häiret luua (nt: auto, isik)."
|
||||
},
|
||||
"required_zones": {
|
||||
"label": "Nõutavad tsoonid"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -115,6 +115,13 @@
|
||||
"enabled": {
|
||||
"label": "Luba häired",
|
||||
"description": "Luba või keela kõigi kaamerate häirete genereerimine; seda saab kaamerati eraldi muuta."
|
||||
},
|
||||
"labels": {
|
||||
"label": "Häirete sildid",
|
||||
"description": "Objektide sildid, mille alusel häiret luua (nt: auto, isik)."
|
||||
},
|
||||
"required_zones": {
|
||||
"label": "Nõutavad tsoonid"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -129,7 +136,7 @@
|
||||
},
|
||||
"language": {
|
||||
"label": "Üleskirjutuse keel",
|
||||
"description": "Üleskirjutuse/tõlkimise jaoks kasutatav keelekood (näiteks „en” inglise keele puhul). Toetatud keelekoodid leiad lehelt https://whisper-api.com/docs/languages/."
|
||||
"description": "Üleskirjutuse/tõlkimise jaoks kasutatav keelekood (näiteks „en“ inglise keele puhul) või „auto“, kui tahad et keelemudel tuvastaks selle automaatselt. Toetatud keelekoodid leiad lehelt https://whisper-api.com/docs/languages/."
|
||||
},
|
||||
"device": {
|
||||
"label": "Üleskirjutusseade"
|
||||
|
||||
@@ -31,5 +31,8 @@
|
||||
},
|
||||
"detect": {
|
||||
"dimensionMustBeEven": "Peab olema paarisarv."
|
||||
},
|
||||
"models": {
|
||||
"defaultRequired": "Üks mudel peab kasutama stseeni „Kõik kaamerad“. Ilma selleta ei ole ühelgi kaameral, millel stseen on valimata,pole tagavaravariandina kasutatavat mudelit."
|
||||
}
|
||||
}
|
||||
|
||||
@@ -26,6 +26,12 @@
|
||||
"auto_scroll": {
|
||||
"title": "Automaatne kerimine",
|
||||
"desc": "Jälgi uusi sõnumeid kohe, kui need saabuvad."
|
||||
},
|
||||
"always_allow": {
|
||||
"title": "Alati lubatud tegevused",
|
||||
"desc": "Tegevused, mida Abiline võib käivitada ilma eelnevalt luba küsimata.",
|
||||
"none": "Määramata",
|
||||
"reset": "Lähtesta"
|
||||
}
|
||||
},
|
||||
"stats": {
|
||||
@@ -68,5 +74,15 @@
|
||||
},
|
||||
"thinking": {
|
||||
"toggle": "Näita mõtlemise olekut või peida see"
|
||||
},
|
||||
"approval": {
|
||||
"title": "Kas lubad „{{tool}}“ tarviku kasutamist?",
|
||||
"desc": "Selle tegevusega muudad Frigate'is midagi. Enne kinnitamist vaata üksikasjad üle.",
|
||||
"approve": "Kiida heaks",
|
||||
"always_allow": "Luba alati",
|
||||
"reject": "Lükka tagasi",
|
||||
"approved": "Heakskiidetud",
|
||||
"rejected": "Tagasilükatud",
|
||||
"placeholder": "Jätkamaks kiida ootel tegevus heaks või lükka ta tagasi"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -46,5 +46,6 @@
|
||||
},
|
||||
"train": {
|
||||
"titleShort": "Hiljutised"
|
||||
}
|
||||
},
|
||||
"disabled": "Keelatud"
|
||||
}
|
||||
|
||||
@@ -91,5 +91,6 @@
|
||||
"crop": "Kadreeri filtreerimiseks",
|
||||
"cropAria": "Lülita filtreeritud alade kadreeritud eelvaated sisse/välja",
|
||||
"cropDesc": "Täiskaadri kuvamise asemel suumi eelvaated valitud filtritega märgitud alani."
|
||||
}
|
||||
},
|
||||
"subOnlyQuality": "Sellest ajavahemikust on saadaval vaid madala kvaliteediga salvestised"
|
||||
}
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
"streamTitle": "Voog {{number}}",
|
||||
"streamUrl": "Voo URL",
|
||||
"addStream": "Lisa voog",
|
||||
"description": "Seadista voogedastusrolle ja lisa oma kaamerale täiendavaid vooge.",
|
||||
"description": "Seadista omadusi, voogedastusrolle ja lisa oma kaamerale täiendavaid vooge.",
|
||||
"streamsTitle": "Kaamera vood"
|
||||
},
|
||||
"steps": {
|
||||
@@ -447,7 +447,7 @@
|
||||
"systemTelemetry": "Telemeetria",
|
||||
"systemBirdseye": "Vaade linnulennult",
|
||||
"systemFfmpeg": "FFmpeg",
|
||||
"systemDetectorsAndModel": "Tuvastamine ja mudelid",
|
||||
"systemDetectorsAndModel": "Tuvastusmudelid",
|
||||
"systemMqtt": "MQTT",
|
||||
"systemGo2rtcStreams": "go2rtc voogedastus",
|
||||
"integrationSemanticSearch": "Semantiline otsing",
|
||||
|
||||
@@ -21,14 +21,6 @@
|
||||
"title": "پهنای باند:",
|
||||
"short": "پهنای باند"
|
||||
},
|
||||
"latency": {
|
||||
"title": "تأخیر:",
|
||||
"value": "{{seconds}} ثانیهها",
|
||||
"short": {
|
||||
"title": "تأخیر",
|
||||
"value": "{{seconds}} ثانیه"
|
||||
}
|
||||
},
|
||||
"totalFrames": "مجموع فریمها:",
|
||||
"droppedFrames": {
|
||||
"title": "فریمهای از دسترفته:",
|
||||
|
||||
@@ -21,14 +21,6 @@
|
||||
"title": "Kaistanleveys:",
|
||||
"short": "Kaistanleveys"
|
||||
},
|
||||
"latency": {
|
||||
"title": "Latenssi:",
|
||||
"value": "{{seconds}} sekuntia",
|
||||
"short": {
|
||||
"value": "{{seconds}} sek",
|
||||
"title": "Latenssi"
|
||||
}
|
||||
},
|
||||
"totalFrames": "Kehyksiä yhteensä:",
|
||||
"droppedFrames": {
|
||||
"title": "Pudotettuja kehyksiä:",
|
||||
|
||||
@@ -21,14 +21,6 @@
|
||||
"title": "Bande passante :",
|
||||
"short": "Bande passante"
|
||||
},
|
||||
"latency": {
|
||||
"title": "Latence :",
|
||||
"value": "{{seconds}} secondes",
|
||||
"short": {
|
||||
"title": "Latence",
|
||||
"value": "{{seconds}} s"
|
||||
}
|
||||
},
|
||||
"droppedFrames": {
|
||||
"short": {
|
||||
"value": "{{droppedFrames}} images",
|
||||
|
||||
@@ -16,14 +16,6 @@
|
||||
"title": "רוחב-פס:",
|
||||
"short": "רוחב-פס"
|
||||
},
|
||||
"latency": {
|
||||
"title": "השהיה:",
|
||||
"value": "{{seconds}} שניות",
|
||||
"short": {
|
||||
"title": "השהיה",
|
||||
"value": "{{seconds}} שניה"
|
||||
}
|
||||
},
|
||||
"decodedFrames": "פריימים מפוענחים:",
|
||||
"droppedFrameRate": "קצב פריימים מופחת:",
|
||||
"totalFrames": "סך כל המסגרות:"
|
||||
|
||||
@@ -9,14 +9,6 @@
|
||||
"short": "Vrsta",
|
||||
"title": "Tip Streama:"
|
||||
},
|
||||
"latency": {
|
||||
"value": "{{seconds}} sekundi",
|
||||
"short": {
|
||||
"value": "{{seconds}} sekundi",
|
||||
"title": "Kašnjenje"
|
||||
},
|
||||
"title": "Kašnjenje:"
|
||||
},
|
||||
"bandwidth": {
|
||||
"title": "Mrežna propusnost:",
|
||||
"short": "Mrežna propusnost"
|
||||
|
||||
@@ -21,14 +21,6 @@
|
||||
"title": "Sávszélesség:",
|
||||
"short": "Sávszélesség"
|
||||
},
|
||||
"latency": {
|
||||
"title": "Késleltetés:",
|
||||
"value": "{{seconds}} másodperc",
|
||||
"short": {
|
||||
"title": "Késleltetés",
|
||||
"value": "{{seconds}} másodperc"
|
||||
}
|
||||
},
|
||||
"droppedFrames": {
|
||||
"title": "Hibás Képek:",
|
||||
"short": {
|
||||
|
||||
@@ -76,9 +76,9 @@
|
||||
"menu": {
|
||||
"system": "Sistem",
|
||||
"profiles": "Profil",
|
||||
"systemMetrics": "Metrik sistem",
|
||||
"systemMetrics": "Metrik sistemKesehatan dan Metrik",
|
||||
"configuration": "Konfigurasi",
|
||||
"systemLogs": "Log sistem",
|
||||
"systemLogs": "Log",
|
||||
"settings": "Pengaturan",
|
||||
"configurationEditor": "Editor Konfigurasi",
|
||||
"languages": "Bahasa",
|
||||
@@ -127,7 +127,8 @@
|
||||
"withSystem": {
|
||||
"label": "Gunakan pengaturan sistem untuk bahasa"
|
||||
},
|
||||
"zhHant": "繁體中文 (Tionghoa Tradisional)"
|
||||
"zhHant": "繁體中文 (Tionghoa Tradisional)",
|
||||
"be": "Bahasa Belarusia"
|
||||
},
|
||||
"appearance": "Tampilan",
|
||||
"darkMode": {
|
||||
@@ -264,7 +265,10 @@
|
||||
"saveAll": "Simpan Semua",
|
||||
"savingAll": "Menyimpan Semua…",
|
||||
"undoAll": "Urungkan Semua",
|
||||
"retry": "Coba Lagi"
|
||||
"retry": "Coba Lagi",
|
||||
"expand": "Perluas",
|
||||
"collapse": "Ciutkan",
|
||||
"reload": "Muat ulang"
|
||||
},
|
||||
"toast": {
|
||||
"copyUrlToClipboard": "URL disalin ke papan klip.",
|
||||
@@ -313,5 +317,36 @@
|
||||
"validation_errors": "Kesalahan Validasi",
|
||||
"credentialField": {
|
||||
"savedPlaceholder": "Tersimpan — biarkan kosong untuk mempertahankan yang saat ini"
|
||||
},
|
||||
"error": {
|
||||
"title": "Halaman ini berhenti bekerja",
|
||||
"desc": "Halaman mengalami kesalahan yang tidak terduga. Memuat ulang biasanya akan mengatasinya. Jika masih terus terjadi, salin detailnya dan lampirkan ke diskusi di GitHub.",
|
||||
"staleTitle": "Muat ulang diperlukan",
|
||||
"staleDesc": "Sebagian antarmuka tidak dapat dimuat, yang biasanya berarti Frigate telah diperbarui saat tab ini terbuka. Muat ulang untuk mengambil versi baru.",
|
||||
"partial": "Sebagian antarmuka berhenti bekerja.",
|
||||
"copyDetails": "Salin detail",
|
||||
"copyFailed": "Gagal menyalin detail ke papan klip"
|
||||
},
|
||||
"commandMenu": {
|
||||
"title": "Menu perintah",
|
||||
"description": "Cari halaman, kamera, pengaturan, dan tindakan",
|
||||
"placeholder": "Cari halaman, kamera, pengaturan, dan tindakan",
|
||||
"empty": "Tidak ada kecocokan",
|
||||
"hint": "{{key}} atau / untuk membuka, Enter untuk menjalankan",
|
||||
"section": {
|
||||
"recent": "Terkini",
|
||||
"pages": "Halaman",
|
||||
"cameras": "Kamera",
|
||||
"cameraGroups": "Grup kamera",
|
||||
"settings": "Pengaturan",
|
||||
"actions": "Tindakan"
|
||||
},
|
||||
"camera": {
|
||||
"live": "Langsung",
|
||||
"review": "Tinjauan"
|
||||
},
|
||||
"action": {
|
||||
"toggleTheme": "Beralih antara mode terang dan gelap"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -65,8 +65,9 @@
|
||||
"batchQueuedSuccess_other": "{{count}} ekspor antrian.",
|
||||
"batchQueueFailed": "Gagal mengantrekan {{total}} ekspor. Kamera yang gagal: {{failedCameras}}",
|
||||
"error": {
|
||||
"failed": "Ekspor gagal mengantri: {{error}}",
|
||||
"noValidTimeSelected": "Rentang waktu yang dipilih tidak valid"
|
||||
"failed": "Gagal mengantrekan ekspor: {{error}}",
|
||||
"noValidTimeSelected": "Rentang waktu yang dipilih tidak valid",
|
||||
"endTimeMustAfterStartTime": "Waktu selesai harus setelah waktu mulai"
|
||||
}
|
||||
},
|
||||
"case": {
|
||||
@@ -120,6 +121,15 @@
|
||||
"queueingExport": "Antrean Ekspor...",
|
||||
"previewExport": "Pratinjau Ekspor",
|
||||
"useThisRange": "Gunakan Rentang Ini"
|
||||
},
|
||||
"stream": {
|
||||
"label": "Kualitas",
|
||||
"auto": "Otomatis",
|
||||
"main": "Asli",
|
||||
"sub": "Rendah",
|
||||
"autoDesc": "Menggunakan streaming utama dan beralih ke sub-stream berkualitas lebih rendah jika streaming utama tidak tersedia.",
|
||||
"mainDesc": "Mengekspor streaming utama dengan kualitas asli saja. Rentang waktu di mana streaming utama tidak tersedia akan terpotong.",
|
||||
"subDesc": "Mengekspor sub-stream berkualitas lebih rendah saja. Rentang waktu di mana sub-stream tidak tersedia akan terpotong."
|
||||
}
|
||||
},
|
||||
"search": {
|
||||
@@ -147,14 +157,15 @@
|
||||
"label": "Tampilkan statistik streaming",
|
||||
"desc": "Aktifkan opsi ini untuk menampilkan statistik streaming sebagai overlay pada tampilan kamera."
|
||||
},
|
||||
"debugView": "Tampilan Debug"
|
||||
"debugView": "Tampilan Debug",
|
||||
"label": "Streaming"
|
||||
},
|
||||
"recording": {
|
||||
"shareTimestamp": {
|
||||
"label": "Bagikan Cap Waktu",
|
||||
"title": "Bagikan Cap Waktu",
|
||||
"custom": "Cap Waktu Kustom",
|
||||
"button": "Bagikan URL Cap Waktu",
|
||||
"button": "Bagikan URL Stempel Waktu",
|
||||
"description": "Bagikan URL bertanda waktu sesuai posisi pemutar saat ini atau pilih tanda waktu kustom. Perlu dicatat bahwa ini bukan URL bagikan publik dan hanya dapat diakses oleh pengguna yang memiliki akses ke Frigate dan kamera ini.",
|
||||
"shareTitle": "Pratinjau Penunjuk Waktu Frigate : {{camera}}"
|
||||
},
|
||||
@@ -172,11 +183,18 @@
|
||||
"export": "Ekspor",
|
||||
"markAsReviewed": "Tandai sebagai sudah ditinjau",
|
||||
"markAsUnreviewed": "Tandai sebagai belum ditinjau",
|
||||
"deleteNow": "Hapus Sekarang"
|
||||
"deleteNow": "Hapus Sekarang",
|
||||
"generateDescription": "Buat deskripsi"
|
||||
},
|
||||
"genaiDescription": {
|
||||
"toast": {
|
||||
"success": "Deskripsi AI Generatif telah diminta untuk item tinjauan ini.",
|
||||
"error": "Gagal meminta deskripsi: {{error}}"
|
||||
}
|
||||
}
|
||||
},
|
||||
"imagePicker": {
|
||||
"selectImage": "Pilih gambar mini objek yang dilacak.",
|
||||
"selectImage": "Pilih miniatur objek yang dilacak",
|
||||
"unknownLabel": "Gambar Pemicu Tersimpan",
|
||||
"search": {
|
||||
"placeholder": "Cari berdasarkan label atau sub-label..."
|
||||
|
||||
@@ -51,7 +51,8 @@
|
||||
"hasSnapshot": "Memiliki Cuplikan",
|
||||
"hasVideoClip": "Memiliki Klip Video",
|
||||
"submittedToFrigatePlus": {
|
||||
"label": "Dikirim ke Frigate+"
|
||||
"label": "Dikirim ke Frigate+",
|
||||
"tips": "Anda harus menyaring objek terlacak yang memiliki cuplikan (snapshot) terlebih dahulu.<br /><br />Objek terlacak tanpa cuplikan tidak dapat dikirimkan ke Frigate+."
|
||||
}
|
||||
},
|
||||
"cameras": {
|
||||
@@ -81,8 +82,59 @@
|
||||
"settings": {
|
||||
"title": "Pengaturan",
|
||||
"defaultView": {
|
||||
"title": "Tampilan Default"
|
||||
"title": "Tampilan Default",
|
||||
"desc": "Bila tidak ada filter yang dipilih, tampilkan ringkasan objek teracak terbaru untuk setiap label, atau tampilkan kisi tanpa filter.",
|
||||
"summary": "Ringkasan",
|
||||
"unfilteredGrid": "Kisi Tanpa Filter"
|
||||
},
|
||||
"gridColumns": {
|
||||
"title": "Kolom Kisi",
|
||||
"desc": "Pilih jumlah kolom pada tampilan kisi."
|
||||
},
|
||||
"searchSource": {
|
||||
"label": "Sumber Pencarian",
|
||||
"desc": "Pilih apakah ingin mencari miniatur atau deskripsi dari objek yang dilacak.",
|
||||
"options": {
|
||||
"thumbnailImage": "Gambar Thumbnail",
|
||||
"description": "Deskripsi"
|
||||
}
|
||||
}
|
||||
},
|
||||
"date": {
|
||||
"selectDateBy": {
|
||||
"label": "Pilih tanggal untuk memfilter"
|
||||
}
|
||||
}
|
||||
},
|
||||
"logSettings": {
|
||||
"label": "Filter Log Level",
|
||||
"filterBySeverity": "Filter log berdasarkan tingkat keparahan",
|
||||
"loading": {
|
||||
"title": "Memuat",
|
||||
"desc": "Saat panel log digulir ke paling bawah, log baru akan otomatis di-stream seiring ditambahkan."
|
||||
},
|
||||
"disableLogStreaming": "Nonaktifkan streaming log",
|
||||
"allLogs": "Semua Log"
|
||||
},
|
||||
"trackedObjectDelete": {
|
||||
"title": "Konfirmasi Hapus",
|
||||
"desc": "Menghapus {{objectLength}} objek yang dilacak ini akan menghapus snapshot, embedding yang tersimpan, dan entri siklus hidup objek yang terkait. Rekaman video dari objek yang dilacak ini di tampilan History <em>TIDAK</em> akan dihapus.<br /><br />Apakah Anda yakin ingin melanjutkan?<br /><br />Tahan tombol <em>Shift</em> untuk melewati dialog ini di masa mendatang.",
|
||||
"toast": {
|
||||
"success": "Objek yang dilacak berhasil dihapus.",
|
||||
"error": "Gagal menghapus objek yang dilacak: {{errorMessage}}"
|
||||
}
|
||||
},
|
||||
"zoneMask": {
|
||||
"filterBy": "Filter berdasarkan zone mask"
|
||||
},
|
||||
"recognizedLicensePlates": {
|
||||
"title": "Plat Nomor yang Terkenali",
|
||||
"loadFailed": "Gagal memuat plat nomor yang dikenali.",
|
||||
"loading": "Memuat plat nomor yang dikenali…",
|
||||
"placeholder": "Ketik untuk mencari plat nomor…",
|
||||
"noLicensePlatesFound": "Plat nomor tidak ditemukan.",
|
||||
"selectPlatesFromList": "Pilih satu atau beberapa plat nomor dari daftar.",
|
||||
"selectAll": "Pilih semua",
|
||||
"clearAll": "Hapus semua"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,7 +3,8 @@
|
||||
"noPreviewFoundFor": "Tidak ada Pratinjau untuk {{cameraName}}",
|
||||
"submitFrigatePlus": {
|
||||
"submit": "Kirim",
|
||||
"title": "Kirim frame ini ke Frigate+?"
|
||||
"title": "Kirim frame ini ke Frigate+?",
|
||||
"previewError": "Gagal memuat pratinjau snapshot. Rekaman mungkin tidak tersedia saat ini."
|
||||
},
|
||||
"noRecordingsFoundForThisTime": "Tidak ada rekaman ditemukan pada waktu ini",
|
||||
"livePlayerRequiredIOSVersion": "iOS 17.1 atau yang lebih tinggi diperlukan untuk tipe siaran langsung ini.",
|
||||
@@ -20,14 +21,6 @@
|
||||
"title": "Bandwith:",
|
||||
"short": "Bandwith"
|
||||
},
|
||||
"latency": {
|
||||
"title": "Latensi:",
|
||||
"value": "{{seconds}} detik",
|
||||
"short": {
|
||||
"title": "Latensi",
|
||||
"value": "{{seconds}} detik"
|
||||
}
|
||||
},
|
||||
"totalFrames": "Total Frame:",
|
||||
"droppedFrames": {
|
||||
"title": "Frame Terbuang:",
|
||||
@@ -36,7 +29,7 @@
|
||||
"value": "{{droppedFrames}} frame"
|
||||
}
|
||||
},
|
||||
"decodedFrames": "Decoded Frames:",
|
||||
"decodedFrames": "Bingkai yang Didekode:",
|
||||
"droppedFrameRate": "Frame Rate Terbuang:"
|
||||
},
|
||||
"toast": {
|
||||
@@ -44,7 +37,23 @@
|
||||
"submittedFrigatePlus": "Berhasil mengirim frame ke Frigate+"
|
||||
},
|
||||
"error": {
|
||||
"submitFrigatePlusFailed": "Gagal mengirim frame ke Frigate+"
|
||||
"submitFrigatePlusFailed": "Gagal mengirim frame ke Frigate+",
|
||||
"playRecordingsFailed": "Gagal memutar rekaman (galat {{code}}): {{message}}"
|
||||
}
|
||||
},
|
||||
"cameraOff": "Kamera mati",
|
||||
"quality": {
|
||||
"auto": "Otomatis",
|
||||
"autoLow": "Memutar kualitas rendah (bandwidth terbatas)",
|
||||
"autoLowCodec": "Memutar kualitas rendah (Versi asli tidak didukung oleh browser ini)",
|
||||
"autoLowSaveData": "Memutar kualitas rendah (penghemat data)",
|
||||
"main": "Asli",
|
||||
"sub": "Rendah",
|
||||
"notSupportedBrowser": "Tidak didukung oleh browser ini",
|
||||
"label": "Kualitas",
|
||||
"noAudio": "Tanpa suara",
|
||||
"audioRate": "Audio {{rate}} kHz",
|
||||
"audioCodecRate": "{{codec}} {{rate}} kHz",
|
||||
"noRecordings": "Tidak ada rekaman dalam rentang waktu ini"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,36 +17,114 @@
|
||||
},
|
||||
"filters": {
|
||||
"threshold": {
|
||||
"label": "Keyakinan-Suara Minimum"
|
||||
}
|
||||
"label": "Keyakinan-Suara Minimum",
|
||||
"description": "Ambang batas keyakinan minimum agar peristiwa audio dapat dihitung."
|
||||
},
|
||||
"label": "Filter audio",
|
||||
"description": "Pengaturan filter per-tipe-audio seperti ambang batas keyakinan yang digunakan untuk mengurangi hasil positif palsu."
|
||||
},
|
||||
"min_volume": {
|
||||
"label": "Volume-Suara Minimum"
|
||||
"label": "Volume-Suara Minimum",
|
||||
"description": "Ambang batas volume RMS minimum yang diperlukan untuk menjalankan deteksi audio; nilai yang lebih rendah meningkatkan sensitivitas (misalnya, 200 tinggi, 500 sedang, 1000 rendah)."
|
||||
},
|
||||
"max_not_heard": {
|
||||
"label": "Waktu habis berakhir",
|
||||
"description": "Jumlah detik tanpa tipe audio yang dikonfigurasi sebelum peristiwa audio diakhiri."
|
||||
},
|
||||
"listen": {
|
||||
"label": "Tipe pendengaran",
|
||||
"description": "Daftar tipe peristiwa audio yang akan dideteksi (sebagai contoh: gonggongan, alarm_kebakaran, ucapan, teriakan)."
|
||||
},
|
||||
"labelmap": {
|
||||
"label": "Kustomisasi peta label audio",
|
||||
"description": "Entri penimpaan atau pemetaan ulang untuk digabungkan ke dalam peta label audio standar."
|
||||
},
|
||||
"enabled_in_config": {
|
||||
"label": "Status audio asli",
|
||||
"description": "Menunjukkan apakah deteksi audio pada awalnya diaktifkan dalam berkas konfigurasi statis."
|
||||
},
|
||||
"num_threads": {
|
||||
"label": "Utas deteksi",
|
||||
"description": "Jumlah utas yang digunakan untuk pemrosesan deteksi audio."
|
||||
}
|
||||
},
|
||||
"audio_transcription": {
|
||||
"label": "Transkripsi Suara",
|
||||
"enabled": {
|
||||
"label": "Nyalakan Transkripsi"
|
||||
"label": "Nyalakan Transkripsi",
|
||||
"description": "Aktifkan atau nonaktifkan transkripsi peristiwa audio yang dipicu secara manual."
|
||||
},
|
||||
"live_enabled": {
|
||||
"label": "Transkripsi Langsung (Live)"
|
||||
"label": "Transkripsi Langsung (Live)",
|
||||
"description": "Aktifkan streaming transkripsi langsung untuk audio saat diterima."
|
||||
},
|
||||
"description": "Pengaturan untuk transkripsi audio langsung dan ucapan yang digunakan untuk peristiwa dan teks langsung.",
|
||||
"enabled_in_config": {
|
||||
"label": "Status transkripsi asli"
|
||||
}
|
||||
},
|
||||
"detect": {
|
||||
"label": "Deteksi Objek",
|
||||
"enabled": {
|
||||
"label": "Nyalakan Deteksi Objek"
|
||||
"label": "Nyalakan Deteksi Objek",
|
||||
"description": "Aktifkan atau nonaktifkan deteksi objek untuk kamera ini."
|
||||
},
|
||||
"stationary": {
|
||||
"classifier": {
|
||||
"label": "Nyalakan Klasifikasi-Visual",
|
||||
"description": "Menggunakan pengklasifikasi visual untuk membedakan objek-objek diam (benar-benar tidak bergerak), meskipun bounding-box kurang stabil atau bergetar (jitter)."
|
||||
},
|
||||
"label": "Konfigurasi objek diam",
|
||||
"description": "Pengaturan untuk mendeteksi dan mengelola objek yang tetap diam selama jangka waktu tertentu.",
|
||||
"interval": {
|
||||
"label": "Interval objek diam",
|
||||
"description": "Seberapa sering (dalam bingkai) untuk menjalankan pemeriksaan deteksi guna mengonfirmasi objek yang diam."
|
||||
},
|
||||
"threshold": {
|
||||
"label": "Ambang batas objek diam",
|
||||
"description": "Jumlah bingkai tanpa perubahan posisi yang diperlukan untuk menandai suatu objek sebagai objek diam."
|
||||
},
|
||||
"max_frames": {
|
||||
"label": "Maksimum bingkai",
|
||||
"description": "Membatasi berapa lama objek diam dilacak sebelum dibuang.",
|
||||
"default": {
|
||||
"label": "Maksimum bingkai bawaan (*default*)",
|
||||
"description": "Jumlah maksimum bingkai bawaan (*default*) untuk melacak objek diam sebelum dihentikan."
|
||||
},
|
||||
"objects": {
|
||||
"label": "Maksimum bingkai objek",
|
||||
"description": "Pengecualian (*override*) per-objek untuk maksimum bingkai guna melacak objek diam."
|
||||
}
|
||||
}
|
||||
},
|
||||
"fps": {
|
||||
"label": "Kecepatan (FPS) Deteksi",
|
||||
"description": "Kecepatan yang ditargetkan untuk menjalankan Deteksi Objek, dalam satuan frame per second (FPS); nilai lebih rendah mengurangi intensitas proses dan dapat meringangkan beban kerja CPU. Nilai 5 direkomendasikan, sedangakan nilai 10 dianggap sangat tinggi dan hanya digunakan untuk pelacakan (tracking) benda yang bergerak dengan benar-benar cepat."
|
||||
},
|
||||
"description": "Pengaturan untuk peran deteksi/detect yang digunakan untuk menjalankan deteksi objek dan menginisialisasi pelacak.",
|
||||
"height": {
|
||||
"label": "Tinggi deteksi",
|
||||
"description": "Tinggi (piksel) bingkai yang digunakan untuk alur deteksi; biarkan kosong untuk menggunakan resolusi alur asli."
|
||||
},
|
||||
"width": {
|
||||
"label": "Lebar deteksi",
|
||||
"description": "Lebar (piksel) bingkai yang digunakan untuk alur deteksi; biarkan kosong untuk menggunakan resolusi alur asli."
|
||||
},
|
||||
"scene": {
|
||||
"label": "Deteksi adegan",
|
||||
"description": "Lingkungan yang dilihat oleh kamera ini, digunakan untuk memilih mana dari model terkonfigurasi yang berjalan padanya. Kamera yang dibiarkan pada 'semua' akan menjalankan model yang dikonfigurasi dengan adegan 'semua'."
|
||||
},
|
||||
"min_initialized": {
|
||||
"label": "Jumlah minimum bingkai inisialisasi",
|
||||
"description": "Jumlah *detection hit* berturut-turut yang diperlukan sebelum membuat objek yang dilacak. Tingkatkan untuk mengurangi inisialisasi palsu. Nilai bawaan (*default*) adalah fps dibagi 2."
|
||||
},
|
||||
"max_disappeared": {
|
||||
"label": "Jumlah maksimum bingkai yang hilang",
|
||||
"description": "Jumlah bingkai tanpa deteksi sebelum objek yang dilacak dianggap hilang."
|
||||
},
|
||||
"annotation_offset": {
|
||||
"label": "Persetan anotasi (*annotation offset*)",
|
||||
"description": "Milisikron (milidetik) untuk menggeser anotasi deteksi agar kotak pembatas (*bounding box*) pada garis waktu lebih sejajar dengan rekaman; dapat bernilai positif atau negatif."
|
||||
}
|
||||
},
|
||||
"enabled": {
|
||||
@@ -57,6 +135,176 @@
|
||||
"enabled": {
|
||||
"description": "Nyalakan atau matikan fitur Penglihatan Atas (Birdseye View).",
|
||||
"label": "Nyalakan Birdseye"
|
||||
},
|
||||
"label": "Pandangan mata burung",
|
||||
"description": "Pengaturan untuk tampilan komposit Birdseye yang menggabungkan beberapa umpan kamera ke dalam satu tata letak.",
|
||||
"modes": {
|
||||
"label": "Tipe aktivitas",
|
||||
"description": "Tipe aktivitas yang mencakup kamera dalam pandangan Birdseye."
|
||||
},
|
||||
"order": {
|
||||
"label": "Posisi",
|
||||
"description": "Posisi numerik yang mengatur urutan kamera dalam tata letak Birdseye."
|
||||
}
|
||||
},
|
||||
"face_recognition": {
|
||||
"label": "Pengenalan wajah (*face recognition*)",
|
||||
"description": "Pengaturan untuk deteksi dan pengenalan wajah pada kamera ini.",
|
||||
"enabled": {
|
||||
"label": "Aktifkan pengenalan wajah (*enable face recognition*)",
|
||||
"description": "Mengaktifkan atau mematikan pengenalan wajah."
|
||||
},
|
||||
"min_area": {
|
||||
"label": "Area wajah minimum",
|
||||
"description": "Luas minimum (dalam piksel) dari kotak wajah yang terdeteksi yang diperlukan untuk mencoba pengenalan."
|
||||
}
|
||||
},
|
||||
"ffmpeg": {
|
||||
"label": "Stream (FFmpeg)",
|
||||
"description": "Input stream kamera dan opsi FFmpeg, termasuk path binary, parameter, hwaccel, dan parameter output per-role.",
|
||||
"path": {
|
||||
"label": "Path FFmpeg",
|
||||
"description": "Path ke binary FFmpeg yang digunakan atau alias versi (\"7.0\" or \"8.0\")."
|
||||
},
|
||||
"global_args": {
|
||||
"label": "Parameter global FFmpeg",
|
||||
"description": "Parameter global yang dikirim ke proses FFmpeg."
|
||||
},
|
||||
"hwaccel_args": {
|
||||
"label": "Parameter akselerasi hardware",
|
||||
"description": "Parameter akselerasi hardware untuk FFmpeg. Preset khusus provider direkomendasikan."
|
||||
},
|
||||
"input_args": {
|
||||
"label": "Parameter input",
|
||||
"description": "Parameter input yang diterapkan ke stream input FFmpeg."
|
||||
},
|
||||
"output_args": {
|
||||
"label": "Parameter output",
|
||||
"description": "Parameter output default yang digunakan untuk berbagai role FFmpeg seperti detect dan record.",
|
||||
"detect": {
|
||||
"label": "Parameter output detect",
|
||||
"description": "Parameter output default untuk stream role detect."
|
||||
},
|
||||
"record": {
|
||||
"label": "Parameter output record",
|
||||
"description": "Parameter output default untuk stream role record."
|
||||
},
|
||||
"record_sub": {
|
||||
"label": "Parameter output record sub stream",
|
||||
"description": "Parameter output untuk stream peran record_sub. Parameter output record akan digunakan jika opsi ini tidak diatur."
|
||||
}
|
||||
},
|
||||
"retry_interval": {
|
||||
"label": "Waktu coba ulang FFmpeg",
|
||||
"description": "Jumlah detik untuk menunggu sebelum mencoba menghubungkan ulang stream kamera setelah gagal. Default adalah 10."
|
||||
},
|
||||
"apple_compatibility": {
|
||||
"label": "Kompatibilitas Apple",
|
||||
"description": "Aktifkan penandaan HEVC untuk kompatibilitas player Apple yang lebih baik saat merekam H.265."
|
||||
},
|
||||
"gpu": {
|
||||
"label": "Index GPU",
|
||||
"description": "Index GPU default yang digunakan untuk akselerasi hardware jika tersedia."
|
||||
},
|
||||
"inputs": {
|
||||
"label": "Input kamera",
|
||||
"description": "Daftar definisi stream input (path dan peran) untuk kamera ini.",
|
||||
"path": {
|
||||
"label": "Path input",
|
||||
"description": "URL atau path stream input kamera."
|
||||
},
|
||||
"roles": {
|
||||
"label": "Peran input",
|
||||
"description": "Peran untuk stream input ini."
|
||||
},
|
||||
"global_args": {
|
||||
"label": "Parameter global FFmpeg",
|
||||
"description": "Parameter global FFmpeg untuk stream input ini."
|
||||
},
|
||||
"hwaccel_args": {
|
||||
"label": "Argument akselerasi hardware",
|
||||
"description": "Parameter akselerasi hardware untuk stream input ini."
|
||||
},
|
||||
"input_args": {
|
||||
"label": "Parameter input",
|
||||
"description": "Parameter input khusus untuk stream ini."
|
||||
}
|
||||
}
|
||||
},
|
||||
"live": {
|
||||
"label": "Pemutaran langsung",
|
||||
"description": "Pengaturan yang digunakan oleh Web UI untuk mengontrol pemilihan, resolusi, dan kualitas live stream.",
|
||||
"streams": {
|
||||
"label": "Nama stream langsung",
|
||||
"description": "Pemetaan nama stream terkonfigurasi ke nama restream/go2rtc yang digunakan untuk pemutaran langsung."
|
||||
},
|
||||
"height": {
|
||||
"label": "Tinggi pemutaran langsung",
|
||||
"description": "Tinggi (piksel) untuk merender live stream jsmpeg di Web UI; harus <= tinggi stream detect."
|
||||
},
|
||||
"quality": {
|
||||
"label": "Kualitas pemutaran langsung",
|
||||
"description": "Kualitas encoding untuk stream jsmpeg (1 tertinggi, 31 terendah)."
|
||||
}
|
||||
},
|
||||
"lpr": {
|
||||
"label": "Pengenalan Plat Nomor",
|
||||
"description": "Pengaturan pengenalan plat nomor termasuk ambang batas deteksi, format, dan plat yang dikenal.",
|
||||
"enabled": {
|
||||
"label": "Aktifkan LPR",
|
||||
"description": "Aktifkan atau nonaktifkan LPR pada kamera ini."
|
||||
},
|
||||
"expire_time": {
|
||||
"label": "Waktu kadaluarsa dalam detik",
|
||||
"description": "Waktu dalam detik setelah plat yang tidak terlihat kadaluarsa dari pelacak (hanya untuk kamera LPR khusus)."
|
||||
},
|
||||
"min_area": {
|
||||
"label": "Luas area plat minimum",
|
||||
"description": "Luas area plat minimum (piksel) yang diperlukan untuk mencoba pengenalan."
|
||||
},
|
||||
"enhancement": {
|
||||
"label": "Level peningkatan",
|
||||
"description": "Tingkat peningkatan (0–10) yang diterapkan pada potongan gambar plat sebelum OCR. Nilai yang lebih tinggi tidak selalu memberikan hasil yang lebih baik; level di atas 5 umumnya hanya efektif untuk plat di malam hari dan sebaiknya digunakan secara hati-hati."
|
||||
}
|
||||
},
|
||||
"motion": {
|
||||
"label": "Deteksi gerakan",
|
||||
"description": "Pengaturan deteksi gerakan bawaan untuk kamera ini.",
|
||||
"enabled": {
|
||||
"label": "Aktifkan deteksi gerakan",
|
||||
"description": "Aktifkan atau nonaktifkan deteksi gerakan untuk kamera ini."
|
||||
},
|
||||
"threshold": {
|
||||
"label": "Ambang batas gerakan",
|
||||
"description": "Ambang batas perbedaan piksel yang digunakan oleh detektor gerakan; nilai yang lebih tinggi akan mengurangi sensitivitas (rentang 1–255)."
|
||||
},
|
||||
"lightning_threshold": {
|
||||
"label": "Ambang batas pencahayaan",
|
||||
"description": "Ambang batas untuk mendeteksi dan mengabaikan lonjakan pencahayaan singkat (nilai lebih rendah berarti lebih sensitif, rentang antara 0,3 hingga 1,0). Hal ini tidak menghentikan deteksi gerakan secara total, melainkan hanya membuat detektor berhenti menganalisis bingkai (frame) tambahan setelah ambang batas terlampaui. Rekaman berbasis gerakan akan tetap dibuat selama peristiwa ini terjadi."
|
||||
},
|
||||
"skip_motion_threshold": {
|
||||
"label": "Lewati ambang batas gerakan",
|
||||
"description": "Jika diatur ke nilai antara 0.0 dan 1.0, dan perubahan dalam satu bingkai (frame) melebihi fraksi ini, detektor tidak akan menampilkan kotak gerakan dan langsung melakukan kalibrasi ulang. Hal ini dapat menghemat CPU serta mengurangi hasil positif palsu saat terjadi petir, badai, dll., namun berisiko melewatkan kejadian nyata seperti kamera PTZ yang memantau objek secara otomatis. Pilihan ini adalah kompromi antara kehilangan beberapa megabita rekaman versus memeriksa beberapa klip pendek. Biarkan kosong (None) untuk menonaktifkan fitur ini."
|
||||
},
|
||||
"improve_contrast": {
|
||||
"label": "Tingkatkan kontras",
|
||||
"description": "Terapkan peningkatan kontras pada bingkai (frame) sebelum analisis gerakan untuk membantu proses deteksi."
|
||||
},
|
||||
"contour_area": {
|
||||
"label": "Area kontur",
|
||||
"description": "Area kontur minimum dalam piksel yang diperlukan agar kontur gerakan dapat terhitung."
|
||||
},
|
||||
"delta_alpha": {
|
||||
"label": "motion.delta_alpha.label",
|
||||
"description": "Faktor pembauran alfa (*alpha blending*) yang digunakan dalam komparasi bingkai (*frame differencing*) untuk kalkulasi gerakan."
|
||||
},
|
||||
"frame_alpha": {
|
||||
"label": "Frame alfa",
|
||||
"description": "Nilai alfa yang digunakan saat membaurkan bingkai (*frame blending*) untuk pra-pemrosesan gerakan."
|
||||
},
|
||||
"frame_height": {
|
||||
"label": "Tinggi bingkai",
|
||||
"description": "Tinggi dalam piksel untuk mengubah skala bingkai (*frame*) saat menghitung gerakan."
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,18 +9,44 @@
|
||||
},
|
||||
"filters": {
|
||||
"threshold": {
|
||||
"label": "Keyakinan-Suara Minimum"
|
||||
}
|
||||
"label": "Keyakinan-Suara Minimum",
|
||||
"description": "Ambang batas keyakinan minimum agar peristiwa audio dapat dihitung."
|
||||
},
|
||||
"label": "Filter audio",
|
||||
"description": "Pengaturan filter per-tipe-audio seperti ambang batas keyakinan yang digunakan untuk mengurangi hasil positif palsu."
|
||||
},
|
||||
"min_volume": {
|
||||
"label": "Volume-Suara Minimum"
|
||||
"label": "Volume-Suara Minimum",
|
||||
"description": "Ambang batas volume RMS minimum yang diperlukan untuk menjalankan deteksi audio; nilai yang lebih rendah meningkatkan sensitivitas (misalnya, 200 tinggi, 500 sedang, 1000 rendah)."
|
||||
},
|
||||
"max_not_heard": {
|
||||
"label": "Waktu habis berakhir",
|
||||
"description": "Jumlah detik tanpa tipe audio yang dikonfigurasi sebelum peristiwa audio diakhiri."
|
||||
},
|
||||
"listen": {
|
||||
"label": "Tipe pendengaran",
|
||||
"description": "Daftar tipe peristiwa audio yang akan dideteksi (sebagai contoh: gonggongan, alarm_kebakaran, ucapan, teriakan)."
|
||||
},
|
||||
"labelmap": {
|
||||
"label": "Kustomisasi peta label audio",
|
||||
"description": "Entri penimpaan atau pemetaan ulang untuk digabungkan ke dalam peta label audio standar."
|
||||
},
|
||||
"enabled_in_config": {
|
||||
"label": "Status audio asli",
|
||||
"description": "Menunjukkan apakah deteksi audio pada awalnya diaktifkan dalam berkas konfigurasi statis."
|
||||
},
|
||||
"num_threads": {
|
||||
"label": "Utas deteksi",
|
||||
"description": "Jumlah utas yang digunakan untuk pemrosesan deteksi audio."
|
||||
}
|
||||
},
|
||||
"audio_transcription": {
|
||||
"label": "Transkripsi Suara",
|
||||
"live_enabled": {
|
||||
"label": "Transkripsi Langsung (Live)"
|
||||
}
|
||||
"label": "Transkripsi Langsung (Live)",
|
||||
"description": "Aktifkan streaming transkripsi langsung untuk audio saat diterima."
|
||||
},
|
||||
"description": "Pengaturan untuk transkripsi audio langsung dan ucapan yang digunakan untuk peristiwa dan teks langsung."
|
||||
},
|
||||
"detect": {
|
||||
"label": "Deteksi Objek",
|
||||
@@ -31,17 +57,226 @@
|
||||
"classifier": {
|
||||
"label": "Nyalakan Klasifikasi-Visual",
|
||||
"description": "Menggunakan pengklasifikasi visual untuk membedakan objek-objek diam (benar-benar tidak bergerak), meskipun bounding-box kurang stabil atau bergetar (jitter)."
|
||||
},
|
||||
"label": "Konfigurasi objek diam",
|
||||
"description": "Pengaturan untuk mendeteksi dan mengelola objek yang tetap diam selama jangka waktu tertentu.",
|
||||
"interval": {
|
||||
"label": "Interval objek diam",
|
||||
"description": "Seberapa sering (dalam bingkai) untuk menjalankan pemeriksaan deteksi guna mengonfirmasi objek yang diam."
|
||||
},
|
||||
"threshold": {
|
||||
"label": "Ambang batas objek diam",
|
||||
"description": "Jumlah bingkai tanpa perubahan posisi yang diperlukan untuk menandai suatu objek sebagai objek diam."
|
||||
},
|
||||
"max_frames": {
|
||||
"label": "Maksimum bingkai",
|
||||
"description": "Membatasi berapa lama objek diam dilacak sebelum dibuang.",
|
||||
"default": {
|
||||
"label": "Maksimum bingkai bawaan (*default*)",
|
||||
"description": "Jumlah maksimum bingkai bawaan (*default*) untuk melacak objek diam sebelum dihentikan."
|
||||
},
|
||||
"objects": {
|
||||
"label": "Maksimum bingkai objek",
|
||||
"description": "Pengecualian (*override*) per-objek untuk maksimum bingkai guna melacak objek diam."
|
||||
}
|
||||
}
|
||||
},
|
||||
"fps": {
|
||||
"label": "Kecepatan (FPS) Deteksi",
|
||||
"description": "Kecepatan yang ditargetkan untuk menjalankan Deteksi Objek, dalam satuan frame per second (FPS); nilai lebih rendah mengurangi intensitas proses dan dapat meringangkan beban kerja CPU. Nilai 5 direkomendasikan, sedangakan nilai 10 dianggap sangat tinggi dan hanya digunakan untuk pelacakan (tracking) benda yang bergerak dengan benar-benar cepat."
|
||||
},
|
||||
"description": "Pengaturan untuk peran deteksi/detect yang digunakan untuk menjalankan deteksi objek dan menginisialisasi pelacak.",
|
||||
"height": {
|
||||
"label": "Tinggi deteksi",
|
||||
"description": "Tinggi (piksel) bingkai yang digunakan untuk alur deteksi; biarkan kosong untuk menggunakan resolusi alur asli."
|
||||
},
|
||||
"width": {
|
||||
"label": "Lebar deteksi",
|
||||
"description": "Lebar (piksel) bingkai yang digunakan untuk alur deteksi; biarkan kosong untuk menggunakan resolusi alur asli."
|
||||
},
|
||||
"scene": {
|
||||
"label": "Deteksi adegan",
|
||||
"description": "Lingkungan yang dilihat oleh kamera ini, digunakan untuk memilih mana dari model terkonfigurasi yang berjalan padanya. Kamera yang dibiarkan pada 'semua' akan menjalankan model yang dikonfigurasi dengan adegan 'semua'."
|
||||
},
|
||||
"min_initialized": {
|
||||
"label": "Jumlah minimum bingkai inisialisasi",
|
||||
"description": "Jumlah *detection hit* berturut-turut yang diperlukan sebelum membuat objek yang dilacak. Tingkatkan untuk mengurangi inisialisasi palsu. Nilai bawaan (*default*) adalah fps dibagi 2."
|
||||
},
|
||||
"max_disappeared": {
|
||||
"label": "Jumlah maksimum bingkai yang hilang",
|
||||
"description": "Jumlah bingkai tanpa deteksi sebelum objek yang dilacak dianggap hilang."
|
||||
},
|
||||
"annotation_offset": {
|
||||
"label": "Persetan anotasi (*annotation offset*)",
|
||||
"description": "Milisikron (milidetik) untuk menggeser anotasi deteksi agar kotak pembatas (*bounding box*) pada garis waktu lebih sejajar dengan rekaman; dapat bernilai positif atau negatif."
|
||||
}
|
||||
},
|
||||
"birdseye": {
|
||||
"enabled": {
|
||||
"description": "Nyalakan atau matikan fitur Penglihatan Atas (Birdseye View).",
|
||||
"label": "Nyalakan Birdseye"
|
||||
},
|
||||
"label": "Pandangan mata burung",
|
||||
"description": "Pengaturan untuk tampilan komposit Birdseye yang menggabungkan beberapa umpan kamera ke dalam satu tata letak.",
|
||||
"modes": {
|
||||
"label": "Tipe aktivitas",
|
||||
"description": "Tipe aktivitas yang mencakup kamera dalam pandangan Birdseye."
|
||||
},
|
||||
"order": {
|
||||
"label": "Posisi",
|
||||
"description": "Posisi numerik yang mengatur urutan kamera dalam tata letak Birdseye."
|
||||
}
|
||||
},
|
||||
"face_recognition": {
|
||||
"label": "Pengenalan wajah (*face recognition*)",
|
||||
"enabled": {
|
||||
"label": "Aktifkan pengenalan wajah (*enable face recognition*)"
|
||||
},
|
||||
"min_area": {
|
||||
"label": "Area wajah minimum",
|
||||
"description": "Luas minimum (dalam piksel) dari kotak wajah yang terdeteksi yang diperlukan untuk mencoba pengenalan."
|
||||
}
|
||||
},
|
||||
"ffmpeg": {
|
||||
"path": {
|
||||
"label": "Path FFmpeg",
|
||||
"description": "Path ke binary FFmpeg yang digunakan atau alias versi (\"7.0\" or \"8.0\")."
|
||||
},
|
||||
"global_args": {
|
||||
"label": "Parameter global FFmpeg",
|
||||
"description": "Parameter global yang dikirim ke proses FFmpeg."
|
||||
},
|
||||
"hwaccel_args": {
|
||||
"label": "Parameter akselerasi hardware",
|
||||
"description": "Parameter akselerasi hardware untuk FFmpeg. Preset khusus provider direkomendasikan."
|
||||
},
|
||||
"input_args": {
|
||||
"label": "Parameter input",
|
||||
"description": "Parameter input yang diterapkan ke stream input FFmpeg."
|
||||
},
|
||||
"output_args": {
|
||||
"label": "Parameter output",
|
||||
"description": "Parameter output default yang digunakan untuk berbagai role FFmpeg seperti detect dan record.",
|
||||
"detect": {
|
||||
"label": "Parameter output detect",
|
||||
"description": "Parameter output default untuk stream role detect."
|
||||
},
|
||||
"record": {
|
||||
"label": "Parameter output record",
|
||||
"description": "Parameter output default untuk stream role record."
|
||||
},
|
||||
"record_sub": {
|
||||
"label": "Parameter output record sub stream",
|
||||
"description": "Parameter output untuk stream peran record_sub. Parameter output record akan digunakan jika opsi ini tidak diatur."
|
||||
}
|
||||
},
|
||||
"retry_interval": {
|
||||
"label": "Waktu coba ulang FFmpeg",
|
||||
"description": "Jumlah detik untuk menunggu sebelum mencoba menghubungkan ulang stream kamera setelah gagal. Default adalah 10."
|
||||
},
|
||||
"apple_compatibility": {
|
||||
"label": "Kompatibilitas Apple",
|
||||
"description": "Aktifkan penandaan HEVC untuk kompatibilitas player Apple yang lebih baik saat merekam H.265."
|
||||
},
|
||||
"gpu": {
|
||||
"label": "Index GPU",
|
||||
"description": "Index GPU default yang digunakan untuk akselerasi hardware jika tersedia."
|
||||
},
|
||||
"inputs": {
|
||||
"label": "Input kamera",
|
||||
"description": "Daftar definisi stream input (path dan peran) untuk kamera ini.",
|
||||
"path": {
|
||||
"label": "Path input",
|
||||
"description": "URL atau path stream input kamera."
|
||||
},
|
||||
"roles": {
|
||||
"label": "Peran input",
|
||||
"description": "Peran untuk stream input ini."
|
||||
},
|
||||
"global_args": {
|
||||
"label": "Parameter global FFmpeg",
|
||||
"description": "Parameter global FFmpeg untuk stream input ini."
|
||||
},
|
||||
"hwaccel_args": {
|
||||
"label": "Argument akselerasi hardware",
|
||||
"description": "Parameter akselerasi hardware untuk stream input ini."
|
||||
},
|
||||
"input_args": {
|
||||
"label": "Parameter input",
|
||||
"description": "Parameter input khusus untuk stream ini."
|
||||
}
|
||||
}
|
||||
},
|
||||
"live": {
|
||||
"label": "Pemutaran langsung",
|
||||
"streams": {
|
||||
"label": "Nama stream langsung",
|
||||
"description": "Pemetaan nama stream terkonfigurasi ke nama restream/go2rtc yang digunakan untuk pemutaran langsung."
|
||||
},
|
||||
"height": {
|
||||
"label": "Tinggi pemutaran langsung",
|
||||
"description": "Tinggi (piksel) untuk merender live stream jsmpeg di Web UI; harus <= tinggi stream detect."
|
||||
},
|
||||
"quality": {
|
||||
"label": "Kualitas pemutaran langsung",
|
||||
"description": "Kualitas encoding untuk stream jsmpeg (1 tertinggi, 31 terendah)."
|
||||
}
|
||||
},
|
||||
"lpr": {
|
||||
"label": "Pengenalan Plat Nomor",
|
||||
"description": "Pengaturan pengenalan plat nomor termasuk ambang batas deteksi, format, dan plat yang dikenal.",
|
||||
"enabled": {
|
||||
"label": "Aktifkan LPR"
|
||||
},
|
||||
"expire_time": {
|
||||
"label": "Waktu kadaluarsa dalam detik",
|
||||
"description": "Waktu dalam detik setelah plat yang tidak terlihat kadaluarsa dari pelacak (hanya untuk kamera LPR khusus)."
|
||||
},
|
||||
"min_area": {
|
||||
"label": "Luas area plat minimum",
|
||||
"description": "Luas area plat minimum (piksel) yang diperlukan untuk mencoba pengenalan."
|
||||
},
|
||||
"enhancement": {
|
||||
"label": "Level peningkatan",
|
||||
"description": "Tingkat peningkatan (0–10) yang diterapkan pada potongan gambar plat sebelum OCR. Nilai yang lebih tinggi tidak selalu memberikan hasil yang lebih baik; level di atas 5 umumnya hanya efektif untuk plat di malam hari dan sebaiknya digunakan secara hati-hati."
|
||||
}
|
||||
},
|
||||
"motion": {
|
||||
"label": "Deteksi gerakan",
|
||||
"enabled": {
|
||||
"label": "Aktifkan deteksi gerakan"
|
||||
},
|
||||
"threshold": {
|
||||
"label": "Ambang batas gerakan",
|
||||
"description": "Ambang batas perbedaan piksel yang digunakan oleh detektor gerakan; nilai yang lebih tinggi akan mengurangi sensitivitas (rentang 1–255)."
|
||||
},
|
||||
"lightning_threshold": {
|
||||
"label": "Ambang batas pencahayaan",
|
||||
"description": "Ambang batas untuk mendeteksi dan mengabaikan lonjakan pencahayaan singkat (nilai lebih rendah berarti lebih sensitif, rentang antara 0,3 hingga 1,0). Hal ini tidak menghentikan deteksi gerakan secara total, melainkan hanya membuat detektor berhenti menganalisis bingkai (frame) tambahan setelah ambang batas terlampaui. Rekaman berbasis gerakan akan tetap dibuat selama peristiwa ini terjadi."
|
||||
},
|
||||
"skip_motion_threshold": {
|
||||
"label": "Lewati ambang batas gerakan",
|
||||
"description": "Jika diatur ke nilai antara 0.0 dan 1.0, dan perubahan dalam satu bingkai (frame) melebihi fraksi ini, detektor tidak akan menampilkan kotak gerakan dan langsung melakukan kalibrasi ulang. Hal ini dapat menghemat CPU serta mengurangi hasil positif palsu saat terjadi petir, badai, dll., namun berisiko melewatkan kejadian nyata seperti kamera PTZ yang memantau objek secara otomatis. Pilihan ini adalah kompromi antara kehilangan beberapa megabita rekaman versus memeriksa beberapa klip pendek. Biarkan kosong (None) untuk menonaktifkan fitur ini."
|
||||
},
|
||||
"improve_contrast": {
|
||||
"label": "Tingkatkan kontras",
|
||||
"description": "Terapkan peningkatan kontras pada bingkai (frame) sebelum analisis gerakan untuk membantu proses deteksi."
|
||||
},
|
||||
"contour_area": {
|
||||
"label": "Area kontur",
|
||||
"description": "Area kontur minimum dalam piksel yang diperlukan agar kontur gerakan dapat terhitung."
|
||||
},
|
||||
"delta_alpha": {
|
||||
"label": "motion.delta_alpha.label",
|
||||
"description": "Faktor pembauran alfa (*alpha blending*) yang digunakan dalam komparasi bingkai (*frame differencing*) untuk kalkulasi gerakan."
|
||||
},
|
||||
"frame_alpha": {
|
||||
"label": "Frame alfa",
|
||||
"description": "Nilai alfa yang digunakan saat membaurkan bingkai (*frame blending*) untuk pra-pemrosesan gerakan."
|
||||
},
|
||||
"frame_height": {
|
||||
"label": "Tinggi bingkai",
|
||||
"description": "Tinggi dalam piksel untuk mengubah skala bingkai (*frame*) saat menghitung gerakan."
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -165,8 +165,8 @@
|
||||
"configuration": "Configurazione",
|
||||
"languages": "Lingue",
|
||||
"appearance": "Aspetto",
|
||||
"systemMetrics": "Metriche di sistema",
|
||||
"systemLogs": "Registri di sistema",
|
||||
"systemMetrics": "Salute e metriche",
|
||||
"systemLogs": "Registri",
|
||||
"settings": "Impostazioni",
|
||||
"configurationEditor": "Editor di configurazione",
|
||||
"language": {
|
||||
|
||||
@@ -66,9 +66,9 @@
|
||||
"batchSuccess_other": "Avviate {{count}} esportazioni. Apertura del caso in corso.",
|
||||
"batchPartial": "Avviate {{successful}} esportazioni su un totale di {{total}}. Telecamere non riuscite: {{failedCameras}}",
|
||||
"batchFailed": "Impossibile avviare {{total}} esportazioni. Telecamere non riuscite: {{failedCameras}}",
|
||||
"batchQueuedSuccess_one": "1 esportazione in coda. Apertura del caso in corso.",
|
||||
"batchQueuedSuccess_many": "Sono in coda {{count}} esportazioni. Apertura del caso in corso.",
|
||||
"batchQueuedSuccess_other": "Sono in coda {{count}} esportazioni. Apertura del caso in corso.",
|
||||
"batchQueuedSuccess_one": "1 esportazione in coda.",
|
||||
"batchQueuedSuccess_many": "{{count}} esportazioni in coda.",
|
||||
"batchQueuedSuccess_other": "{{count}} esportazioni in coda.",
|
||||
"batchQueuedPartial": "In coda {{successful}} di {{total}} esportazioni. Telecamere non riuscite: {{failedCameras}}",
|
||||
"batchQueueFailed": "Impossibile mettere in coda {{total}} esportazioni. Telecamere non riuscite: {{failedCameras}}"
|
||||
},
|
||||
@@ -131,9 +131,9 @@
|
||||
"exportButton_other": "Esporta {{count}} revisioni",
|
||||
"exportingButton": "Esportazione...",
|
||||
"toast": {
|
||||
"started_one": "Avviata 1 esportazione. Apertura del caso in corso.",
|
||||
"started_many": "Avviate {{count}} esportazioni. Apertura del caso in corso.",
|
||||
"started_other": "Avviate {{count}} esportazioni. Apertura del caso in corso.",
|
||||
"started_one": "Avviata 1 esportazione.",
|
||||
"started_many": "Avviate {{count}} esportazioni.",
|
||||
"started_other": "Avviate {{count}} esportazioni.",
|
||||
"partial": "Avviate {{successful}} esportazioni su un totale di {{total}}. Fallite: {{failedItems}}",
|
||||
"failed": "Impossibile avviare {{total}} esportazioni. Errori: {{failedItems}}"
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user