Learning Path
From zero to your first installed app. Time estimates assume a NeoRuntime device on hand; every stage links to the artifact that carries it.
Note
Everything live — video streams, inference, overlay — talks to platform daemons over local sockets, so a device is required to run code. Without one, this page and the API reference still show you the shape of the SDK.
No device yet? Start at Device Onboarding — it covers buying an NE503 and logging in for the first time.
The path
Stage |
Time |
Do |
Where |
|---|---|---|---|
|
5 min |
Install the SDK, run one inference |
|
|
15 min |
Install the interactive teaching demo, drive its five stations |
sdk-teaching-demo (below) |
|
~1 h |
Read short runnable examples, start your app from the skeleton |
examples ladder (01-07) + |
|
day+ |
Package a |
|
|
anytime |
API reference, diagnostics, error lessons |
API Reference (site menu) |
Stage 1 — First run (5 minutes)
python -m pip install neoruntime-ipc-sdk
Then run the first-inference snippet from Quick Start on the
device. You are done when one infer() call returns detections.
Stage 2 — See every core pattern live (15 minutes)
sdk-teaching-demo is a single installable app with five live
stations against real camera streams: subscribe + infer + draw (B form),
platform overlay vs your own pixels, hardware routing (including a
deliberate refusal), A-form StreamPipeline, and cooldown-gated
event publishing. Every station shows the real code behind it (copy
button included) and the error lesson for that station — DMA -2811,
None vs [] overlay cleanup, exit codes under
restart_policy: on-failure.
# after downloading the bundle, on the device:
aipc-cli app install sdk-teaching-demo <path-to-app.yaml> <path-to-image.tar>
aipc-cli app start sdk-teaching-demo
Then open http://<device>:8090. You are done when you have driven
all five stations and read at least one error lesson.
Stage 3 — Adopt the patterns (~1 hour)
Work through the examples ladder
first: seven numbered minimal apps, 01 hello-app (runs without a device)
through 07 platform-overlay (annotate_result — the platform draws
the boxes, zero pixels in your app), with 05 live-detection covering the
live loop plus your own MJPEG page and 06 event-bridge bridging results
onto the event bus — each rung adds exactly one new idea and carries its
own offline tests, and rung 05 is teaching-demo station 1 as a
standalone app. The larger complete
examples (object-detection, people-counting,
person-detection) make good follow-up reading. Then start your own
app from the basic template.
You are done when you have read the ladder through (or your skeleton copy runs on the device) and changed one thing — a draw color, a topic name.
Stage 4 — Ship it
Application Image Build and Import Guide covers the app image contract: app.yaml
fields, restart_policy and exit-code semantics, packaging a
.neoapp, and registering your web page so the console can proxy it.
Stage 5 — Reference layer (anytime)
The API reference — this site’s menu, second section.
diagnostics()— the first stop when an app feels slow: it reports which operations run on hardware vs software fallbacks.diagnostics.check(...)doubles as a deployment gate.The teaching demo’s in-page error lessons stay available while the demo is installed.
Stuck?
App feels slow → call
diagnostics()and read theaccel_routersection: an operation silently on the CPU fallback is the usual cause.Overlay shows nothing → the overlay must be
enable()d first, and results expire after about two frame periods — see AI Overlay API.register_modelrejects your model → the model’s input geometry must match the stream geometry you subscribe; streaming subscriptions do not rescale frames client-side.Otherwise: GitHub issues.