Shortcuts

mmocr.models.textdet.detectors.psenet 源代码

# Copyright (c) OpenMMLab. All rights reserved.
from mmocr.models.builder import DETECTORS
from mmocr.models.textdet.detectors.single_stage_text_detector import \
    SingleStageTextDetector
from mmocr.models.textdet.detectors.text_detector_mixin import \
    TextDetectorMixin


[文档]@DETECTORS.register_module() class PSENet(TextDetectorMixin, SingleStageTextDetector): """The class for implementing PSENet text detector: Shape Robust Text Detection with Progressive Scale Expansion Network. [https://arxiv.org/abs/1806.02559]. """ def __init__(self, backbone, neck, bbox_head, train_cfg=None, test_cfg=None, pretrained=None, show_score=False, init_cfg=None): SingleStageTextDetector.__init__(self, backbone, neck, bbox_head, train_cfg, test_cfg, pretrained, init_cfg) TextDetectorMixin.__init__(self, show_score)
Read the Docs v: latest
Versions
latest
stable
Downloads
pdf
html
epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.