Spaces:
Sleeping
Sleeping
Download utils/__init__.py from Pujan-Dev/OCR_NUMBERPLATE_YOLO: direct link, hf CLI and curl.
- Browser
- Download file 780 Bytes
-
https://huggingface.co/spaces/Pujan-Dev/OCR_NUMBERPLATE_YOLO/resolve/main/utils/__init__.py
- Command line
-
hf download hf://spaces/Pujan-Dev/OCR_NUMBERPLATE_YOLO/utils/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/Pujan-Dev/OCR_NUMBERPLATE_YOLO/resolve/main/utils/__init__.py
780 Bytes
| """Helper utilities for OCR pipeline.""" | |
| from .helper import ( | |
| detect_contours, | |
| filter_contours_by_size, | |
| extract_roi, | |
| convert_to_binary, | |
| remove_overlapping_centers, | |
| group_contours_by_line, | |
| format_plate_number, | |
| draw_detections, | |
| calculate_confidence_stats, | |
| save_contour_images, | |
| preprocess_plate_image, | |
| resize_with_aspect_ratio, | |
| validate_plate_format | |
| ) | |
| __all__ = [ | |
| 'detect_contours', | |
| 'filter_contours_by_size', | |
| 'extract_roi', | |
| 'convert_to_binary', | |
| 'remove_overlapping_centers', | |
| 'group_contours_by_line', | |
| 'format_plate_number', | |
| 'draw_detections', | |
| 'calculate_confidence_stats', | |
| 'save_contour_images', | |
| 'preprocess_plate_image', | |
| 'resize_with_aspect_ratio', | |
| 'validate_plate_format' | |
| ] | |