-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathimcomp.kv
More file actions
43 lines (35 loc) · 919 Bytes
/
imcomp.kv
File metadata and controls
43 lines (35 loc) · 919 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#:kivy 1.0
<AppLayout>:
cols:1
GridLayout:
cols:2
GridLayout:
cols:1
FileDropArea:
text:'Drop original image here'
id:orig_fda
GridLayout:
cols:1
FileDropArea:
text:'Drop comparison image here'
id:comp_fda
BoxLayout:
orientation:'vertical'
Label:
text:'Mean Squared Error (MSE): -'
id: mse_lb
font_size: 20
Label:
text:'Peak Signal-Noise Ratio (PSNR): -'
id: psnr_lb
font_size: 20
Label:
text:'Structural Similarity Index (SSIM): -'
id: ssim_lb
font_size: 20
Button:
id: enter_btn
text:'calculate PSNR'
font_size: 20
on_press:root.on_enterbtn_pressed(app)
size_hint:(.7,.5)