Spaces:
Sleeping
Sleeping
File size: 949 Bytes
ecbaf10 fbeda03 ecbaf10 fbeda03 ecbaf10 fbeda03 ecbaf10 fbeda03 ecbaf10 fbeda03 ecbaf10 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | """
Shared utility modules for the cfb40 project.
This package contains utilities that are used across multiple modules
to avoid code duplication and circular imports.
"""
from .color import detect_red_digits, normalize_to_grayscale
from .regions import (
extract_left_region,
extract_right_region,
extract_center_region,
extract_far_left_region,
preprocess_playclock_region,
)
from .frame_result import create_frame_result
from .logging import (
log_flag_plays,
log_play_complete,
log_play_created,
)
__all__ = [
# Color utilities
"detect_red_digits",
"normalize_to_grayscale",
# Region extraction
"extract_left_region",
"extract_right_region",
"extract_center_region",
"extract_far_left_region",
"preprocess_playclock_region",
# Frame result factory
"create_frame_result",
# Logging helpers
"log_flag_plays",
"log_play_complete",
"log_play_created",
]
|