Skip to content

Commit

Permalink
rknn: update docs to remove dependence on full privileged docker (#1444)
Browse files Browse the repository at this point in the history
  • Loading branch information
bjia56 committed Apr 24, 2024
1 parent 4d2a038 commit 40c7132
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion plugins/rknn/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

This plugin adds object detection capabilities to any camera in Scrypted using the NPU accelerator on ARM64 Rockchip CPUs. Functionality has been tested on RK3588S, but should also work on RK3562, RK3576, and RK3588.

Using this plugin in Docker requires Docker to be run with the `--privileged` flag. When using this plugin in a local install, ensure you have installed Rockchip's `librknnrt.so` as `/usr/lib/librknnrt.so`.
Using this plugin in Docker requires Docker to be run with the `--security-opt systempaths=unconfined` flag due to a dependency on the `/proc/device-tree/compatible` file. Additionally, use the Docker flag `--device /dev/dri:/dev/dri` to ensure that the `/dev/dri/renderD129` device is accessible. When using this plugin in a local install, ensure you have installed Rockchip's `librknnrt.so` as `/usr/lib/librknnrt.so`.
4 changes: 2 additions & 2 deletions plugins/rknn/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion plugins/rknn/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,5 @@
"devDependencies": {
"@scrypted/sdk": "file:../../sdk"
},
"version": "0.0.1"
"version": "0.0.2"
}

0 comments on commit 40c7132

Please sign in to comment.