Spaces:
Sleeping
Sleeping
Download src/__init__.py from DocForg/Document_Forgery_Detection: direct link, hf CLI and curl.
- Browser
- Download file 918 Bytes
-
https://huggingface.co/spaces/DocForg/Document_Forgery_Detection/resolve/e003867ef40e89ed97fc5e8a3ee8fb174a489235/src/__init__.py
- Command line
-
hf download hf://spaces/DocForg/Document_Forgery_Detection@e003867ef40e89ed97fc5e8a3ee8fb174a489235/src/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/DocForg/Document_Forgery_Detection/resolve/e003867ef40e89ed97fc5e8a3ee8fb174a489235/src/__init__.py
918 Bytes
| """ | |
| Hybrid Document Forgery Detection & Localization System | |
| A robust hybrid (Deep Learning + Classical ML) system for multi-type | |
| document forgery detection and localization. | |
| Architecture: | |
| - Deep Learning: MobileNetV3-Small + UNet-Lite for pixel-level localization | |
| - Classical ML: LightGBM for interpretable forgery classification | |
| """ | |
| __version__ = "1.0.0" | |
| from .config import get_config | |
| from .models import get_model, get_loss_function | |
| from .data import get_dataset | |
| from .features import get_feature_extractor, get_mask_refiner, get_region_extractor | |
| from .training import get_trainer, get_metrics_tracker | |
| from .inference import get_pipeline | |
| __all__ = [ | |
| 'get_config', | |
| 'get_model', | |
| 'get_loss_function', | |
| 'get_dataset', | |
| 'get_feature_extractor', | |
| 'get_mask_refiner', | |
| 'get_region_extractor', | |
| 'get_trainer', | |
| 'get_metrics_tracker', | |
| 'get_pipeline' | |
| ] | |