Download src/__init__.py from Abs6187/Vehicle_Speed_Estimation_and_Counting: direct link, hf CLI and curl.
- Browser
- Download file 1.4 kB
-
https://huggingface.co/spaces/Abs6187/Vehicle_Speed_Estimation_and_Counting/resolve/main/src/__init__.py
- Command line
-
hf download hf://spaces/Abs6187/Vehicle_Speed_Estimation_and_Counting/src/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/Abs6187/Vehicle_Speed_Estimation_and_Counting/resolve/main/src/__init__.py
1.4 kB
| """ | |
| Vehicle Detection and Speed Estimation Package | |
| =============================================== | |
| A comprehensive system for vehicle detection, tracking, counting, and speed estimation | |
| using YOLO object detection and perspective transformation. | |
| Authors: | |
| - Abhay Gupta (0205CC221005) | |
| - Aditi Lakhera (0205CC221011) | |
| - Balraj Patel (0205CC221049) | |
| - Bhumika Patel (0205CC221050) | |
| Modules: | |
| - annotator: Frame annotation and visualization | |
| - speed_estimator: Vehicle speed calculation | |
| - view_transformer: Perspective transformation utilities | |
| - exceptions: Custom exception classes | |
| """ | |
| __version__ = "1.0.0" | |
| __author__ = "Abhay Gupta, Aditi Lakhera, Balraj Patel, Bhumika Patel" | |
| # Import main classes for easy access | |
| from .annotator import FrameAnnotator | |
| from .speed_estimator import VehicleSpeedEstimator | |
| from .view_transformer import PerspectiveTransformer | |
| from .exceptions import ( | |
| VehicleDetectionError, | |
| VideoProcessingError, | |
| ModelLoadError, | |
| ConfigurationError, | |
| DetectionError, | |
| TrackingError, | |
| SpeedEstimationError | |
| ) | |
| __all__ = [ | |
| "FrameAnnotator", | |
| "VehicleSpeedEstimator", | |
| "PerspectiveTransformer", | |
| "VehicleDetectionError", | |
| "VideoProcessingError", | |
| "ModelLoadError", | |
| "ConfigurationError", | |
| "DetectionError", | |
| "TrackingError", | |
| "SpeedEstimationError", | |
| ] |