Skip to content

Commit 4e62409

Browse files
Merge pull request #29 from InfoMusCP/reorganize-examples-structure
Reorganize examples folder structure with test_scripts and touchdesigner subfolders
2 parents ddeb0ab + 0aa95ae commit 4e62409

10 files changed

Lines changed: 52 additions & 0 deletions

File tree

examples/README.md

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
# PyEyesWeb Examples
2+
3+
This directory contains example scripts and demonstrations showcasing the capabilities of PyEyesWeb modules.
4+
5+
## Structure
6+
7+
- **`test_scripts/`** - Python scripts demonstrating various analysis modules
8+
- **`touchdesigner/`** - TouchDesigner integration examples and demos
9+
10+
## Test Scripts
11+
12+
### Movement Analysis Examples
13+
14+
- **`bilateral_symmetry.py`** - Demonstrates bilateral symmetry analysis with realistic human gait simulation
15+
- **`contraction_expansion.py`** - Shows contraction and expansion analysis for movement data
16+
- **`equilibrium.py`** - Demonstrates equilibrium analysis with elliptical balance evaluation
17+
- **`smoothness.py`** - Examples of smoothness analysis for movement trajectories
18+
- **`synchronization.py`** - Synchronization analysis using webcam and MediaPipe pose detection
19+
20+
### Data Processing
21+
22+
- **`tsv_reader.py`** - Example of reading and processing TSV (Tab-Separated Values) files
23+
24+
## TouchDesigner Integration
25+
26+
The `touchdesigner/` folder contains:
27+
- TouchDesigner project files (`.toe`)
28+
- Setup scripts for Windows environment
29+
30+
## Running the Examples
31+
32+
Each Python script can be run independently:
33+
34+
```bash
35+
python examples/test_scripts/bilateral_symmetry.py
36+
python examples/test_scripts/synchronization.py
37+
# etc...
38+
```
39+
40+
## Requirements
41+
42+
- Python 3.x
43+
- PyEyesWeb package installed
44+
- Additional dependencies as specified in each script (e.g., OpenCV, MediaPipe for synchronization example)
45+
46+
## Notes
47+
48+
These examples are designed to demonstrate the functionality of various PyEyesWeb modules. They include:
49+
- Realistic data simulation
50+
- Interactive visualizations
51+
- Real-time processing capabilities
52+
- Integration with external tools
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)