1 related articles
A CoreML model works fine, but the image pipeline causes detection failure: 250 sheep, only 14 counted. Tiled inference and class-agnostic NMS merge push detections to 173 — revealing key preprocessing traps in on-device computer vision.