feat(omr): 新增基于OCR的试卷ID识别功能

- 集成Tess4J实现OCR识别,新增analyzeExamWordsId方法提取试卷ID
- 对试卷图片左上角区域进行裁剪和预处理以提升识别准确率
- 添加Mat到BufferedImage的转换辅助方法,支持OCR读取
- 在测试用例中增加对OCR识别功能的集成测试
- 修改配置文件添加OCR数据路径,完善依赖引入OpenCV和Tess4J库
This commit is contained in:
lbw
2025-12-12 17:04:02 +08:00
parent e0258c7ddf
commit e729ddc829
7 changed files with 107 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 273 KiB

After

Width:  |  Height:  |  Size: 450 KiB