diff --git a/.cspell/frigate-dictionary.txt b/.cspell/frigate-dictionary.txt new file mode 100644 index 000000000..397584bd9 --- /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 file diff --git a/cspell.json b/cspell.json new file mode 100644 index 000000000..e325bbb69 --- /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.md index 31048db2e..a8903441e 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.md index 49fd121e9..0ff4c464f 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 discu For 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 drive mkdir -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.md index 18f39d4f1..fe00311ab 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 Setup diff --git a/docs/docs/troubleshooting/edgetpu.md b/docs/docs/troubleshooting/edgetpu.md index 5cac6e5af..2f0733058 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 driver Coral 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.py index dc9c6b9ec..426166193 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 frame avg_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.py index 99ff3a6fa..809ded174 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 scale known_aspects = [ (16, 9), (9, 16), diff --git a/frigate/ptz/onvif.py b/frigate/ptz/onvif.py index 4dbad973f..2b9f00b74 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 movement if ( self.config.cameras[camera_name].onvif.autotracking.zooming diff --git a/frigate/test/test_config.py b/frigate/test/test_config.py index 697edfe91..f5592be19 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.tsx index 9c33e208c..cf8ed3a45 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 {