feat(layout): 更新主秤监控界面布局并启用PyTorch模型功能

- 将主秤监控界面从LinearLayout改为ConstraintLayout布局
- 添加返回按钮并实现点击关闭页面功能
- 在BaseApp中初始化ObjectBox数据库
- 启用PyTorch模型依赖库并移除注释代码
- 在CollectFragment中激活食物图像向量化功能
- 初始化FoodModule中的PyTorch模型
- 临时忽略assets下的.pt模型文件到.gitignore
This commit is contained in:
2026-04-13 15:11:47 +08:00
parent 0d0fcd24b7
commit 41036cdbf9
8 changed files with 363 additions and 337 deletions
+2
View File
@@ -11,3 +11,5 @@ local.properties
.claude/
app/debug/
app/release/
# 临时忽略 assets 下的 .pt 模型文件,正式文件就绪后取消此行
app/src/main/assets/*.pt