Skip to main content

Installation

Overview

This installation and configuration guide provides a step-by-step process for deploying Scylla's video analytics on Nvidia Jetson devices. Scylla’s advanced video analytics solutions leverage AI and deep learning models to enhance surveillance systems by providing real-time, automated detection of various objects and behavior anomalies.

warning

The installation script is encrypted; you will be prompted to enter a decryption key. You can obtain a key by contacting support@scylla.ai please provide your license key ID so support can identify you as a customer.

Prerequisites

Before proceeding with the installation, ensure the following prerequisites are met, Once done, you can proceed with the installation steps below.

SSH Access

info

SSH (Secure Shell) is a cryptographic network protocol used for secure data communication, remote command-line login, and other secure network services between two networked computers. It provides strong authentication and encrypted data communications.

There are several common ways to SSH into the AI box:

  1. Local Network Access
    The client PC (laptop or desktop) is on the same local network as the AI box.
  1. Access via Jump Server
    The client PC connects to an intermediate computer (jump server) that resides on the same network as the AI box.
  1. Direct Access via Public IP
    The AI box is assigned a public IP address, allowing the user to connect over the internet using either password or SSH key authentication.

Internet Connectivity

Ensure the AI box has an active internet connection to allow for software installation, updates, and remote support if needed.

Compatibility Check

The following table lists the supported software features and their abbreviations used throughout this documentation.

AI module nameDescriptionShort Name
Intruder DetectionDetects person or vehicle intrusionsids
Gun DetectionIdentifies presence of firearms such as guns rifles shotgunsptd

The table below outlines the compatibility of supported features with various NVIDIA Jetson hardware platforms and Jetpack OS versions.

OS VersionOrin Nano 8GBOrin NX 8GBOrin NX 16GBXavier NX
Jetpack 6.0 GA (R36.3.0)PTD, IDSPTDPTD, IDS
Jetpack 6.0 DP (R36.2.0)PTD, IDSPTDPTD, IDS
Jetpack 5.1.1 (R35.3.1)IDSPTD, IDSIDS
Jetpack 4.6 (R32.6.1)PTD, IDS

Dependency Check

These dependencies are critical for the proper functioning of the system and must be matched to your device's OS and Jetpack version.

warning

The installation script will assume that the exact version of the following dependencies is installed and configured properly based on the device type and OS prior running the installation. This is applicable to all types of devices except Hanwha Jetson Camera or AI Box

OS VersionJetpack VersionCudacuDNNTensorRTNvidia Container ToolkitDocker
Ubuntu 22.04Jetpack 6.0 GA (R36.3.0)12.2.1408.9.4.258.6.2.31.14.2-127.1.1
Ubuntu 22.04Jetpack 6.0 DP (R36.2.0)12.2.1408.9.4.258.6.2.31.14.2-127.1.1
Ubuntu 20.04Jetpack 5.1.1 (R35.3.1)11.4.3158.6.0.1668.5.2.21.11.0~rc.1-126.1.3
Ubuntu 18.04Jetpack 4.6 (R32.6.1)10.2.3008.2.1.328.0.1.61.0.1-120.10.21

Installation

warning

If you are installing on Hanwha Jetson Camera or AI Box You must specify the following environment variable

export SCYLLA_HANWHA_WISENET_ENABLED=1

Environment Variables

Below is a table describing the environment variables that can be used to configure Scylla Asteria. These variables control installation options, debugging, integrations, and other behaviors. Adjust them as needed for your deployment.

VariableDescriptionRequiredDefaultExample Value
SCYLLA_MODULE_NAMEModule to install (PTD = Weapons Detection, IDS = Intrusion Detection System)YesN/APTD
SCYLLA_DEBUG_ENABLEDEnable debug mode (1 = enabled, default is 0 if not set)No01
SCYLLA_SHOW_PROGRESSShow installation progress (1 = enabled)No01
SCYLLA_TELE_LABEL_OWNERCustomer/owner label for telemetryNoN/A"CustomerX"
SCYLLA_NETRINOS_ENABLEDEnable Netrinos integration (1 = enabled)No01
SCYLLA_ROOT_PASSChange root password of the serverNoN/A"securePass123"
SCYLLA_AI_COMPONENT_VERSIONSpecify custom AI component version for updatesNoLatest"v1.2.3"
SCYLLA_DECRYPT_PASSPHRASESpecify decryption keyNoNone"mySecretKey"
SCYLLA_FRONTENDSet to "noninteractive" to run the installation in unattended modeNoN/A"noninteractive"
SCYLLA_HANWHA_WISENET_ENABLEDSet to 1 to install components on wisenet AI box and cameraNoNA1
SCYLLA_LEGACY_XAVIER_SUPPORT=0Set to 1 to install to use legacy component of IDS (dashboard v5.3.0)NoNA1

PTD (Weapons Detection)

export SCYLLA_MODULE_NAME=PTD
export SCYLLA_SHOW_PROGRESS=1
export SCYLLA_TELE_LABEL_OWNER=GoodCustomer

sudo -E bash -c "$(curl -fsSL https://edge.install.scylla.site/scripts/install.sh)"

This script will configure the device and download the latest version of PTD (Gun Detection) software.

IDS (Intrustion Detection)

export SCYLLA_MODULE_NAME=IDS
export SCYLLA_SHOW_PROGRESS=1
export SCYLLA_TELE_LABEL_OWNER=GoodCustomer

sudo -E bash -c "$(curl -fsSL https://edge.install.scylla.site/scripts/install.sh)"

This script will configure the device and download the latest version of IDS (Intrustion Detection System) software.

Example installing on Hanwha Jetson Camera or AI Box

export SCYLLA_HANWHA_WISENET_ENABLED=1
export SCYLLA_MODULE_NAME=PTD
export SCYLLA_SHOW_PROGRESS=1
export SCYLLA_TELE_LABEL_OWNER=GoodCustomer

sudo -E bash -c "$(curl -fsSL https://edge.install.scylla.site/scripts/install.sh)"
note

Please note that depending on the internet connection, downloading may take some time, so once the script is finished, give it enough time to download the software, you can always check the status by typing docker ps.

Access web UI

Once the download is complete, use the device IPv4 to access the web UI default credentials are admin/admin. For the dashboard user manual or installation support contact support@scylla.ai

note

For Hanwha Jetson Camera or AI Box:

Use the camera's IPv4 to access the web UI and follow the steps below to configure the dashboard ports:

  1. Login to the camera UI on the left side and select Basic / IP and PORT.
  2. Scroll down to Jetson port:
    • For “to camera”, type 8080.
    • For “to jetson”, type 8080.
  3. Click Apply to save the configuration.
  4. Login to the dashboard by typing the camera IP followed by port 8080.

Remove and Reinstall

danger

This section describes a command that can remove software configuration and data. Double-check your input!

There are cases where you might want to remove or clean up the device and reinstall the software. For example, if a device has IDS installed but you want to switch to PTD, run the delete script first.

tip

Specify this environment variable to avoid deleting software images. This is useful if you need to reinstall the software, as it will take less time to download the image by pulling only updates from the remote repository instead of the entire image.

export SCYLLA_DELETE_DOCKER_IMAGES=0

Open terminal window and type the following command

sudo -E bash -c "$(curl -fsSL https://edge.install.dev.scylla.site/scripts/delete.sh)"

Once cleanup is finished you can install the software again if you want to.