iansee commited on
Commit
a9899d7
·
verified ·
1 Parent(s): 3724cc9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -155,7 +155,7 @@ def process(
155
  # image = Image.open(image_save_path)
156
  box_overlay_ratio = image_input.size[0] / 3200
157
  draw_bbox_config = {
158
- 'text_scale': 0.8 * box_overlay_ratio,
159
  'text_thickness': max(int(2 * box_overlay_ratio), 1),
160
  'text_padding': max(int(3 * box_overlay_ratio), 1),
161
  'thickness': max(int(3 * box_overlay_ratio), 1),
 
155
  # image = Image.open(image_save_path)
156
  box_overlay_ratio = image_input.size[0] / 3200
157
  draw_bbox_config = {
158
+ 'text_scale': 1.1 * box_overlay_ratio,
159
  'text_thickness': max(int(2 * box_overlay_ratio), 1),
160
  'text_padding': max(int(3 * box_overlay_ratio), 1),
161
  'thickness': max(int(3 * box_overlay_ratio), 1),