williamcfrancis commited on
Commit
11cb31e
·
1 Parent(s): 16ae9ba

Update app.py

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