Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Milkshiift authored Dec 20, 2023
1 parent 08a4ae6 commit 2e01153
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,11 @@
4. Run with `python main.py` (in the console)
5. Configure the settings
6. Set `debug` to `False` and run again
You can modify the `on_movement_detected()` function to change what happens when movement is detected
You can modify the `on_movement_detected()` function to change what happens when movement is detected

## How does it work?
Here is the algorithm:
1. Capture the image from a webcam
2. Downscale the image
3. Convert to hsv and remove brightness information
4. Compare the hues of the processed image to the previous frame's hues

0 comments on commit 2e01153

Please sign in to comment.