akopiler commited on
Commit
472070e
·
verified ·
1 Parent(s): 75f5589

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -52,8 +52,8 @@ def morphing(inp, target, slider):
52
  # Set rows and columns
53
  # lets downsize the image using new width and height
54
  down_width = int(frame_width)
55
- down_height = int(frame_height)
56
- down_points = (down_width, down_height/2)
57
  image = cv.resize(image, down_points, interpolation= cv.INTER_LINEAR)
58
  yield image
59
  # image = np.ones((240,240,3), np.uint8)
 
52
  # Set rows and columns
53
  # lets downsize the image using new width and height
54
  down_width = int(frame_width)
55
+ down_height = int(frame_height/2)
56
+ down_points = (down_width, down_height)
57
  image = cv.resize(image, down_points, interpolation= cv.INTER_LINEAR)
58
  yield image
59
  # image = np.ones((240,240,3), np.uint8)