File size: 1,956 Bytes
38a1140
 
 
 
 
 
 
 
 
 
 
 
 
 
f7e22f0
38a1140
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f7e22f0
38a1140
 
 
 
f7e22f0
38a1140
 
 
 
f7e22f0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38a1140
 
 
 
 
 
 
 
 
 
 
 
 
f7e22f0
38a1140
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f7e22f0
 
 
 
 
 
 
 
 
 
 
 
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: sans-serif;
}

html,
body {
    height: 100%;
}

body {
    padding: 32px;
    background-color: #f5f5f5; /* Light background for contrast */
}

body,
#container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#container {
    position: relative;
    gap: 0.4rem;
    width: 640px;
    height: 640px;
    max-width: 100%;
    max-height: 100%;
    border: 2px dashed #3572A5; /* Python blue */
    border-radius: 0.75rem;
    overflow: hidden;
    cursor: pointer;
    margin: 1rem;
    background-color: #FFD43B; /* Python yellow */
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    font-size: 18px;
    color: #282c34; /* Dark text color for readability */
}

textarea {
    width: 95%;
    height: 200px;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #3572A5;
    border-radius: 5px;
    background-color: #FFFFFF;
    font-family: 'Courier New', Courier, monospace;
    font-size: 16px;
}

button {
    padding: 10px 20px;
    background-color: #3572A5;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    background-color: #285e8e;
}

#upload {
    display: none;
}

svg {
    pointer-events: none;
}

#example {
    font-size: 14px;
    text-decoration: underline;
    color: #3572A5;
    cursor: pointer;
}

#example:hover {
    color: #2563EB;
}

.bounding-box {
    position: absolute;
    box-sizing: border-box;
    border: solid 2px;
}

.bounding-box-label {
    color: white;
    position: absolute;
    font-size: 12px;
    margin: -16px 0 0 -2px;
    padding: 1px;
}

#results {
    width: 95%;
    max-width: 640px;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    margin-top: 10px;
    overflow: auto;
}