Skip to content

Run Rockchip previews on demand and share bundled demo video layers - #7

Open
Hanzo-Huang wants to merge 2 commits into
Seeed-Projects:mainfrom
Hanzo-Huang:cpp-on-demand-demo
Open

Hanzo-Huang wants to merge 2 commits into
Seeed-Projects:mainfrom
Hanzo-Huang:cpp-on-demand-demo

Conversation

@Hanzo-Huang

Copy link
Copy Markdown
Collaborator

Changes

  • Start the live decoder and NPU pool when the first preview subscriber connects. Share it while subscribers remain and stop it after the final disconnect.
  • Keep automatic multicore inference using two dedicated NPU cores on RK3576 and three on RK3588.
  • Package licensed clips for street scenes, pose, and oriented boxes. Select the clip by task and render task results in the browser.
  • Add the clip and its attribution in an independent BuildKit layer with fixed metadata. Keep the model package in its own final layer and verify video-layer reuse in the full build.

Verification

  • RK3576 detection and RK3588 pose passed idle/start/stop/reopen and concurrent viewer tests. Observed NPU core masks were [1, 2] and [1, 2, 4].
  • Two test images with different code layers and model layers contained the same compressed video blob.
  • All 84 model manifests validated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant