File size: 1,041 Bytes
c9019cd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
page_separation:
  input: 'inference_input'
  out: 'NO_DUMP'
  left: '_01'
  right: '_02'
  single: '_00'
  ext: '.jpg'
  quality: 100
  short: null
  log: 'trim_pos.tsv'
  weight_path: 'src/separate_pages_ssd/ssd_tools/weights.hdf5'
  allow_invalid_num_output: True 
  silence_tf_log: True
page_deskew:
  r_angle: 0
  skew_max: 4.0
  acc_deg: 0.1
  method: 1
  gray: 1.0
  quality: 100
  short: null
  roi_w: 1.0
  roi_h: 1.0
layout_extraction:
  config_path: 'src/ndl_layout/models/ndl_layout_config.py'
  checkpoint_path: 'src/ndl_layout/models/epoch_140_all_eql_bt.pth'
  device: 'cpu'
  'score_thr': 0.3
line_ocr:
  char_list: 'src/text_recognition/models/mojilist_NDL.txt'
  saved_model: 'src/text_recognition/models/ndlenfixed64-mj0-synth1.pth'
  accept_empty: True
  batch_max_length: 100
  batch_size: 100
  character: None
  imgW: 1200
  workers: 1
  xml: None
  yield_block_pillar: True
  yield_block_page_num: True
  FeatureExtraction: 'ResNet'
  Prediction: 'CTC'
  PAD: True
  SequenceModeling: 'None'
  Transformation: 'None'