Spaces:
Sleeping
Sleeping
Download src/setup/__init__.py from andytaylor-smg/cfb40: direct link, hf CLI and curl.
- Browser
- Download file 771 Bytes
-
https://huggingface.co/spaces/andytaylor-smg/cfb40/resolve/main/src/setup/__init__.py
- Command line
-
hf download hf://spaces/andytaylor-smg/cfb40/src/setup/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/andytaylor-smg/cfb40/resolve/main/src/setup/__init__.py
771 Bytes
| """Setup modules for one-time preparation before video processing. | |
| This package contains components for: | |
| - Building digit templates from OCR-labeled samples | |
| - Extracting and preprocessing play clock regions for OCR | |
| Templates are built once during an initial collection phase, then used for fast | |
| digit recognition during video processing. | |
| """ | |
| from .models import DigitSample, DigitTemplate, PlayClockRegionConfig | |
| from .template_library import DigitTemplateLibrary | |
| from .template_builder import DigitTemplateBuilder | |
| from .playclock_region import PlayClockRegionExtractor | |
| __all__ = [ | |
| # Models | |
| "DigitSample", | |
| "DigitTemplate", | |
| "PlayClockRegionConfig", | |
| # Classes | |
| "DigitTemplateLibrary", | |
| "DigitTemplateBuilder", | |
| "PlayClockRegionExtractor", | |
| ] | |