Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
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")
|