Skip to content

有针对性初始化所需模型 #537

@SWHL

Description

@SWHL

问题描述 / Problem Description

现在逻辑是会在实例化RapidOCR时,将det cls rec三个模型均加载到内存中。后续调用时候,再来指定用哪个?

如果在仅用det模型时,这样会造成一些内存资源的浪费。

可能解决方案 / Possible solutions

use_det | use_cls | use_rec参数上移,放到__init__中?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions