缺陷集中性分析 - 任务计划
Goal Statement
基于机器视觉分析检测出的缺陷数据,实现不良集中性分析功能,帮助发现缺陷在空间、时间、类型等维度的分布规律,为质量改进提供数据支撑。
Metadata
- Created: 2026-05-14
- Status: complete
- Owner: LeoD
- Last Updated: 2026-05-15
Phases
Phase 1: 需求确认与方案设计
Phase 2: 模拟数据生成
Phase 3: 集中性分析算法
Phase 4: 静态图表输出
- Status: complete (集成在 Streamlit 中)
Phase 5: Streamlit 交互页面
Phase 6: SPC 控制图与趋势预警
- Status: complete
- Key Deliverables:
Phase 7: 重复缺陷坐标检测
- Status: complete
- Key Deliverables:
Phase 8: CSV 数据上传
- Status: complete
- Key Deliverables:
Phase 9: 缺陷空间模式自动识别
- Status: complete
- Key Deliverables:
Phase 10: 共性分析 + 设备健康评分
- Status: complete
- Key Deliverables:
Phase 11: 多层叠加分析
- Status: complete
- Key Deliverables:
Phase 12: 系统架构升级
- Status: complete
- Key Deliverables:
Errors Encountered
| Error |
Resolution |
| Streamlit 缓存旧数据导致 KeyError |
使用 taskkill 清理进程 + cache_data(ttl=300) |
| 多个 Streamlit 进程互相干扰 |
taskkill //F //IM python.exe 清理后单进程启动 |
| 面板标注图尺寸过大 |
figsize 从 (6,8) 调整为 (3.5,5) |