Skip to content

Commit 215341f

Browse files
committed
readme: update with parameters description
1 parent b1f824d commit 215341f

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,23 @@ These videos demonstrate how the model successfully and accurately recognizes hu
6060
- **Short Term**: Optimize the if-else-based model using a time-sliding window
6161
- **Long Term**: Integrate a time-series model (e.g., LSTM) for more accurate detection
6262

63+
## Fall Detect Logic
64+
The fall detection logic uses the following parameters:
65+
66+
| Parameter | Description |
67+
|------------------------|-------------|
68+
| `FPS` | Frames per second. Used to calculate time and velocity. |
69+
| `WINDOW_SIZE` | Number of frames in each analysis window. Defines how many frames are used to evaluate pose changes. |
70+
| `V_THRESH` | Threshold for center-of-mass velocity. Movements faster than this are considered potentially abnormal. |
71+
| `DY_THRESH` | Threshold for vertical (Y-axis) displacement of the center of mass. |
72+
| `ASPECT_RATIO_THRESH` | Threshold for change in aspect ratio (width/height) of the body. Indicates whether the body has become horizontal. |
73+
74+
These values can be configured via a `.env` file.
75+
If not provided, default values defined in the code will be used.
76+
77+
> **Note:** This logic is still under development and subject to change as part of our ongoing implementation and validation process.
78+
79+
6380
## Possible Future Improvements
6481

6582
In order to alert human falls and save lives, the real-time system may be deployed and implemented in nursing homes, hospitals, and senior living facilities.

0 commit comments

Comments
 (0)