gen-cards: regenerate Use-it block
Browse files
README.md
CHANGED
|
@@ -25,6 +25,15 @@ the answer to [apple/coreai-models#14](https://github.com/apple/coreai-models/is
|
|
| 25 |
<!-- gen-cards:use-it begin id=rf-detr (managed by scripts/gen-cards — edit cards.json / QuickStart.swift, not this block) -->
|
| 26 |
## Use it
|
| 27 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
▶️ **Run it (source)** — the [DetectCamera runner](https://github.com/john-rocky/coreai-kit/tree/main/Examples/DetectCamera)
|
| 29 |
(real-time object detection on the zero-copy camera path):
|
| 30 |
|
|
|
|
| 25 |
<!-- gen-cards:use-it begin id=rf-detr (managed by scripts/gen-cards — edit cards.json / QuickStart.swift, not this block) -->
|
| 26 |
## Use it
|
| 27 |
|
| 28 |
+
⚡ **One line** — this model is the default behind the kit's task op
|
| 29 |
+
(`import CoreAIOps`; no session, no model plumbing, downloads on first use):
|
| 30 |
+
|
| 31 |
+
```swift
|
| 32 |
+
let boxes = try await CoreAI.detect(inImageAt: url)
|
| 33 |
+
```
|
| 34 |
+
|
| 35 |
+
Twenty ops, one shape — [Cookbook](https://github.com/john-rocky/coreai-kit/blob/main/docs/COOKBOOK.md).
|
| 36 |
+
|
| 37 |
▶️ **Run it (source)** — the [DetectCamera runner](https://github.com/john-rocky/coreai-kit/tree/main/Examples/DetectCamera)
|
| 38 |
(real-time object detection on the zero-copy camera path):
|
| 39 |
|