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