Skip to content

Commit

Permalink
Update text_recognize.py (#141)
Browse files Browse the repository at this point in the history
LGTM
  • Loading branch information
theikkila authored Dec 28, 2023
1 parent c3dc9fe commit f5fa9d1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def __init__(self, config):
if self.session.have_key():
self.character_dict_path = self.session.get_character_list()
else:
self.character_dict_path = config.get("keys_path", None)
self.character_dict_path = config.get("rec_character_dict_path", None)
self.postprocess_op = CTCLabelDecode(self.character_dict_path)

self.rec_batch_num = config["rec_batch_num"]
Expand Down

0 comments on commit f5fa9d1

Please sign in to comment.