Skip to content

Commit 40c7132

Browse files
authored
rknn: update docs to remove dependence on full privileged docker (#1444)
1 parent 4d2a038 commit 40c7132

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

plugins/rknn/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
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.
44

5-
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`.
5+
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`.

plugins/rknn/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

plugins/rknn/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,5 @@
4545
"devDependencies": {
4646
"@scrypted/sdk": "file:../../sdk"
4747
},
48-
"version": "0.0.1"
48+
"version": "0.0.2"
4949
}

0 commit comments

Comments
 (0)