How-to · Displai
Run multiple instances of DeepSight Toolkit on Windows
Run a separate DeepSight Toolkit instance for each camera on one Windows machine by adding a line per camera to start.bat.
When to use this
Section titled “When to use this”Use this procedure when you need to run multiple cameras on a single Windows machine with DeepSight Toolkit. Each camera requires its own instance of the Toolkit with a separate configuration directory.
-
Open the DeepSight Toolkit installation directory on your Windows machine.
-
Locate the
start.batfile in the installation directory. -
Create a configuration directory for each camera instance you want to run (for example,
C:\config1andC:\config2). -
Open
start.batin a text editor. -
Add a line for each camera instance using this format:
START DeepSight-Toolkit.exe --capture <camera_index> --camera-name <name> --deepsight-application <your_app_key> --config-path <config_directory> -
Replace the placeholders:
<camera_index>: Use0for the first camera,1for the second, and so on<name>: Choose a descriptive name for the camera (for example,cam_01,cam_02)<your_app_key>: Paste your Displai application key<config_directory>: Enter the full path to the configuration directory you created (for example,C:\config1)
-
Save the modified
start.batfile. -
Run
start.batto launch all instances.
Verify
Section titled “Verify”Each instance opens in its own window and connects to its assigned camera. Check that:
- Each window shows a unique camera name you specified
- Video feeds display from the correct cameras
- No error messages appear in the command windows
If it doesn’t work
Section titled “If it doesn’t work”Cameras don’t start or show errors about device access:
- Verify each camera is connected and recognized by Windows
- Check that no other application is using the cameras
- Confirm each
--captureindex matches an available camera - Ensure camera indices are unique across all instances
Configuration conflicts or instances fail to launch:
- Verify each
--config-pathpoints to a different directory - Check that all configuration directories exist before launching
- Ensure your application key is valid and not expired
Need to identify which camera corresponds to which index:
- Escalate to support for help mapping physical cameras to system indices
Related articles
Section titled “Related articles”- 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.
- DeepSight Toolkit resources and getting started guide Follow the five-step DeepSight Toolkit trial flow, from download and installation to sample video testing and CMS integration.
- DeepSight Toolkit frequently asked questions Check whether your system can run DeepSight Toolkit: 32-bit builds aren’t supported, so you need a 64-bit system.
Still having trouble?
Text the 24/7 line or email support.