card: iPhone numbers from the zero-copy DetectCamera pipeline
Browse files
README.md
CHANGED
|
@@ -26,14 +26,17 @@ the answer to [apple/coreai-models#14](https://github.com/apple/coreai-models/is
|
|
| 26 |
|
| 27 |
| file | input | params | M4 Max GPU | iPhone 17 Pro GPU |
|
| 28 |
|---|---|---|---|---|
|
| 29 |
-
| `rfdetr-nano_float32.aimodel` | 384×384 | 30.5M | **8.6 ms** (~116 FPS) | **
|
| 30 |
| `rfdetr-small_float32.aimodel` | 512×512 | 32.1M | **12.0 ms** (~83 FPS) | — |
|
| 31 |
-
| `rfdetr-medium_float32.aimodel` | 576×576 | 33.7M | **14.8 ms** (~68 FPS) | **56 ms (
|
| 32 |
| `rfdetr-large_float32.aimodel` | 704×704 | 33.9M | **19.1 ms** (~52 FPS) | — |
|
| 33 |
|
| 34 |
-
iPhone numbers are
|
| 35 |
[CoreAIKit DetectCamera example](https://github.com/john-rocky/coreai-kit)
|
| 36 |
-
(
|
|
|
|
|
|
|
|
|
|
| 37 |
|
| 38 |
fp32 is the ship dtype: it gates **detection-set exact** vs the PyTorch fp32 reference on
|
| 39 |
CPU and GPU (per confident detection: same class, IoU ≥ 0.999 measured, score within 2e-3),
|
|
|
|
| 26 |
|
| 27 |
| file | input | params | M4 Max GPU | iPhone 17 Pro GPU |
|
| 28 |
|---|---|---|---|---|
|
| 29 |
+
| `rfdetr-nano_float32.aimodel` | 384×384 | 30.5M | **8.6 ms** (~116 FPS) | **~25 ms (33–39 FPS live)** |
|
| 30 |
| `rfdetr-small_float32.aimodel` | 512×512 | 32.1M | **12.0 ms** (~83 FPS) | — |
|
| 31 |
+
| `rfdetr-medium_float32.aimodel` | 576×576 | 33.7M | **14.8 ms** (~68 FPS) | **56–63 ms (15–17 FPS live)** |
|
| 32 |
| `rfdetr-large_float32.aimodel` | 704×704 | 33.9M | **19.1 ms** (~52 FPS) | — |
|
| 33 |
|
| 34 |
+
iPhone numbers are end-to-end live-camera measurements from the
|
| 35 |
[CoreAIKit DetectCamera example](https://github.com/john-rocky/coreai-kit)
|
| 36 |
+
(Release; zero-copy capture pipeline — AVCaptureVideoPreviewLayer display,
|
| 37 |
+
hardware-scaled 32BGRA buffers, vImage preprocessing overlapped with GPU
|
| 38 |
+
inference). Peak measured 39.6 FPS ≈ the nano model ceiling; sustained
|
| 39 |
+
max-load throughput drops on a hot chassis (thermal).
|
| 40 |
|
| 41 |
fp32 is the ship dtype: it gates **detection-set exact** vs the PyTorch fp32 reference on
|
| 42 |
CPU and GPU (per confident detection: same class, IoU ≥ 0.999 measured, score within 2e-3),
|