This commit is contained in:
13
benchmark/PaddleOCR_DBNet/post_processing/__init__.py
Normal file
13
benchmark/PaddleOCR_DBNet/post_processing/__init__.py
Normal file
@@ -0,0 +1,13 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# @Time : 2019/12/5 15:17
|
||||
# @Author : zhoujun
|
||||
|
||||
from .seg_detector_representer import SegDetectorRepresenter
|
||||
|
||||
|
||||
def get_post_processing(config):
|
||||
try:
|
||||
cls = eval(config["type"])(**config["args"])
|
||||
return cls
|
||||
except:
|
||||
return None
|
||||
Reference in New Issue
Block a user