fjenett commited on
Commit
9f54a3d
1 Parent(s): 04164d8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -29,7 +29,7 @@ def detect_ellipses(img_path):
29
  iw = iwidth * iscale
30
  ih = imax * iscale
31
 
32
- imgG = imgG.resize(int(iw), int(ih))
33
 
34
  if is_landscape:
35
  ipad = int((imax - iheight) / 2 * iscale)
 
29
  iw = iwidth * iscale
30
  ih = imax * iscale
31
 
32
+ imgG = cv2.resize(imgG, (int(iw), int(ih)))
33
 
34
  if is_landscape:
35
  ipad = int((imax - iheight) / 2 * iscale)