narugo commited on
Commit
e71d417
1 Parent(s): 2217d15

dev(narugo): init commit

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -7,6 +7,9 @@ from imgutils.data import load_image
7
 
8
 
9
  def variance_of_laplacian(np_image):
 
 
 
10
  return cv2.Laplacian(np_image, cv2.CV_64F).var()
11
 
12
 
 
7
 
8
 
9
  def variance_of_laplacian(np_image):
10
+ """
11
+ Inspired by https://pyimagesearch.com/2015/09/07/blur-detection-with-opencv/
12
+ """
13
  return cv2.Laplacian(np_image, cv2.CV_64F).var()
14
 
15