impr: improve wildcard import

This commit is contained in:
283375 2023-07-15 19:43:41 +08:00
parent 1378931f68
commit d9f18a3ad8
2 changed files with 3 additions and 0 deletions

View File

@ -4,3 +4,4 @@ from .mask import *
from .ocr import *
from .recognize import *
from .template import *
from .utils import *

View File

@ -4,6 +4,8 @@ from numpy import uint8
from .types import Mat
__all__ = ["imread_unicode"]
def imread_unicode(filepath: str) -> Mat:
# https://stackoverflow.com/a/57872297/16484891