mirror of
https://github.com/PaddlePaddle/PaddleOCR.git
synced 2025-07-31 04:38:02 +00:00
19 lines
497 B
Python
Executable File
19 lines
497 B
Python
Executable File
# -*- coding:utf-8 -*-
|
|
from __future__ import absolute_import
|
|
from __future__ import division
|
|
from __future__ import print_function
|
|
|
|
from deploy.hubserving.structure_table.params import read_params as table_read_params
|
|
|
|
|
|
def read_params():
|
|
cfg = table_read_params()
|
|
|
|
# params for layout parser model
|
|
cfg.layout_path_model = 'lp://PubLayNet/ppyolov2_r50vd_dcn_365e_publaynet/config'
|
|
cfg.layout_label_map = None
|
|
|
|
cfg.mode = 'structure'
|
|
cfg.output = './output'
|
|
return cfg
|