From 40c7132ec09f16f623da0fce478351115e206566 Mon Sep 17 00:00:00 2001 From: Brett Jia Date: Wed, 24 Apr 2024 13:30:37 -0400 Subject: [PATCH] rknn: update docs to remove dependence on full privileged docker (#1444) --- plugins/rknn/README.md | 2 +- plugins/rknn/package-lock.json | 4 ++-- plugins/rknn/package.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/rknn/README.md b/plugins/rknn/README.md index e2feaa0b6b..88ac1af913 100644 --- a/plugins/rknn/README.md +++ b/plugins/rknn/README.md @@ -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`. \ No newline at end of file +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`. \ No newline at end of file diff --git a/plugins/rknn/package-lock.json b/plugins/rknn/package-lock.json index 0d11bf05bd..88a84a615c 100644 --- a/plugins/rknn/package-lock.json +++ b/plugins/rknn/package-lock.json @@ -1,12 +1,12 @@ { "name": "@scrypted/rknn", - "version": "0.0.1", + "version": "0.0.2", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@scrypted/rknn", - "version": "0.0.1", + "version": "0.0.2", "devDependencies": { "@scrypted/sdk": "file:../../sdk" } diff --git a/plugins/rknn/package.json b/plugins/rknn/package.json index 2825d08eaa..a42d3ec151 100644 --- a/plugins/rknn/package.json +++ b/plugins/rknn/package.json @@ -45,5 +45,5 @@ "devDependencies": { "@scrypted/sdk": "file:../../sdk" }, - "version": "0.0.1" + "version": "0.0.2" }