# dongda **Repository Path**: dongda6/dongda ## Basic Information - **Project Name**: dongda - **Description**: 【动哒】app重新开始建设了,本次开发是为了吸取之前应用开发经验进行重构。并将在以下几个领域进行拓展: 1. 运动视觉分析,视频加工 2. 动作比对,康复训练 3. 硬件设备接入,如手环 ... - **Primary Language**: Python - **License**: MIT - **Default Branch**: windows - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 0 - **Created**: 2024-10-01 - **Last Updated**: 2026-05-04 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Dongda app ## Run the app ### uv Run as a desktop app: ```bash uv run flet run ``` Run as a web app: ```bash uv run flet run --web ``` For more details on running the app, refer to the [Getting Started Guide](https://docs.flet.dev/). ## Build the app ### Android ```bash flet build apk -v ``` For more details on building and signing `.apk` or `.aab`, refer to the [Android Packaging Guide](https://docs.flet.dev/publish/android/). ### iOS ```bash flet build ipa -v ``` For more details on building and signing `.ipa`, refer to the [iOS Packaging Guide](https://docs.flet.dev/publish/ios/). ### macOS ```bash flet build macos -v ``` For more details on building macOS package, refer to the [macOS Packaging Guide](https://docs.flet.dev/publish/macos/). ### Linux ```bash flet build linux -v ``` For more details on building Linux package, refer to the [Linux Packaging Guide](https://docs.flet.dev/publish/linux/). ### Windows ```bash flet build windows -v ``` For more details on building Windows package, refer to the [Windows Packaging Guide](https://docs.flet.dev/publish/windows/). ### Web ```bash flet build web -v ``` For more details on building Web app, refer to the [Web Packaging Guide](https://docs.flet.dev/publish/web/). ## 项目目录 ```bash sports_app/ ├── pyproject.toml # 项目配置 ├── README.md # 说明文档 ├── src/ │ ├── main.py # 入口文件,包含底部导航 │ ├── core/ # │ │ ├── __init__.py │ │ ├── analyzer.py # 基础运动分析器 │ │ ├── config.py # 运动分析器配置模块 │ │ ├── counter.py # 运动计数器基类 │ │ ├── feature_extractor.py # 姿态特征提取器基类 │ ├── counters/ # │ │ ├── __init__.py │ │ ├── angle_threshold_counter.py # 基于角度阈值的计数器 │ │ ├── histogram_counter.py # 基于直方图相似度的计数器 │ ├── extractors/ # │ │ ├── __init__.py │ │ ├── jump_rope_extractor.py # 跳绳特征提取器 │ │ ├── push_up_extractor.py # 俯卧撑特征提取器 │ ├── analyzers/ # │ │ ├── __init__.py │ │ ├── jump_rope_analyzer.py # 跳绳分析器 │ │ ├── push_up_analyzer.py # 俯卧撑分析器 │ ├── pages/ │ │ ├── home_page.py # 首页(三个运动卡片) │ │ └── profile_page.py # “我的”页面 │ ├── models/ │ │ └── sport_data.py # 数据模型和存储逻辑 │ └── assets/ │ ├── icon.png │ └── images/ │ ├── jump_rope.png │ ├── pushup.png │ └── situp.png └── build/ # 构建输出目录(自动生成) ``` ## 展望 增加练眼板块