Application Configuration File

This application can run multiple neural network object detection modules. Each of the modules requires a corresponding network module configuration (.json).

The general settings of the LumiScan AI Object Matching application are located in the ai-object-matching.json file. This file is used to specify how many neural network modules to load.

An example of application configuration JSON settings is shown below.

{
    "meta": {
        "inputFileType": "LumiScan-CtrlX-AI-Object-Matching",
        "inputFileVersion": "1.0.0",
        "targetMachine": "MachineName",
        "programName": "AI-Object-Matching",
        "programVersion": "1.0.0"
    },
    "modules": [
        "ai-object-matching-module.json"
    ]
}

The description of all the parameters mentioned above can be found in the following Table 1.

Table 1. Application Configuration File: JSON Settings Description
Parameter Description

meta

Place to set meta information: inputFileType and inputFileVersion are required.

inputFileType

In this case it must be: LumiScan-CtrlX-AI-Object-Matching

inputFileVersion

Currently, only version 1.0.0 is supported.

targetMachine

Optional. Enter the name of the machine in use here to indicate that the current application configuration is being used for this particular machine.

programName

Optional. This parameter indicates by which application the current file is used. In this case: AI-Object-Matching

programVersion

Optional. Currently used program version.

modules

Contains created model configuration files.

After changing the parameters, the LumiScan AI Object Matching application should be restarted.

Complete reference

Every setting of this file as its JSON Schema lumiscan-ai-object-matching.schema.json defines it, generated for version 2.1.0:

Setting Type Default Allowed values Description

meta

object

Required. Meta information about the application and current setting. This is mainly for information purpose and not used by the application itself

meta/inputFileType

string

not empty

Required.

meta/inputFileVersion

string

not empty

Required.

meta/targetMachine

string

not empty

Required.

meta/programName

string

not empty

Required.

meta/programVersion

string

not empty

Required.

modules

string[]

at least 1 entry

Required. List of module setting files that will be loaded by the application

system

object

system/debug

boolean

false

Enable debug mode for the application.

system/logLevel

string

INFO

TRACE, DEBUG, INFO, WARN, ERROR, FATAL

Log level for the application.

system/storage

object

Configuration for storage. The storage is used to store the images when save function is called.

system/storage/type

string

Samba

Required. The storage is a Samba storage.

system/storage/parameters

object

Parameters for the storage. The parameters are different for each storage type.

system/storage/parameters/ip

string

not empty

Required. The IP address of the Samba server.

system/storage/parameters/remotePath

string

not empty

Required.

system/storage/parameters/domain

string

not empty

Required.

system/storage/parameters/username

string

not empty

Required.

system/storage/parameters/password

string

not empty

Required.