chore(tasks): start T-213 chinese screenshot annotation
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -397,3 +397,12 @@
|
||||
- 阻塞:真实 RTSP 上的端到端延迟改善需 Windows 目视确认;丢弃最新帧核心逻辑与集成本环境已测。
|
||||
- 决策:解码放后台线程、消费端只取最新帧,使延迟被钳在一次推理量级、不随推理速度增长;STREAM 用收帧时单调时钟,丢帧不破坏摔倒计时(每处理帧取真实到达时间)。
|
||||
- 下一步:T-213 截图中文标注(Pillow,缺库/字体回退 ASCII)。
|
||||
|
||||
## 【2026-07-22】T-213 截图中文标注(Pillow)
|
||||
|
||||
- 状态:DOING
|
||||
- 变更:任务落 DOING;将在 `alerts.py` 用 PIL 绘制中文标签,缺 PIL/字体回退 cv2 ASCII。
|
||||
- 验证:开始前 V1 单元测试 82 passed;本环境 PIL 可用,有 DejaVu TTF 供 PIL 路径测试(中文字形需 Windows 的 msyh.ttc)。
|
||||
- 阻塞:真实中文观感需 Windows(用 C:/Windows/Fonts/msyh.ttc);标签、字体查找与回退逻辑本环境可测。
|
||||
- 决策:auto 字体候选只放 CJK 字体(msyh/simhei/文泉驿/Noto CJK),找不到就回退 ASCII 而非渲染豆腐块;Windows 自动用雅黑,无需配置。
|
||||
- 下一步:加 `annotation_label`/`_find_font`/PIL 绘制与回退,`annotate_frame` 接入,补测试。
|
||||
|
||||
Reference in New Issue
Block a user