diff --git a/ppocr/data/rec/dataset_traversal.py b/ppocr/data/rec/dataset_traversal.py index 84f325b9b880d6289a4d60f7ebff39d962fdb5a1..02aa13baa92261ef9dbf888c2d479925aacb0be6 100755 --- a/ppocr/data/rec/dataset_traversal.py +++ b/ppocr/data/rec/dataset_traversal.py @@ -127,6 +127,7 @@ class LMDBReader(object): img=img, image_shape=self.image_shape, num_heads=self.num_heads, + char_ops=self.char_ops, max_text_length=self.max_text_length) else: norm_img = process_image(