The configuration of recognition lists and data is described in the RealtimeRecognizer.proto file.
The following 4 methods are used:
This method is used to add, edit and delete lists.
Input data
As an argument, the ChangeListsRequest structure is passed, in which 3 input data vectors are filled:
The lists themselves are a data structure with fields:
Outputs
In response to the method, you will receive a summary of list IDs that could not be added, edited or deleted.
This method is used to add, edit and delete the source data for the recognizer.
Input data
As an argument, the ChangeItemsRequest structure is passed, in which 3 input data vectors are filled:
The data are a data structure with fields:
The image has 2 fields: the id of the image and the image itself.
If you fill in only the id of the image during the editing, i.e. when the changed_items vector is formed, this will mean that the image with this id should be removed from the configuration.
Outputs
In response to the method, you will receive a summary of data IDs and image IDs that could not be added, edited or deleted.
This method displays the information about the lists in the configuration.
Input data
As an argument, the GetListsRequest structure is passed, in which 2 fields are filled:
These fields work as filters and can be passed together or separately.
Outputs
In response to the method, you will receive an array of lists.
This method displays the information about the data in the configuration.
Input data
As an argument, the GetItemsRequest structure is passed, in which 3 fields are filled:
Outputs
In response to the method, you will receive an array of data.