This directory contains example scripts demonstrating the capabilities of PyEyesWeb analysis features.
smoothness.py- Movement smoothness analysis using SPARC and jerk metricsbilateral_symmetry.py- Left-right symmetry analysis for bilateral movementsequilibrium.py- Balance and postural stability evaluationsynchronization.py- Multi-signal synchronization and phase locking analysiscontraction_expansion.py- Body area expansion and contraction tracking
tsv_reader.py- Example of reading and processing TSV (Tab-Separated Values) files
Each script can be run independently from the project root:
python examples/smoothness.py
python examples/bilateral_symmetry.py
python examples/synchronization.py
# etc...- Python 3.x
- PyEyesWeb package installed
- Additional dependencies as specified in each script:
- OpenCV and MediaPipe for webcam examples (
smoothness.py,synchronization.py) - Matplotlib for visualization (
equilibrium.py)
- OpenCV and MediaPipe for webcam examples (
These examples demonstrate PyEyesWeb functionality using:
- Real-time webcam processing (where applicable)
- Simulated movement data
- Interactive visualizations
For automated testing with synthetic signals, see tests/feature_test_cli.py.