Log In

Using Inspector

Inspector is the application that can run the models trained in Brain Builder against images captured from industrial or smart cameras and output predictions using industrial protocols.

There are multiple versions of Inspector than can be used depending on the hardware in your environment.

Inspector Versions

  • Inspector is a PC application for Windows or Linux environments. It connects to GigE vision standard or USB3 Vision cameras for image inputs and can send outputs via Modbus TCP, Ethernet/IP, or through Neurala's C++ plugin framework. Most of the documentation on this and subsequent pages is specific to this version of Inspector.
  • InspectorWeb is a lightweight version of Inspector built to run directly on smart cameras without requiring a separate PC. See documentation for InspectorWeb here: InspectorWeb.
  • InspectorLib is a code library that can be used to integrate the functionality of Inspector into other applications and workflows. See documentation for InspectorLib here: InspectorLib.

βš™οΈ Settings

The first time Inspector is run, the application will walk the user through setup screens for key configuration options. These can be edited later on by clicking the gear icon at the bottom left of Inspector to reach the settings page.

Connect to Brain Builder

The first configuration step is to connect Inspector to Brain Builder in one of three locations - on this computer, on a local server, or in the cloud.

Depending on your selection, you will be prompted for additional information:

  • This machine - enter the user credentials for the instance of Brain Builder that has been installed on this computer. These credentials are created by the user the first time Brain Builder is opened.
  • Local network - enter the address of the networked computer where Brain Builder is running and the user credentials.
  • Cloud - enter the username and password that are associated with your cloud Brain Builder account.

Inspector will connect to the selected Brain Builder environment, confirm the username and password, and return a Success message when complete.

Define inputs

Inputs are the cameras from which Inspector will capture images.

  1. On the Define Inputs page, click + ADD INPUT to configure the first camera.
    Inspector will automatically detect GigE Vision Standard and USB3 Vision cameras that are on the same network as the computer on which Inspector is running. Those cameras will be listed in the drop-down menu called Input Types.
    If you installed the Getting Started Project when you installed VIA, you will also see simulated cameras available in this drop-down.
  2. Select the camera you wish to add. To confirm the camera is the correct one, you can click the Live View button to see the image coming in from the camera at that moment.
  3. Give the camera an Alias (a custom name you can assign to this Input to differentiate it from others).
  4. Once you have finished configuring the first input, click Save. You can then add additional inputs by clicking the + button at the top-right of the screen.
  5. When all of your inputs have been successfully defined, click Define Outputs to move to the next configuration step.

Define outputs

The next configuration step is to define the output protocol that Inspector will use to report results to the manufacturing environment. Inspector supports Modbus TCP, Ethernet/IP, or Neurala's C++ Plugin.

  1. Select the desired output type from the drop-town menu.
  2. For Modbus TCP, enter the Server ID of the connected Modbus TCP server. If you do not have a connected Modbus TCP server, any value may be entered to complete the configuration.
  3. Click Finish Configuration and you are ready to move onto the next step!

Choose data folder location

Inspector can capture and save images at multiple points of the training and inspection workflow. Inspector also has options to save inspection logs. By default, these files will be saved into folders in the Documents folder of the computer. This configuration step allows for the selection of an alternate location where those files will be saved.

  1. The default location is shown. To use this location, click Finish Configuration. To choose an alternative location, click the blue x next to the file path.
  2. Select the folder for the location where files should be stored.
  3. Once the new location has been set, click Finish Configuration.

Generate logs

It can be helpful to export log files from Inspector if you need to communicate with Neurala support for assistance resolving a problem.

  1. Go to the Settings page. Click on About Inspector.
  2. Click the text that says Generate Logs.
  3. Select the folder where Inspector should save the log export.

After the process is complete, Inspector will place a zip file with the logs in the selected location.

Advanced Camera Configuration

Inspector includes a camera configuration file that can be edited to modify the Genicam configuration parameters that Inspector uses at runtime.

This file can be found at the following location:

  • Windows:
  • Linux:

This file is originally defined by Pleora eBUS SDK. For more information about .pvcfg files see the Pleora Knowledge Base.

To generate configuration for you own camera, it is recommended to use Pleora eBUS Player (free Windows program). You may have to uninstall VIA before installing eBUS Player, or use another computer to generate your camera configuration. eBUS Player and Neurala Inspector rely on the same eBUS Runtime and cannot be installed

  1. Once you have configured the camera parameters to your liking, you may save them by
    navigating to File > Save.... Save anywhere convenient.
  2. Next, open the configuration file with a text editor such as Notepad.
  3. Locate your device configuration (you may find it easiest to search for the device mac address).
  4. The <device> tag may be unnamed. Rename using the Renaming Rules mentioned below.
  5. Locate your stream configuration.
  6. Rename <stream> using the Renaming Rules mentioned below.


Renaming Rules

For your convenience, we accept the following names for both Stream and Device, in the following order:

  1. Camera User defined name
  2. Camera Serial
  3. Camera Networking ID ID (MAC or USB index)
  4. Camera Model Name
  5. Camera Vendor Name
  6. Interface ID (MAC or USB index)
  7. Default

The Interface entry may be useful for Stream configuration.

From there, you can copy device and stream blocks to the Default.pvcfg file.

If you want to prevent your changes to be overridden during a future install, copy Default.pvcfg where convenient, and set the environment variable NEURALA_EBUS_PVCFG to point to it. If you had to create this variable, you will have to restart for the changes to take effect.