Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,18 @@
|
|
1 |
-
---
|
2 |
-
license: unknown
|
3 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: unknown
|
3 |
+
---
|
4 |
+
|
5 |
+
νκΉ
νμ΄μ€μμ λ°μ μ¬μ©ν μ μλλ‘ config νμΌμ λ§λ€μμΌλ©°, μ μλνλκ²μ νμΈνμ΅λλ€
|
6 |
+
λ‘λ§¨μ€ μ€μΊ μμ μΉ΄λ©λΌμ μ£Όλ‘ λΉμΆ°μ§ μ¬μ§μ μ‘°μ¬ν΄ μ§μ΄λ£μ΄ μ μ¬λ νλ¨μ μ¬μ©ν μ μλλ‘ κ΅¬μ±νμ΅λλ€.
|
7 |
+
λ€μκ³Ό κ°μ΄ μ¬μ©ν μ μμ΅λλ€
|
8 |
+
```python
|
9 |
+
def cnn_similarity_analysis(image):
|
10 |
+
img_array = preprocess_image(image)
|
11 |
+
reconstructed_img = cnn_model.predict(img_array)
|
12 |
+
|
13 |
+
try:
|
14 |
+
psnr_value = calculate_psnr(img_array, reconstructed_img)
|
15 |
+
return psnr_value > 18 # μκ³κ° κΈ°μ€ μ μ¬λ νλ¨
|
16 |
+
except ValueError as e:
|
17 |
+
return False
|
18 |
+
```
|