Fixed TIP, line 63.

This commit is contained in:
K 2024-11-20 00:06:07 +05:30
parent 6090da7953
commit 9cb92acf10
Signed by: notkshitij
GPG Key ID: C5B8BC7530F8F43F

View File

@ -65,7 +65,8 @@ This project utilizes Raspberry Pi with Pi Camera to detect motion in real-time.
- Capture and compare two consecutive frames to detect motion using OpenCVs frame difference method. - Capture and compare two consecutive frames to detect motion using OpenCVs frame difference method.
- If motion is detected, the script will send a notification to the configured `ntfy.sh` topic (`motion-sensing` in this case by default). - If motion is detected, the script will send a notification to the configured `ntfy.sh` topic (`motion-sensing` in this case by default).
> [!TIP] You can customize the topic name in the `main.py` file by modifying the `ntfy_topic` variable. If you are using the local Docker instance for `ntfy.sh`, the script will use `localhost:80` by default. You can change that too by modifying the `rpi_ip` variable. > [!TIP]
> You can customize the topic name in the `main.py` file by modifying the `ntfy_topic` variable. If you are using the local Docker instance for `ntfy.sh`, the script will use `localhost:80` by default. You can change that too by modifying the `rpi_ip` variable.
## Customization ## Customization