steveyin commited on
Commit
7dcc0c6
·
verified ·
1 Parent(s): 0a5d45f

Update webapp.py

Browse files
Files changed (1) hide show
  1. webapp.py +1 -1
webapp.py CHANGED
@@ -479,7 +479,7 @@ class DemoCase:
479
  self.FRAME_HEIGHT, self.FRAME_WIDTH, 3
480
  ]) * 255).astype(np.uint8)
481
  elif frame.shape != (self.FRAME_HEIGHT, self.FRAME_WIDTH, 3):
482
- frame = cv2.resize(frame, (self.FRAME_HEIGHT, self.FRAME_WIDTH))
483
 
484
  # do something with your OpenCV frame here
485
  draw_text(
 
479
  self.FRAME_HEIGHT, self.FRAME_WIDTH, 3
480
  ]) * 255).astype(np.uint8)
481
  elif frame.shape != (self.FRAME_HEIGHT, self.FRAME_WIDTH, 3):
482
+ frame = cv2.resize(frame, (self.FRAME_WIDTH, self.FRAME_HEIGHT))
483
 
484
  # do something with your OpenCV frame here
485
  draw_text(