OCR检测的dict.txt

Viewed 8

问题描述


OCR检测例程中有三个主要参数,

# OCR检测模型路径
ocr_det_kmodel_path="/sdcard/examples/kmodel/ocr_det_int16.kmodel"
# OCR识别模型路径
ocr_rec_kmodel_path="/sdcard/examples/kmodel/ocr_rec_int16.kmodel"
# 其他参数
dict_path="/sdcard/examples/utils/dict.txt"

这个dict是和ocr_rec_int16.kmodel深度绑定的吗,删除几个字符会报错,如果明确需要检测的英汉字符为十几种,可以修改dict吗,ocr_rec_int16.kmodel应该怎么训练,也靠yolo方式训练的吗

硬件板卡


庐山派

软件版本


CanMV v1.4-2-g873d625(based on Micropython e00a144) on 2025-09-12; k230_canmv_lckfb with K230

0 Answers