Files
PaddleOCR/benchmark/PaddleOCR_DBNet/post_processing/__init__.py
pavel.lamonov 56532cc9a9
Some checks are pending
Build/Publish Develop Docs / deploy (push) Waiting to run
first commit
2025-07-02 08:57:16 +03:00

14 lines
284 B
Python

# -*- 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