JakeTurner616 commited on
Commit
ae0885a
·
verified ·
1 Parent(s): e4bdce6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -38,7 +38,7 @@ def segment_card(image):
38
  # Set text properties
39
  font = cv2.FONT_HERSHEY_SIMPLEX
40
  font_scale = 0.7 # Increased font size and thickness for better readability
41
- font_thickness = 1.3
42
  label_text = f"{label} ({confidence:.2f})"
43
 
44
  # Get text size for proper background padding
 
38
  # Set text properties
39
  font = cv2.FONT_HERSHEY_SIMPLEX
40
  font_scale = 0.7 # Increased font size and thickness for better readability
41
+ font_thickness = 1
42
  label_text = f"{label} ({confidence:.2f})"
43
 
44
  # Get text size for proper background padding