尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证lucas6028/x-coach
翻译准备中
取自仓库 README
正在加载完整 README。
查看完整 README ↗English · 繁體中文
Squat analysis in the web app: skeleton overlay and fault timeline on the video, rule-detected faults with their cited causes and risks, and Lumen's grounded explanation on the right.
x-coach is an AI coaching research prototype. It analyzes exercise form over a 16-movement biomechanics knowledge graph, connecting video perception, rule-based biomechanics checks, lightweight classifiers, and local retrieval over project knowledge so visual signals can be turned into explainable coaching feedback. (Video analysis covers 14 of the 16 movements today, all in Beta; the knowledge graph and in-app Explore browser span all 16.)
src/pose/ - pose extraction, pose features, view estimation, and rule detection.src/video/ - VideoMAE feature extraction and video-level classifiers.src/knowledge/ - knowledge graph, retrieval, and local RAG utilities.src/rehab24/ - REHAB24-6 manifest, feature extraction, fusion, and correctness classification.scripts/pose/ - pose pipeline and pose-analysis entry points.scripts/video/ - VideoMAE and classifier experiment entry points.scripts/knowledge/ - knowledge graph and RAG entry points.scripts/rehab24/ - REHAB24-6 experiment entry points.backend/ - FastAPI web service wrapping the pose/rules/retrieval pipeline (see backend/README.md).frontend/ - React + Vite (yarn) dashboard: skeleton overlay, fault timeline, GraphRAG feedback (see frontend/README.md).data/ - datasets, labels, processed poses, features, and cached RAG assets.demo/ - browser demo assets and pose-estimation prototype code.docs/ - longer walkthroughs.notes/ - research notes and experiment summaries.tests/ - Python unit tests (pytest) for core behavior and analysis helpers. Frontend tests are Vitest, under frontend/ (yarn test).data/Squat/Unlabeled_Dataset/ - raw unlabeled videos and extracted pose JSON.data/Squat/Labeled_Dataset/ - labeled clips, split files, labels, pose JSON, pose features, and VideoMAE features.data/kg/ - knowledge graph files and canonical mappings.data/rag/vector_db/ - local RAG chunks, embeddings, and manifest.Create and activate a Python virtual environment, then install the project requirements:
pip install -r requirements.txt
Set GOOGLE_API_KEY only if you plan to run Gemini-backed knowledge-graph extraction.
The backend and frontend also run as containers — no local Python or Node needed:
cp .env.example .env # every value is optional; blanks degrade gracefully
docker compose up --build # app on :8080, API docs on :8000/docs
Add -f docker-compose.dev.yml for hot reload (Vite on :5173, uvicorn --reload). The
research pipelines under scripts/ are not containerised — they need the full
requirements.txt and the datasets, so use the local .venv. Details: docs/docker.md.
Command details live with the script directories:
notes/ contains experiment summaries and research notes.tests/ contains executable examples for several core modules.Support explainable coaching feedback — rule-based analysis of 14 movements today, over a 16-movement biomechanics knowledge graph — by linking visual signals, structured biomechanics knowledge, and retrieval-based guidance.