This is a software tool developed for diagnosing patients, specifically focusing on measuring stride length and step length to compare with Parkinson's disease patients. The tool utilizes sensor data from various sources and applies the trapezoidal rule to calculate the rotation covered by the patient's leg.
- Measures stride length and step length of patients
- Compares the results with Parkinson's disease patients
- Utilizes sensor data from accelerometer and gyroscope
- Applies the trapezoidal rule for integration
- Provides analysis and diagnosis based on the calculated measurements
To run this tool, you need the following software and packages:
- Android Studio
- Android SDK
- Java
The main algorithm used in this tool is the trapezoidal rule. It is employed to calculate the rotation covered by the patient's leg based on the sensor data collected from the accelerometer and gyroscope. The algorithm involves the following steps:
- Data Collection: The tool collects sensor data from the accelerometer and gyroscope sensors in the patient's device.
- Integration: The collected data is processed using the trapezoidal rule to integrate the angular velocity values over time.
- Step Detection: The tool detects steps using the integrated data by applying threshold-based algorithms.
- Stride and Step Length Calculation: Based on the detected steps, the tool calculates the stride length and step length using appropriate formulas.
- Comparison and Diagnosis: The calculated measurements are compared with the reference values for Parkinson's disease patients. The tool provides an analysis and diagnosis based on the comparison results.
To use this tool, follow these steps:
- Install Android Studio and the necessary dependencies.
- Open the project in Android Studio.
- Connect a compatible Android device to your computer.
- Build and deploy the application to the connected device.
- Launch the application on the device.
- Follow the on-screen instructions to collect sensor data and perform the diagnosis.
Contributions to this project are welcome. If you encounter any issues or have suggestions for improvements, please submit them as GitHub issues.