mirror of
https://github.com/PaddlePaddle/PaddleOCR.git
synced 2025-12-26 22:48:21 +00:00
Fixed a bug where changing "max_text_length" for VisionLAN did not change the length of the output text (#11025)
This commit is contained in:
parent
3786b27307
commit
d0d77fe273
@ -73,7 +73,8 @@ class TextRecognizer(object):
|
||||
postprocess_params = {
|
||||
'name': 'VLLabelDecode',
|
||||
"character_dict_path": args.rec_char_dict_path,
|
||||
"use_space_char": args.use_space_char
|
||||
"use_space_char": args.use_space_char,
|
||||
"max_text_length": args.max_text_length
|
||||
}
|
||||
elif self.rec_algorithm == 'ViTSTR':
|
||||
postprocess_params = {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user