Downloads · 30 days
0
Adrihp06/TCGscanner-detector
TCGscanner-detector is a object detection model from Adrihp06. Use it when you need objects located in an image. It is set up for ultralytics. The card lists the license as other.
This repository contains the current ONNX card-boundary detector used by the TCGscanner prototype.
Downloads · 30 days
0
Access
Public
Updated Jun 28, 2026
Repo size
12.3 MB
Likes
1
Public
Click a slice to open those files.
.onnx12.3 MB · 100%
From the Hugging Face model README
This repository contains the current ONNX card-boundary detector used by the TCGscanner prototype.
The model is a single-class YOLO detector. Its task is to localize the physical trading card in a camera frame or photograph. Card identification is handled separately by SigLIP 2 visual embeddings and LanceDB vector search in the application repository.
riftbound_regions.onnx: exported ONNX detector expected at models/riftbound_regions.onnx by the scanner.11.70 MB8566d3c8556183c780eab0937f65d9862bdfc57697bfd3c33135218f28230f41card0.35The detector was trained on a universal TCG detection dataset that combines localized card examples from multiple trading card domains. The objective is to learn generic card geometry rather than the visual identity of a specific game.
The selected hybrid experiment used corners, polygons, and isolated full-card samples. The June 27, 2026 audit run reported:
| Experiment | Test precision | Test recall | Test mAP50 | Test mAP50-95 |
|---|---|---|---|---|
| localization_only | 0.9957 | 1.0000 | 0.9950 | 0.9141 |
| hybrid | 0.9992 | 1.0000 | 0.9950 | 0.9635 |
The selected hybrid run was stopped manually during epoch 42 after the validation curve had stabilized for the scanner use case. Its best validation checkpoint was epoch 40 with mAP50=0.9942 and mAP50-95=0.9628.
uv run python scripts/download_detector.py
The scanner loads the downloaded model from:
models/riftbound_regions.onnx