Metadata-Version: 2.4
Name: slvehicle
Version: 0.1.0
Summary: Sri Lanka Vehicle Detection & Segmentation (slvy)
Author: SriLankaVehicleAI
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: numpy>=1.23
Requires-Dist: opencv-python>=4.7
Requires-Dist: onnxruntime>=1.16
Provides-Extra: gpu
Requires-Dist: onnxruntime-gpu>=1.16; extra == "gpu"
Provides-Extra: torch
Requires-Dist: torch>=2.0; extra == "torch"
Requires-Dist: ultralytics>=8.1; extra == "torch"
Dynamic: author
Dynamic: requires-python

# slvehicle (slvy) — Sri Lanka Vehicle AI

Vehicle detection & instance segmentation library for Sri Lankan traffic.

**Classes:** bike, bus, car, lorry, tuktuk, van

## Install

```bash
pip install slvehicle           # CPU
pip install slvehicle[gpu]      # GPU (CUDA)
```

## Usage

```python
from slvehicle import VehicleDetector

det = VehicleDetector()                              # auto device
result = det.detect('image.jpg')
det.detect_and_save('input_folder/', 'output_folder/')
```

## Performance

- mAP50: 97.3%
- Model size: 5.6 MB (FP16 ONNX)
- Speed: ~15 ms (GPU), ~80 ms (CPU)
