heksskhd commited on
Commit
3d12a30
·
verified ·
1 Parent(s): 29b3ece

Update add_text.py

Browse files
Files changed (1) hide show
  1. add_text.py +1 -1
add_text.py CHANGED
@@ -23,7 +23,7 @@ def add_text(image, text, font_path, bubble_contour):
23
  x, y, w, h = cv2.boundingRect(bubble_contour)
24
 
25
  line_height = 16
26
- font_size = 14
27
  wrapping_ratio = 0.075
28
 
29
  wrapped_text = textwrap.fill(text, width=int(w * wrapping_ratio),
 
23
  x, y, w, h = cv2.boundingRect(bubble_contour)
24
 
25
  line_height = 16
26
+ font_size = 16
27
  wrapping_ratio = 0.075
28
 
29
  wrapped_text = textwrap.fill(text, width=int(w * wrapping_ratio),