You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+17Lines changed: 17 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -60,6 +60,23 @@ These videos demonstrate how the model successfully and accurately recognizes hu
60
60
-**Short Term**: Optimize the if-else-based model using a time-sliding window
61
61
-**Long Term**: Integrate a time-series model (e.g., LSTM) for more accurate detection
62
62
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
+
63
80
## Possible Future Improvements
64
81
65
82
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