自定义字典输出错乱
#16369
Replies: 1 comment 1 reply
-
需要指出虽然(paddle_ocr3.02) PS E:\PaddleOCR> 但是我确定是3.10 版本,只是环境名没改。另外我尝试了之前的手动指定字典文件rec_char_dict_path 参数报错没有这个参数。查看了一下构造函数的参数列表确实没有这个参数了。现在不知道怎么解决 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
我想问一下3.10版本自定义字典训练完成之后输出却不对:
{'input_path': 'Y:/train_data/crop/20250622_182327864__25204830030301.png', 'page_index': None, 'doc_preprocessor_res': {'input_path': None, 'page_index': None, 'input_img': array([[[83, ..., 80],
...,
[82, ..., 81]],
(paddle_ocr3.02) PS E:\PaddleOCR>
其中: [156, 269]], shape=(4, 2), dtype=int16)], 'model_settings': {'use_doc_preprocessor': True, 'use_textline_orientation': False}, 'text_det_params': {'limit_side_len': 64, 'limit_type': 'min', 'thresh': 0.3, 'max_side_limit': 4000, 'box_thresh': 0.6, 'unclip_ratio': 1.5}, 'text_type': 'general', 'text_rec_score_thresh': 0.0, 'rec_texts': ['VCVCVCVCVCVCVCVCVCVCVCVCVCVCVCVCVCVCVCVCVCO6T', 'VCVCVCVCVCVCVCVCVCVCVCVCO6T', 'VC6O6T', 'VCVCVCVCVCVCVCVCVCVCVCVCVCVCVCVCVCVCVCVCVCVCVCVCVCVCVCVCVCO6U', 'VCVCVCVCVCVCVCVCVCVCVCVCVCVCVCVCVCVCVCVCVCVCVCVCVCVCVCVCVCVCVCVCVC'], 'rec_scores': [0.9572537541389465, 0.9288918972015381, 0.6785728931427002, 0.9684669971466064, 1.0], 'rec_polys': [array([[163, 81],这部分应该就是识别内容。结果一直重复字符VCVCVCVC的我怀疑是字典没加载还是哪地方解码有问题.....有人遇到过吗?该如何解决
Beta Was this translation helpful? Give feedback.
All reactions