Commit Graph

7 Commits

Author SHA1 Message Date
kevin
34ecc33ee5 live sonar feed, and incremental action feed 2026-04-16 14:53:01 +08:00
kevin
cc6cef0f73 cli to control zed camera start and stop. 2. measure now use every svo2 file for 1 fish, give intermideate result and final result with confidecne level(*). 2026-04-16 11:38:30 +08:00
zaiun xu
670e6308a5 use the same rule in fishmeasure 2026-04-14 22:06:33 +08:00
zaiun xu
5e1b2117c1 feat(fish_api): SQLite 快照投递、日志与 watch 空闲告警
- 新增 SQLite:measure/health 快照、delivery_cursor 单消费者 pop;clear/start_fresh 可清空库
- biomass GET 仅返回约定 data 字段,X-Fish-Biomass-New 表示是否有新快照;poller 读响应头
- loguru 桥接 uvicorn,子进程 stdout 流式输出;format_json_pretty 与算法摘要日志
- measure/action watch 无新任务时限流 WARNING;watch_idle 共用逻辑
- 依赖 loguru;新增 db、logging_config、subprocess_run、watch_idle、启动脚本

FishMeasure: 更新 fish_video_weight_evaluation 与 predict_weigth_from_svo2;移除未用 refbox/segmentation 脚本
Made-with: Cursor
2026-04-09 11:54:30 +08:00
zaiun xu
3078b18cfe feat(scripts): add biomass_poller with httpx and loguru
Poll GET /api/v1/biomass/real/camera/ and /health/result/; add loguru to fish_api dev deps.

Made-with: Cursor
2026-04-08 20:02:05 +08:00
zaiun xu
d0c53068dd feat(fish_api): add FishAction folder watch via Pydantic settings
Add ACTION_WATCH_* settings, background watch loop in FastAPI lifespan,
and shared action_watch service that updates app_state. Add fish-action-watch
CLI and optional FishAction watch_folder_predict.py for standalone use.

Made-with: Cursor
2026-04-08 19:54:18 +08:00
zaiun xu
9df21f80ef Initial commit: FishServer monorepo (FishAction, FishMeasure, fish_api)
Made-with: Cursor
2026-04-08 19:32:23 +08:00