NVR with realtime local object detection for IP cameras
TypeScript aicameragoogle-coralhome-assistanthome-automationhomeautomationmqttnvrobject-detectionrealtimertsptensorflow
cspell fixes (#11447)
Meow6e39d55dd3c6
diff --git a/.cspell/frigate-dictionary.txt b/.cspell/frigate-dictionary.txtnew file mode 100644index 0000000000..397584bd9b--- /dev/null+++ b/.cspell/frigate-dictionary.txt@@ -0,0 +1,168 @@+rtmp+edgetpu+labelmap+rockchip+jetson+rocm+vaapi+CUDA+hwaccel+RTSP+Hikvision+Dahua+Amcrest+Reolink+Loryta+Beelink+Celeron+vaapi+blakeblackshear+workdir+onvif+autotracking+openvino+tflite+deepstack+codeproject+udev+tailscale+restream+restreaming+webrtc+ssdlite+mobilenet+mosquitto+datasheet+Jellyfin+Radeon+libva+Ubiquiti+Unifi+Tapo+Annke+autotracker+autotracked+variations+ONVIF+traefik+devcontainer+rootfs+ffprobe+autotrack+logpipe+imread+imwrite+imencode+imutils+thresholded+timelapse+ultrafast+sleeptime+radeontop+vainfo+tmpfs+homography+websockets+LIBAVFORMAT+NTSC+onnxruntime+fourcc+radeonsi+paho+imagestream+jsonify+cgroups+sysconf+memlimit+gpuload+nvml+setproctitle+psutil+Kalman+frontdoor+namedtuples+zeep+fflags+probesize+wallclock+rknn+socs+pydantic+shms+imdecode+colormap+webui+mse+jsmpeg+unreviewed+Chromecast+Swipeable+flac+scroller+cmdline+toggleable+bottombar+opencv+apexcharts+buildx+mqtt+rawvideo+defragment+Norfair+subclassing+yolo+tensorrt+blackshear+stylelint+HACS+homeassistant+hass+castable+mobiledet+framebuffer+mjpeg+substream+codeowner+noninteractive+restreamed+mountpoint+fstype+OWASP+iotop+letsencrypt+fullchain+lsusb+iostat+usermod+balena+passwordless+debconf+dpkg+poweroff+surveillance+qnap+homekit+colorspace+quantisation+skylake+Cuvid+foscam+onnx+numpy+protobuf+aarch+amdgpu+chipset+referer+mpegts+webp+authelia+authentik+unichip+rebranded+udevadm+automations+unraid+hideable+healthcheck+keepalive\ No newline at end of filediff --git a/cspell.json b/cspell.jsonnew file mode 100644index 0000000000..e325bbb69f--- /dev/null+++ b/cspell.json@@ -0,0 +1,21 @@+{+ "version": "0.2",+ "ignorePaths": [+ "Dockerfile",+ "Dockerfile.*",+ "CMakeLists.txt",+ "*.db",+ "node_modules",+ "__pycache__",+ "dist"+ ],+ "language": "en",+ "dictionaryDefinitions": [+ {+ "name": "frigate-dictionary",+ "path": "./.cspell/frigate-dictionary.txt",+ "addWords": true+ }+ ],+ "dictionaries": ["frigate-dictionary"]+}diff --git a/docs/docs/configuration/autotracking.md b/docs/docs/configuration/autotracking.mdindex 31048db2e6..a8903441ec 100644--- a/docs/docs/configuration/autotracking.md+++ b/docs/docs/configuration/autotracking.md@@ -159,7 +159,7 @@ This is often caused by the same reason as above - the `MoveStatus` ONVIF parame### I'm seeing this error in the logs: "Autotracker: motion estimator couldn't get transformations". What does this mean?-To maintain object tracking during PTZ moves, Frigate tracks the motion of your camera based on the details of the frame. If you are seeing this message, it could mean that your `zoom_factor` may be set too high, the scene around your detected object does not have enough details (like hard edges or color variatons), or your camera's shutter speed is too slow and motion blur is occurring. Try reducing `zoom_factor`, finding a way to alter the scene around your object, or changing your camera's shutter speed.+To maintain object tracking during PTZ moves, Frigate tracks the motion of your camera based on the details of the frame. If you are seeing this message, it could mean that your `zoom_factor` may be set too high, the scene around your detected object does not have enough details (like hard edges or color variations), or your camera's shutter speed is too slow and motion blur is occurring. Try reducing `zoom_factor`, finding a way to alter the scene around your object, or changing your camera's shutter speed.### Calibration seems to have completed, but the camera is not actually moving to track my object. Why?diff --git a/docs/docs/frigate/installation.md b/docs/docs/frigate/installation.mdindex 49fd121e9b..0ff4c464f9 100644--- a/docs/docs/frigate/installation.md+++ b/docs/docs/frigate/installation.md@@ -224,7 +224,7 @@ It is recommended to run Frigate in LXC for maximum performance. See [this discuFor details on running Frigate using ESXi, please see the instructions [here](https://williamlam.com/2023/05/frigate-nvr-with-coral-tpu-igpu-passthrough-using-esxi-on-intel-nuc.html).-If you're running Frigate on a rack mounted server and want to passthough the Google Coral, [read this.](https://github.com/blakeblackshear/frigate/issues/305)+If you're running Frigate on a rack mounted server and want to passthrough the Google Coral, [read this.](https://github.com/blakeblackshear/frigate/issues/305)## Synology NAS on DSM 7@@ -294,8 +294,8 @@ mkdir -p /share/Container/frigate/config# Copy the config file prepared in step 2 into the newly created config directory.cp path/to/your/config/file /share/Container/frigate/config# Create directory to host Frigate media files on QNAP file system.-# (if you have a surveilliance disk, create media directory on the surveilliance disk.-# Example command assumes share_vol2 is the surveilliance drive+# (if you have a surveillance disk, create media directory on the surveillance disk.+# Example command assumes share_vol2 is the surveillance drivemkdir -p /share/share_vol2/frigate/media# Create Frigate docker container. Replace shm-size value with the value from preparation step 3.# Also replace the time zone value for 'TZ' in the sample command.diff --git a/docs/docs/guides/ha_network_storage.md b/docs/docs/guides/ha_network_storage.mdindex 18f39d4f13..fe00311abe 100644--- a/docs/docs/guides/ha_network_storage.md+++ b/docs/docs/guides/ha_network_storage.md@@ -10,7 +10,7 @@ As of Home Assistant Core 2023.6, Network Mounted Storage is supported for addon### Prerequisites- HA Core 2023.6 or newer is installed-- Running HA OS 10.2 or newer OR Running Supervised with latest os-agent installed (this is required for superivsed install)+- Running HA OS 10.2 or newer OR Running Supervised with latest os-agent installed (this is required for supervised install)### Initial Setupdiff --git a/docs/docs/troubleshooting/edgetpu.md b/docs/docs/troubleshooting/edgetpu.mdindex 5cac6e5af8..2f0733058c 100644--- a/docs/docs/troubleshooting/edgetpu.md+++ b/docs/docs/troubleshooting/edgetpu.md@@ -43,6 +43,6 @@ The most common reason for the PCIe coral not being detected is that the driverCoral Dual EdgeTPU is one card with two identical TPU cores. Each core has it's own PCIe interface and motherboard needs to have two PCIe busses on the m.2 slot to make them both work.-E-key slot implemented to full m.2 electomechanical specification has two PCIe busses. Most motherboard manufacturers implement only one PCIe bus in m.2 E-key connector (this is why only one TPU is working). Some SBCs can have only USB bus on m.2 connector, ie none of TPUs will work.+E-key slot implemented to full m.2 electromechanical specification has two PCIe busses. Most motherboard manufacturers implement only one PCIe bus in m.2 E-key connector (this is why only one TPU is working). Some SBCs can have only USB bus on m.2 connector, ie none of TPUs will work.In this case it is recommended to use a Dual EdgeTPU Adapter [like the one from MagicBlueSmoke](https://github.com/magic-blue-smoke/Dual-Edge-TPU-Adapter)diff --git a/frigate/motion/frigate_motion.py b/frigate/motion/frigate_motion.pyindex dc9c6b9eca..4261661933 100644--- a/frigate/motion/frigate_motion.py+++ b/frigate/motion/frigate_motion.py@@ -87,7 +87,7 @@ class FrigateMotionDetector(MotionDetector):frameDelta, self.threshold.value, 255, cv2.THRESH_BINARY)[1]- # black out everything in the avg_delta where there isnt motion in the current frame+ # black out everything in the avg_delta where there isn't motion in the current frameavg_delta_image = cv2.convertScaleAbs(self.avg_delta)avg_delta_image = cv2.bitwise_and(avg_delta_image, current_thresh)diff --git a/frigate/output/birdseye.py b/frigate/output/birdseye.pyindex 99ff3a6fac..809ded1744 100644--- a/frigate/output/birdseye.py+++ b/frigate/output/birdseye.py@@ -28,7 +28,7 @@ logger = logging.getLogger(__name__)def get_standard_aspect_ratio(width: int, height: int) -> tuple[int, int]:"""Ensure that only standard aspect ratios are used."""- # it is imoprtant that all ratios have the same scale+ # it is important that all ratios have the same scaleknown_aspects = [(16, 9),(9, 16),diff --git a/frigate/ptz/onvif.py b/frigate/ptz/onvif.pyindex 4dbad973f3..2b9f00b747 100644--- a/frigate/ptz/onvif.py+++ b/frigate/ptz/onvif.py@@ -163,7 +163,7 @@ class OnvifController:logger.warning(f"Unable to get status from camera: {camera_name}: {e}")status = None- # autoracking relative panning/tilting needs a relative zoom value set to 0+ # autotracking relative panning/tilting needs a relative zoom value set to 0# if camera supports relative movementif (self.config.cameras[camera_name].onvif.autotracking.zoomingdiff --git a/frigate/test/test_config.py b/frigate/test/test_config.pyindex 697edfe916..f5592be191 100644--- a/frigate/test/test_config.py+++ b/frigate/test/test_config.py@@ -88,7 +88,7 @@ class TestConfig(unittest.TestCase):"type": "openvino",},},- # needs to be a file that will exist, doesnt matter what+ # needs to be a file that will exist, doesn't matter what"model": {"path": "/etc/hosts", "width": 512},}diff --git a/web/src/pages/Logs.tsx b/web/src/pages/Logs.tsxindex 9c33e208c8..cf8ed3a457 100644--- a/web/src/pages/Logs.tsx+++ b/web/src/pages/Logs.tsx@@ -221,7 +221,7 @@ function Logs() {copy(logs.join("\n"));toast.success(logRange.start == 0- ? "Coplied logs to clipboard"+ ? "Copied logs to clipboard": "Copied visible logs to clipboard",);} else {