williamcfrancis commited on
Commit
13a1e0b
·
1 Parent(s): 11cb31e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -64,6 +64,7 @@ def deblur_img(ip_image):
64
  # ip_image = cv2.imread(args['image'])
65
  # ip_image= cv2.cvtColor(ip_image, cv2.COLOR_BGR2GRAY)
66
  ip_image = np.array(ip_image)
 
67
  ip_image= cv2.resize(ip_image, (640, 480))
68
  # FFT visualization of the blurred image
69
  fft_img= create_fft(ip_image)
 
64
  # ip_image = cv2.imread(args['image'])
65
  # ip_image= cv2.cvtColor(ip_image, cv2.COLOR_BGR2GRAY)
66
  ip_image = np.array(ip_image)
67
+ ip_image = cv2.cvtColor(ip_image, cv2.COLOR_BGR2GRAY)
68
  ip_image= cv2.resize(ip_image, (640, 480))
69
  # FFT visualization of the blurred image
70
  fft_img= create_fft(ip_image)