Skip to content
Displai Displai Displai Knowledge Base Hoopla Help Center

Reference · Displai

DeepSight Toolkit command-line arguments for Windows

Look up the command-line arguments for launching DeepSight Toolkit on Windows, picking a video source, and running it at startup.

KB-0215 Last verified

Use this reference when you need to launch the DeepSight Toolkit from the command line on Windows, automate multiple instances at startup, or configure camera sources programmatically.

The full command structure is:

DeepSight-Toolkit [--file <videofile> | --capture <camera-id> | --stream <stream-url>] --camera-name <camera-name> [--deepsight-license] <key> --config-path <config-dir> [--hide] [--auto-play]

You must provide at least one video source and a camera name:

ArgumentDescription
--capture <camera-id>Numeric ID of the camera to capture. The first detected camera (e.g., built-in laptop camera) is ID 0, the second is ID 1, and so on.
--file <videofile>Full path to a video file to analyze.
--stream <stream-url>RTSP URL of a video stream to analyze, such as one from an IP camera.
--camera-name <camera-name>A name you assign to your camera to help identify it in reports.
ArgumentDescription
--deepsight-license <license-key>Your DeepSight Toolkit license key.
--config-path <config-dir>The directory where the settings file and log files are stored. You must have write permissions for this location. A warning appears if permissions are missing or the path is invalid.
--hideHides the interface; the Toolkit runs in the background.
--auto-playAutomatically starts analyzing when launched.
--help (or -?, -h)Displays command-line argument options.
--version (or -v)Displays Toolkit version information.

Capture from the first detected camera:

DeepSight-Toolkit --capture 0 --camera-name "Lobby Camera" --deepsight-license YOUR_KEY --config-path "C:\DeepSight\Config"

Analyze a video file:

DeepSight-Toolkit --file "C:\Videos\sample.mp4" --camera-name "Sample Video" --config-path "C:\DeepSight\Config"

Stream from an RTSP camera in the background:

DeepSight-Toolkit --stream "rtsp://192.168.1.100:554/stream" --camera-name "Front Entrance" --hide --auto-play --config-path "C:\DeepSight\Config"

An example autorun.bat script is provided with the Toolkit. You can use command-line arguments to auto-start multiple instances when your machine launches.

Place your batch script in the Windows Startup folder or configure it as a scheduled task to run at login.

  1. Run your command in a Windows command prompt or PowerShell.
  2. If using --hide, check Task Manager for the DeepSight-Toolkit process.
  3. Verify that log files appear in the directory specified by --config-path.
  4. If using --auto-play, confirm that analysis starts immediately without manual intervention.

Warning dialog about write permissions or invalid path:

  • Ensure the account running the Toolkit has write access to the --config-path directory.
  • Use a directory outside system-protected folders (e.g., avoid C:\Program Files).

Camera not detected (wrong camera-id):

  • Built-in laptop cameras are typically ID 0. External USB cameras are assigned IDs 1, 2, etc., in the order they were connected.
  • Disconnect other cameras, then reconnect the desired camera to ensure it receives ID 0.

License key not accepted:

  • Verify your key has no extra spaces or characters.
  • If the issue persists, escalate to support for license validation.

RTSP stream fails to connect:

  • Confirm the RTSP URL is correct and accessible from the machine.
  • Check firewall rules and network connectivity.

Still having trouble?

Text the 24/7 line or email support.