-
Notifications
You must be signed in to change notification settings - Fork 0
Demo Guide
Manu Murugesan edited this page Mar 13, 2026
·
2 revisions
Try the tool without setting up your own data.
The live demo is hosted on Hugging Face Spaces:
https://tavoloperuno-accelerometry-viewer-demo.hf.space/
| Username | Password | Role |
|---|---|---|
demo_admin |
demo |
Admin — can impersonate users, manage users |
demo_user |
demo |
Annotator — standard annotation workflow |
-
Log in as
demo_userto see the annotator experience:- Select a file from the dropdown
- Navigate using Previous/Next buttons or the minimap
- Box-select a region and click an activity button
- Toggle flags (Segment, Scoring, Review)
- Add a note and click Export
-
Log in as
demo_adminto see admin features:- Use the Impersonate dropdown to view
demo_user's annotations - Open the User Admin panel to see user management
- Review pre-populated annotations showing all activity types and flags
- Use the Impersonate dropdown to view
The demo uses real tri-axial accelerometer data from the UCI Accelerometer Gyro Mobile Phone Dataset (CC BY 4.0), resampled to 85 Hz and composed into ~10-minute files. Pre-populated annotations showcase all activity types, flags, and inter-annotator variability.
# Real data (downloads ~2 MB from UCI)
python demo/generate_data.py
# Synthetic fallback (sine waves, no download needed)
python demo/generate_data.py --synthetic
# Custom output directory
python demo/generate_data.py /tmp/demo_outputpanel serve demo/app.py \
--port 7860 \
--basic-auth demo/credentials.json \
--cookie-secret $(python -c "import secrets; print(secrets.token_hex(32))") \
--allow-websocket-origin localhost:7860 \
--basic-login-template visualize_accelerometry/templates/login.htmlOpen http://localhost:7860/app and log in with the credentials above.
docker build -f demo/Dockerfile -t accelerometry-demo .
docker run -p 7860:7860 accelerometry-demoOpen http://localhost:7860/app.