Tiny Defects on Large Sheets (Tiled Detection)
Scan a wide panel or web in overlapping windows so a hairline defect stays above the detector's resolution floor — the windows turn on once you pick a detection model; until then it makes one pass over the whole frame.
How it works
- 1Local FolderSources
- 2Object DetectionVision Tasks
- 3Results ExportDeploy / Export
A single detector pass downscales the whole frame to its network's input size (typically ~640px) before it ever looks for anything — on a wide PCB panel or a long sheet-stock web, that shrinks a genuinely small defect (a hairline trace short, a pinhole, a fleck) below the resolution the model needs to see it at all. Fine-detail scan (sahiTiles: true here) instead slices the frame into overlapping scan windows (Window size sahiTileSize, Window overlap sahiOverlap — shipped at 384px / 0.25 here: a smaller window than the 640px default so a tiny defect fills more of each window's own effective resolution, at the cost of running more windows per frame) and pools every window's own detections back into one result via cross-window NMS, so a shared defect sitting on a window seam is merged once, not double-counted. Sensitivity / Min size / Dark objects tune the live classical region detector (auto-threshold + connected components) — lower Min size than the gallery's other detect-based recipes on purpose, since the whole point here is catching the small stuff; Dark objects is ON because defects on a light sheet are darker than it. LIMIT: the windows are scanned once a pretrained or trained detection model is picked on this block — until then the classical stand-in scans the whole frame in one pass, which finds tiny dark defects on an evenly lit sheet but is not a defect classifier. Fine-detail scan runs in Studio (the browser) only: task-detect's classical fallback and every pretrained transformers-family detect repo it wires SAHI through are outside the portable runtime, so this recipe runs full-fidelity in the Studio canvas and Try Models, and inside a deployed bundle only when it is bound to your own trained model. Export captures every detection window's pooled boxes as CSV/JSON/COCO once a run completes.
The deploy story
Studio-only today — Object Detection — every other block in this pipeline still exports and deploys off-platform.
Where a pipeline exports, the package is self-contained (one zip for every platform, with a compose.yaml for Docker), can write results to MQTT, Modbus-TCP and OPC-UA (MQTT and OPC-UA need a one-time npm install), can check itself against a stored test result when it starts (select Self-test), and sends no request to us. A model kit (Python scripts) carries the model and a runner only.
Every block here is a real, editable node — open it on the canvas and make it yours.
Open in StudioAll product and model names are trademarks of their respective owners; reference does not imply endorsement.