Topic : Biomechanics of gait with image processing for classification of normal and abnormal gait.
Knowledge : Image processing, Computer vision, Machine learning, Disease or symptom about abnormal gait.
Tools : Python, OpenCV, Mediapipe, Numpy.
This project aims to investigate the possibility of abnormal gait in order to identify any anomalies in the body and also intends to study image processing.
(-) Using Mediapipe for detect landmarks of human bodies in an image or video.
(-) Using OpenCV to read data from image or video.
(-) Using Numpy for calculate math equations to determine risk of gait.
To use the Biomechanics of gait, follow these step :
Install python from version 3.9 onwards.
install libraries :
python3 -m pip install opencv-python mediapipe numpy
install my project :
git clone https://github.com/watcharapol28/Biomechanics-of-gait.git
To run the Biomechanics of gait, follow these step :
upload files gait videos that want to check in the folder Biomechanics-of-gait or in same the folder as BiomechanicsOfGait.py.
open folder :
cd Biomechanics-of-gait
2 choice with your videos you need to check
( - ) change your video file name you need to check to gait.mp4 in folder Dataset
( - ) change code in BiomechanicOfGait.py line 11 to your videos you need to check [File name].[File type] :
cap = cv2.VideoCapture("./Dataset/[File name].[File type]")
run :
python3 BiomechanicsOfGait.py
output :
Conclude gait abnormal - risk : [none / neck pain / limping / hip hike / no arm swing]
- Check some symptoms from abnormal gait
- Check risk for some symptoms from abnormal gait
- Risk for neck pain.
- Risk for limping gait.
- Risk for Hip hike.
- No arm swing.
- Must be viewed from the side only.
- Did not use AI for training or prediction.
- Quite a bit of relevant information or research.
- Datasets related to various diseases are quite rare.
- Use AI for train model or predict disease.
- Applied with accessories for greater accuracy.