프로젝트

일반

사용자정보

개정판 385c48f3

ID385c48f3c0665ab2180d8ddf262e0811b20c8ea6
상위 c6752d6d
하위 b1f127ba

함의성이(가) 약 5년 전에 추가함

issue #506: add setting text area expansion offset

Change-Id: Idf9dfbda9053a9d0aa07ac5926a81a7314fa1684

차이점 보기:

DTI_PID/DTI_PID/UI/Configuration.ui
7 7
    <x>0</x>
8 8
    <y>0</y>
9 9
    <width>768</width>
10
    <height>739</height>
10
    <height>766</height>
11 11
   </rect>
12 12
  </property>
13 13
  <property name="font">
......
47 47
            <item row="2" column="1">
48 48
             <layout class="QGridLayout" name="gridLayout_35">
49 49
              <item row="2" column="2">
50
               <widget class="QLineEdit" name="lineEditBinaryValue"/>
50
               <widget class="QLineEdit" name="lineEditBinaryValue">
51
                <property name="text">
52
                 <string>0</string>
53
                </property>
54
               </widget>
51 55
              </item>
52 56
              <item row="0" column="0">
53 57
               <widget class="QRadioButton" name="radioButtonNoThreshold">
......
85 89
               </widget>
86 90
              </item>
87 91
              <item row="1" column="2">
88
               <widget class="QLineEdit" name="lineEditOTSUValue"/>
92
               <widget class="QLineEdit" name="lineEditOTSUValue">
93
                <property name="text">
94
                 <string>0</string>
95
                </property>
96
               </widget>
89 97
              </item>
90 98
             </layout>
91 99
            </item>
......
205 213
         <layout class="QGridLayout" name="gridLayout_14">
206 214
          <item row="0" column="0">
207 215
           <layout class="QGridLayout" name="gridLayout_25">
216
            <item row="0" column="1">
217
             <widget class="QComboBox" name="comboBoxOCRData">
218
              <property name="minimumSize">
219
               <size>
220
                <width>200</width>
221
                <height>0</height>
222
               </size>
223
              </property>
224
              <property name="maximumSize">
225
               <size>
226
                <width>200</width>
227
                <height>16777215</height>
228
               </size>
229
              </property>
230
             </widget>
231
            </item>
232
            <item row="7" column="0">
233
             <widget class="QLabel" name="label_22">
234
              <property name="text">
235
               <string>Merge Size : </string>
236
              </property>
237
             </widget>
238
            </item>
208 239
            <item row="1" column="0">
209 240
             <widget class="QLabel" name="label_7">
210 241
              <property name="text">
......
215 246
            <item row="4" column="1">
216 247
             <widget class="QLineEdit" name="lineEditSingleText"/>
217 248
            </item>
249
            <item row="5" column="1">
250
             <widget class="QSpinBox" name="spinBoxExpandSize">
251
              <property name="minimumSize">
252
               <size>
253
                <width>100</width>
254
                <height>0</height>
255
               </size>
256
              </property>
257
             </widget>
258
            </item>
218 259
            <item row="6" column="3">
219 260
             <widget class="QSpinBox" name="maxTextSizeSpinBox">
220 261
              <property name="sizePolicy">
......
228 269
              </property>
229 270
             </widget>
230 271
            </item>
231
            <item row="5" column="1">
232
             <widget class="QSpinBox" name="spinBoxExpandSize">
233
              <property name="minimumSize">
234
               <size>
235
                <width>100</width>
236
                <height>0</height>
237
               </size>
238
              </property>
239
             </widget>
240
            </item>
241 272
            <item row="2" column="1" colspan="3">
242 273
             <widget class="QComboBox" name="comboBoxPageSegmentationModes"/>
243 274
            </item>
......
248 279
              </property>
249 280
             </widget>
250 281
            </item>
251
            <item row="7" column="0">
252
             <widget class="QLabel" name="label_22">
253
              <property name="text">
254
               <string>Merge Size : </string>
255
              </property>
256
             </widget>
257
            </item>
258 282
            <item row="1" column="1" colspan="3">
259 283
             <widget class="QLineEdit" name="lineEditWhiteCharList"/>
260 284
            </item>
261
            <item row="0" column="1">
262
             <widget class="QComboBox" name="comboBoxOCRData">
285
            <item row="7" column="1">
286
             <widget class="QSpinBox" name="spinBoxMergeSize">
263 287
              <property name="minimumSize">
264 288
               <size>
265
                <width>200</width>
289
                <width>100</width>
266 290
                <height>0</height>
267 291
               </size>
268 292
              </property>
269
              <property name="maximumSize">
270
               <size>
271
                <width>200</width>
272
                <height>16777215</height>
273
               </size>
274
              </property>
275 293
             </widget>
276 294
            </item>
295
            <item row="3" column="1" colspan="3">
296
             <widget class="QComboBox" name="comboBoxOCREngineMode"/>
297
            </item>
