add first version

This commit is contained in:
2026-03-02 22:57:35 +08:00
parent d517195df7
commit d9631fbb80
17 changed files with 1631 additions and 93 deletions

View File

@@ -0,0 +1,13 @@
class AppConfig {
// API 配置
static const String apiBaseUrl = 'http://10.0.2.2:8000'; // Android 模拟器访问本机
// 如果使用真机,改为你的电脑 IP例如'http://192.168.1.100:8000'
// 图像配置
static const int imageMaxWidth = 640;
static const int imageMaxHeight = 480;
static const int imageQuality = 85;
// 实时传输配置
static const Duration captureInterval = Duration(milliseconds: 500); // 每 500ms 捕获一帧
}