-
Notifications
You must be signed in to change notification settings - Fork 5
/
App.Forms.MainForm.dfm
296 lines (296 loc) · 7.02 KB
/
App.Forms.MainForm.dfm
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
object MainForm: TMainForm
Left = 0
Top = 0
Caption = 'Windows UWP OCR Demo'
ClientHeight = 606
ClientWidth = 986
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -12
Font.Name = 'Segoe UI'
Font.Style = []
Position = poDesktopCenter
OnClose = FormClose
OnCreate = FormCreate
TextHeight = 15
object Splitter1: TSplitter
Left = 385
Top = 0
Height = 606
ResizeStyle = rsUpdate
ExplicitLeft = 456
ExplicitTop = 304
ExplicitHeight = 100
end
object Panel2: TPanel
Left = 0
Top = 0
Width = 385
Height = 606
Align = alLeft
BevelOuter = bvLowered
TabOrder = 0
DesignSize = (
385
606)
object GroupBox1: TGroupBox
Left = 8
Top = 47
Width = 371
Height = 553
Anchors = [akLeft, akTop, akRight, akBottom]
Caption = 'OCR'
Enabled = False
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -12
Font.Name = 'Segoe UI'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 0
DesignSize = (
371
553)
object Label1: TLabel
Left = 11
Top = 24
Width = 55
Height = 15
Caption = 'Language:'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -12
Font.Name = 'Segoe UI'
Font.Style = []
ParentFont = False
end
object Label3: TLabel
Left = 11
Top = 167
Width = 149
Height = 15
Caption = 'Recognized lines and words:'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -12
Font.Name = 'Segoe UI'
Font.Style = []
ParentFont = False
end
object Label2: TLabel
Left = 11
Top = 530
Width = 108
Height = 15
Anchors = [akLeft, akBottom]
Caption = 'Text angle (degrees):'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowFrame
Font.Height = -12
Font.Name = 'Segoe UI'
Font.Style = []
ParentFont = False
ExplicitTop = 548
end
object lblTextAngle: TLabel
Left = 125
Top = 530
Width = 5
Height = 15
Anchors = [akLeft, akBottom]
Caption = '-'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowFrame
Font.Height = -12
Font.Name = 'Segoe UI'
Font.Style = []
ParentFont = False
ExplicitTop = 548
end
object Label4: TLabel
Left = 11
Top = 113
Width = 183
Height = 15
Caption = 'Engine maximum demension (px):'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowFrame
Font.Height = -12
Font.Name = 'Segoe UI'
Font.Style = []
ParentFont = False
end
object lblMaxDemension: TLabel
Left = 203
Top = 113
Width = 5
Height = 15
Caption = '-'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowFrame
Font.Height = -12
Font.Name = 'Segoe UI'
Font.Style = []
ParentFont = False
end
object Label5: TLabel
Left = 11
Top = 134
Width = 124
Height = 15
Caption = 'Loaded image size (px):'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowFrame
Font.Height = -12
Font.Name = 'Segoe UI'
Font.Style = []
ParentFont = False
end
object lblImageSizes: TLabel
Left = 203
Top = 134
Width = 5
Height = 15
Caption = '-'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowFrame
Font.Height = -12
Font.Name = 'Segoe UI'
Font.Style = []
ParentFont = False
end
object btnRecognize: TButton
Left = 11
Top = 74
Width = 348
Height = 33
Anchors = [akLeft, akTop, akRight]
Caption = 'Recognize text'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -12
Font.Name = 'Segoe UI'
Font.Style = []
ParentFont = False
TabOrder = 0
OnClick = btnRecognizeClick
end
object cbLangs: TComboBox
Left = 11
Top = 45
Width = 348
Height = 23
Style = csDropDownList
Anchors = [akLeft, akTop, akRight]
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -12
Font.Name = 'Segoe UI'
Font.Style = []
ParentFont = False
TabOrder = 1
end
object TreeView1: TTreeView
Left = 11
Top = 188
Width = 348
Height = 336
Anchors = [akLeft, akTop, akRight, akBottom]
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -12
Font.Name = 'Segoe UI'
Font.Style = []
HideSelection = False
Indent = 19
ParentFont = False
TabOrder = 2
OnChange = TreeView1Change
end
end
object panelLoadButtons: TGridPanel
Left = 8
Top = 8
Width = 371
Height = 33
Anchors = [akLeft, akTop, akRight]
BevelOuter = bvNone
ColumnCollection = <
item
Value = 50.000000000000000000
end
item
Value = 50.000000000000000000
end>
ControlCollection = <
item
Column = 0
Control = btnLoadFromFile
Row = 0
end
item
Column = 1
Control = btnLoadFromClipbrd
Row = 0
end>
RowCollection = <
item
Value = 100.000000000000000000
end>
TabOrder = 1
object btnLoadFromFile: TButton
Left = 0
Top = 0
Width = 186
Height = 33
Align = alClient
Caption = 'Load From File'#8230
TabOrder = 0
OnClick = btnLoadFromFileClick
end
object btnLoadFromClipbrd: TButton
Left = 186
Top = 0
Width = 185
Height = 33
Align = alClient
Caption = 'Paste From Clipboard'
TabOrder = 1
OnClick = btnLoadFromClipbrdClick
end
end
end
object OcrScrollBox: TScrollBox
Left = 388
Top = 0
Width = 598
Height = 606
HorzScrollBar.Increment = 59
HorzScrollBar.Tracking = True
VertScrollBar.Increment = 57
VertScrollBar.Tracking = True
Align = alClient
BevelInner = bvNone
BevelKind = bkSoft
BorderStyle = bsNone
Color = clWindowFrame
ParentColor = False
TabOrder = 1
object PaintBox1: TPaintBox
Left = 0
Top = 0
Width = 289
Height = 481
OnClick = PaintBox1Click
OnMouseDown = PaintBox1MouseDown
OnMouseMove = PaintBox1MouseMove
OnMouseUp = PaintBox1MouseUp
OnPaint = PaintBox1Paint
end
end
object OpenPictureDialog1: TOpenPictureDialog
Left = 40
Top = 352
end
end