ammariii08 commited on
Commit
fcef2ac
·
verified ·
1 Parent(s): 8975627

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -68,7 +68,7 @@ def imageRotation(image):
68
  def detect_document(image):
69
  """Detect front/back of the document using YOLO."""
70
  image_np = np.array(image)
71
- results = modelY(image_np, conf=0.85, device='cpu')
72
 
73
  detected_classes = set()
74
  labels = []
 
68
  def detect_document(image):
69
  """Detect front/back of the document using YOLO."""
70
  image_np = np.array(image)
71
+ results = modelY(image_np, conf=0.70, device='cpu')
72
 
73
  detected_classes = set()
74
  labels = []