saritha5 commited on
Commit
ded02c5
·
1 Parent(s): a52a9d1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -42,12 +42,12 @@ st.title("""
42
  Prediction of Image Blurriness
43
  """)
44
  #st.subheader("Prediction of Blur or NotBlur Image")
45
- st.write("""Blurring, or unsharpness, refers to the distortion of the definition of objects in an image,
46
- resulting in poor spatial resolution.
47
- Image blur is very common in natural photos, arising from different factors such as object motion,
48
- camera lens out-of-focus, and camera shake. In many cases it is undesired, when important regions
49
- are affected and become less sharp; while in other cases it is often desired, when the background is
50
- blurred to make the subject pop out, or motion blur is added to give the photo artistic look """)
51
  images = ["blur1.png","bird1.jpeg","blurimg3.png","images_11.jpeg"]
52
  with st.sidebar:
53
  st.write("choose an image")
 
42
  Prediction of Image Blurriness
43
  """)
44
  #st.subheader("Prediction of Blur or NotBlur Image")
45
+ st.write("""Blurring refers to the distortion of the definition of objects in an image, resulting in poor spatial resolution.
46
+ Image blur is very common in natural photos, arising from different factors such as object motion, camera lens out-of-focus, and camera shake.
47
+ To detect if an image is blurred or not, the variance of Laplacian is used. The Laplacian of an image identifies edges,
48
+ and the variance of the same shows how smooth or hard the edge is. Smooth edges mean blurred images, hence sharp images tend to have
49
+ large positive and negative Laplacian. We can use this model for filtering blurred images in all kinds of computer vision projects.
50
+ """)
51
  images = ["blur1.png","bird1.jpeg","blurimg3.png","images_11.jpeg"]
52
  with st.sidebar:
53
  st.write("choose an image")