| from __future__ import annotations | |
| from typing import TypedDict | |
| import torch | |
| class FingerprintSample(TypedDict): | |
| """Canonical sample format for SIFQ pipelines.""" | |
| image: torch.Tensor | |
| identity_id: str | |
| finger_id: str | |
| sensor_id: str | |
| dataset: str | |
| image_path: str | |