impr: __all__ for modules, style improvements

This commit is contained in:
2023-06-10 18:47:35 +08:00
parent ea31aaf00c
commit b823339986
9 changed files with 92 additions and 0 deletions

View File

@ -11,6 +11,19 @@ from .template import (
matchTemplateMultiple,
)
__all__ = [
"group_numbers",
"FilterDigitResultDict",
"filter_digit_results",
"ocr_digits",
"ocr_pure",
"ocr_far_lost",
"ocr_score",
"ocr_max_recall",
"ocr_rating_class",
"ocr_title",
]
def group_numbers(numbers: List[int], threshold: int) -> List[List[int]]:
"""