gihakkk commited on
Commit
fba948b
β€’
1 Parent(s): 246c288

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +18 -3
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
+ ```