An offline tool to interact with IMX500-equipped smart cameras and develop applications for them. This software provides the following functionalities:
- Connection configuration
- Streaming control
- WASM Module deployment
- AI model deployment
- Camera firmware update
The Local Console requires the following dependencies to be installed on your system:
Make sure these programs are added to your system's PATH environment variable.
The installation procedure depends on your machine. It is outlined for each supported OS below.
Tip
Make sure your machine has a working Internet access, as all variants of the installation procedure will require downloading third-party dependencies.
You should execute the local-console-setup.exe installer, as your regular (i.e. non-admin) user. In order for the installer to download the system dependencies, the installer will attempt to run a shell script as an Administrator, causing Windows' UAC to prompt for your permission to do so. Once the system dependencies are installed, another shell script will be executed as your user, which will actually install the Local Console in your user account.
Currently there is no stand-alone installer as there is for Windows. Hence, after fulfilling the prerequisites, perform the following steps:
- Install
xclip(e.g. in Debian-based) - Create a python virtual environment:
$ python3.11 -m venv lcenv
$ . lcenv/bin/activate
(lcenv)$- Install the python wheel
local_console-*-py3-none-any.whl:
(lcenv)$ pip install local_console-*-py3-none-any.whlThe Local Console has been installed. To use it, either run the local-console command with the lcenv virtualenv activated, or use the absolute path to the local-console binary located in the bin subdirectory at the location of the lcenv virtualenv.
The procedure is pretty similar to Linux, except for the xclip requirement, which is unnecessary for this platform.
Then, install Local Console with the following commands:
$PATH_TO_YOUR_PYTHON_INTERPRETER -m pip install -e local-console/By default, the mosquitto service runs on port 1883. You can check its status with:
systemctl status mosquitto.serviceMake sure that its installation did not enable a running instance, by doing:
sudo systemctl disable mosquitto.service
sudo systemctl stop mosquitto.serviceThis action is only necessary once after installing the software.
To display help information, use:
local-console --helpTo run the Local Console GUI, use:
local-console guiOn start up, it spawns a MQTT broker instance listening on the configured port. Then a camera can connect to this broker, so that the GUI can provide access to camera actions such as image streaming.
For configuring connection parameters for the devices (or the simulated agents), you can use:
local-console config set <section> <value>and you can query the current values by using
local-console config get <section>To modify or query device parameters, use the option -d/--device.
Some parameters are nullable, such as device_id in the mqtt section. If you need to set such a parameter back to null (i.e. clear the parameter), you may use the unset action as follows:
local-console config unset <section>Nullable parameters will show up in the output of config get as assigned with = None
The CLI can generate a QR code for camera onboarding, so that the camera can connect to its broker:
local-console qrBy default, it will use the settings of the CLI. If the MQTT host is set to localhost, it will produce the QR code with the IP address of the externally-accessible interface to the local machine. For other settings, try the --help flag.