Alexandros Popov
commited on
Commit
·
fa24889
1
Parent(s):
291c5d0
added test image.
Browse files- README.md +5 -1
- filters.py +1 -1
README.md
CHANGED
@@ -6,4 +6,8 @@ Upload an image. Agents apply multiple filters and pick the best one based on qu
|
|
6 |
|
7 |
- Multiple preset filters
|
8 |
- Sharpness-based evaluation
|
9 |
-
- Simple Gradio UI
|
|
|
|
|
|
|
|
|
|
6 |
|
7 |
- Multiple preset filters
|
8 |
- Sharpness-based evaluation
|
9 |
+
- Simple Gradio UI
|
10 |
+
|
11 |
+
### Credits
|
12 |
+
|
13 |
+
The image in the repo originates from [toa-heftiba-Xmn-QXsVL4k-unsplash](https://unsplash.com/@heftiba)
|
filters.py
CHANGED
@@ -152,7 +152,7 @@ def save_image(image: np.ndarray, image_path: str) -> None:
|
|
152 |
|
153 |
if __name__ == "__main__":
|
154 |
# Load a test image
|
155 |
-
test_image_np = load_image_as_bgr("
|
156 |
|
157 |
# Apply all filters
|
158 |
filtered_images = apply_filters(test_image_np)
|
|
|
152 |
|
153 |
if __name__ == "__main__":
|
154 |
# Load a test image
|
155 |
+
test_image_np = load_image_as_bgr("test_image.jpg")
|
156 |
|
157 |
# Apply all filters
|
158 |
filtered_images = apply_filters(test_image_np)
|