johko commited on
Commit
4e1a1dc
1 Parent(s): d2cbc11

Update app.py

Browse files

change rescale from 400 ti 640px

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -64,7 +64,7 @@ def scale_image(img: np.ndarray, size: int) -> np.ndarray:
64
 
65
 
66
  def base_detect(detector, img):
67
- img = scale_image(img, 400)
68
 
69
  detections = detector.detect(img)
70
  img_vis = img.copy()
 
64
 
65
 
66
  def base_detect(detector, img):
67
+ img = scale_image(img, 640)
68
 
69
  detections = detector.detect(img)
70
  img_vis = img.copy()