Skip to content

Commit 8c4d8c1

Browse files
zhenglileiBelval
authored andcommitted
Remove argument 'fit' from the handwritten_text_generation function
1 parent 718fe31 commit 8c4d8c1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

TextRecognitionDataGenerator/data_generator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def generate(cls, index, text, font, out_dir, size, extension, skewing_angle, ra
3535
if is_handwritten:
3636
if orientation == 1:
3737
raise ValueError("Vertical handwritten text is unavailable")
38-
image = handwritten_text_generator.generate(text, text_color, fit)
38+
image = handwritten_text_generator.generate(text, text_color)
3939
else:
4040
image = computer_text_generator.generate(text, font, text_color, size, orientation, space_width, fit)
4141

0 commit comments

Comments
 (0)