277 298
            <item row="6" column="2">
278 299
             <widget class="QLabel" name="label_18">
279 300
              <property name="text">
......
281 302
              </property>
282 303
             </widget>
283 304
            </item>
284
            <item row="2" column="0">
285
             <widget class="QLabel" name="label_39">
286
              <property name="text">
287
               <string>Page segmentations modes</string>
288
              </property>
289
             </widget>
290
            </item>
291
            <item row="5" column="0">
292
             <widget class="QLabel" name="label_20">
293
              <property name="text">
294
               <string>Expansion Size : </string>
295
              </property>
296
             </widget>
297
            </item>
298 305
            <item row="5" column="2">
299 306
             <widget class="QLabel" name="label_21">
300 307
              <property name="text">
......
302 309
              </property>
303 310
             </widget>
304 311
            </item>
305
            <item row="0" column="0">
306
             <widget class="QLabel" name="label_19">
312
            <item row="4" column="0">
313
             <widget class="QLabel" name="label_37">
307 314
              <property name="text">
308
               <string>OCR Source : </string>
315
               <string>Allowed Single Text : </string>
309 316
              </property>
310 317
             </widget>
311 318
            </item>
312
            <item row="7" column="1">
313
             <widget class="QSpinBox" name="spinBoxMergeSize">
319
            <item row="5" column="3">
320
             <widget class="QSpinBox" name="spinBoxShrinkSize">
314 321
              <property name="minimumSize">
315 322
               <size>
316 323
                <width>100</width>
......
319 326
              </property>
320 327
             </widget>
321 328
            </item>
329
            <item row="3" column="0">
330
             <widget class="QLabel" name="label_43">
331
              <property name="text">
332
               <string>OCR Engine Mode</string>
333
              </property>
334
             </widget>
335
            </item>
336
            <item row="0" column="2" colspan="2">
337
             <widget class="QLabel" name="labelTesseractVersion">
338
              <property name="text">
339
               <string>TextLabel</string>
340
              </property>
341
              <property name="alignment">
342
               <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
343
              </property>
344
             </widget>
345
            </item>
346
            <item row="2" column="0">
347
             <widget class="QLabel" name="label_39">
348
              <property name="text">
349
               <string>Page segmentations modes</string>
350
              </property>
351
             </widget>
352
            </item>
353
            <item row="0" column="0">
354
             <widget class="QLabel" name="label_19">
355
              <property name="text">
356
               <string>OCR Source : </string>
357
              </property>
358
             </widget>
359
            </item>
322 360
            <item row="6" column="1">
323 361
             <widget class="QSpinBox" name="minTextSizeSpinBox">
324 362
              <property name="sizePolicy">
......
338 376
              </property>
339 377
             </widget>
340 378
            </item>
341
            <item row="5" column="3">
342
             <widget class="QSpinBox" name="spinBoxShrinkSize">
343
              <property name="minimumSize">
344
               <size>
345
                <width>100</width>
346
                <height>0</height>
347
               </size>
348
              </property>
349
             </widget>
350
            </item>
351
            <item row="4" column="0">
352
             <widget class="QLabel" name="label_37">
353
              <property name="text">
354
               <string>Allowed Single Text : </string>
355
              </property>
356
             </widget>
357
            </item>
358
            <item row="0" column="2" colspan="2">
359
             <widget class="QLabel" name="labelTesseractVersion">
379
            <item row="5" column="0">
380
             <widget class="QLabel" name="label_20">
360 381
              <property name="text">
361
               <string>TextLabel</string>
362
              </property>
363
              <property name="alignment">
364
               <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
382
               <string>Expansion Size : </string>
365 383
              </property>
366 384
             </widget>
367 385
            </item>
368
            <item row="3" column="0">
369
             <widget class="QLabel" name="label_43">
386
            <item row="8" column="0">
387
             <widget class="QLabel" name="label_44">
370 388
              <property name="text">
371
               <string>OCR Engine Mode</string>
389
               <string>Text Area Offset : </string>
372 390
              </property>
373 391
             </widget>
374 392
            </item>
375
            <item row="3" column="1" colspan="3">
376
             <widget class="QComboBox" name="comboBoxOCREngineMode"/>
393
            <item row="8" column="1">
394
             <widget class="QSpinBox" name="spinBoxTextAreaOffset"/>
377 395
            </item>
378 396
           </layout>
379 397
          </item>
......
1550 1568
  </connection>
1551 1569
 </connections>
1552 1570
 <buttongroups>
1553
  <buttongroup name="buttonGroup_4"/>
1554
  <buttongroup name="buttonGroup"/>
1555 1571
  <buttongroup name="buttonGroup_2"/>
1572
  <buttongroup name="buttonGroup"/>
1556 1573
  <buttongroup name="buttonGroup_3"/>
1574
  <buttongroup name="buttonGroup_4"/>
1557 1575
 </buttongroups>
1558 1576
</ui>

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)