Administration panel#
CARS_Analytics provides the ability to administer the system using a graphical interface. The interface allows you to view and manage database objects (Figure 4).
Access to the admin panel is available at:
http://<IP-address>:8080/admin/
Authorization is carried out using the login and password of the CARS_Analytics administrator.
The admin panel provides access to engineering settings that can be used to perform CRUD operations on available objects.
Users are prohibited from editing, adding or deleting any other objects other than cameras, as this will entail critical errors in the operation of CARS_Analytics. Recommended to use the administrator interface in conjunction with VisionLabs engineers.
The description of the sections of the administrator interface is presented in Table 41.
Table 41. Description of the sections of the admin interface
| Section | Section description |
|---|---|
| Service versions | List of versions of all services |
| Authorization Manager | Application Administration section for «Authorization» app |
| Users | Adding or editing LUNA CARS users for a specific server |
| Users administration | Page with a full list of requested tokens |
| Activity logs | Administration section for activity logs |
| Activity logs | Page displaying all user actions with time, action type, objects, and their changes |
| Vehicle Filters | Administration section for available vehicle filters |
| Colors | Viewing or editing available vehicle colors, their ID and code |
| Countries | Viewing or editing vehicle countries, their ID and code |
| Car brands | List of available vehicle brands, their ID and code |
| Vehicle types | List of available vehicle types, their ID and code |
| Vehicle emergency types | Viewing or editing emergency vehicle types, their ID and code |
| Content Administration | Administration section of the CARS Analytics UI sections |
| Cameras | Adding or editing cameras |
| Camera regions | Adding or editing recognition zones |
| Lists | Adding or editing lists |
| Events | List of created and available events |
| Incidents | List of created and available incidents |
| CameraVectors | Adding or editing vectors for cameras |
| Task manager | Administration section for tasks |
| Tasks | List of background tasks and access to task detail views |
| Scenario manager | Administration section for scenarios |
| Scenarios | Adding or editing scenarios |
| Indicator types | Adding or editing scenario types |
Exporting and Importing Settings#
In the admin panel, located in the upper-right corner, there are two buttons: «Upload settings» and «Dump settings» (Figure 5).
- «Upload settings»: is used to load previously created settings for cameras, scenarios, and handlers.
- «Dump settings»: is used to export these settings.
Now, you can save all settings and later load them back, which significantly simplifies the process of restoring configurations and improves the convenience of working with them.
Export Settings
Once you have configured the system as needed, go to the admin panel and click the «Dump settings» button (Figure 6).
This will start the process of downloading a .json file, which will contain all your settings for cameras, scenarios, and handlers.
Import Settings
If you don't want to configure everything again or want to add previously configured cameras, scenarios, and handlers, go to the admin panel and click the «Upload settings» button (Figure 7).
This will open the «Upload settings» page, where you need to select the previously downloaded .json file and click the «Upload» button.
Afterward, you will be returned to the main page of the admin panel, where a green message «The task to download the settings is running» will appear at the top of the screen (Figure 8).
Now, you can go back to the necessary sections and check that the settings have been successfully loaded. Please note that in the «Cameras» section, cameras will be loaded without previews. You will need to reload the previews and enable the cameras.
Detailed instructions on how to set everything up correctly can be found in the «CARS_ANALYTICS_User_Manual».