Name
query_data_code_2d_paramsT_query_data_code_2d_paramsQueryDataCode2dParamsquery_data_code_2d_paramsQueryDataCode2dParamsQueryDataCode2dParams — Get for a given 2D data code model the names of the generic
parameters or objects that can be used in the other 2D data code
operators.
The operator query_data_code_2d_paramsquery_data_code_2d_paramsQueryDataCode2dParamsquery_data_code_2d_paramsQueryDataCode2dParamsQueryDataCode2dParams returns the names of
the generic parameters that are supported by the 2D data code
operators set_data_code_2d_paramset_data_code_2d_paramSetDataCode2dParamset_data_code_2d_paramSetDataCode2dParamSetDataCode2dParam,
get_data_code_2d_paramget_data_code_2d_paramGetDataCode2dParamget_data_code_2d_paramGetDataCode2dParamGetDataCode2dParam, find_data_code_2dfind_data_code_2dFindDataCode2dfind_data_code_2dFindDataCode2dFindDataCode2d,
get_data_code_2d_resultsget_data_code_2d_resultsGetDataCode2dResultsget_data_code_2d_resultsGetDataCode2dResultsGetDataCode2dResults, and
get_data_code_2d_objectsget_data_code_2d_objectsGetDataCode2dObjectsget_data_code_2d_objectsGetDataCode2dObjectsGetDataCode2dObjects.
The parameter QueryNameQueryNameQueryNameQueryNameQueryNamequeryName is used to select the desired
parameter group:
- 'get_model_params'"get_model_params""get_model_params""get_model_params""get_model_params""get_model_params":
-
get_data_code_2d_paramget_data_code_2d_paramGetDataCode2dParamget_data_code_2d_paramGetDataCode2dParamGetDataCode2dParam - Parameters for querying
the 2D data code model.
- 'set_model_params'"set_model_params""set_model_params""set_model_params""set_model_params""set_model_params":
-
set_data_code_2d_paramset_data_code_2d_paramSetDataCode2dParamset_data_code_2d_paramSetDataCode2dParamSetDataCode2dParam - Parameters for adjusting the
2D data code model.
- 'find_params'"find_params""find_params""find_params""find_params""find_params":
-
find_data_code_2dfind_data_code_2dFindDataCode2dfind_data_code_2dFindDataCode2dFindDataCode2d - Parameters used while
searching and reading the 2D data code symbols.
- 'get_result_params'"get_result_params""get_result_params""get_result_params""get_result_params""get_result_params":
-
get_data_code_2d_resultsget_data_code_2d_resultsGetDataCode2dResultsget_data_code_2d_resultsGetDataCode2dResultsGetDataCode2dResults - Parameters for querying
the alphanumerical results of the symbol search.
- 'get_result_objects'"get_result_objects""get_result_objects""get_result_objects""get_result_objects""get_result_objects":
-
get_data_code_2d_objectsget_data_code_2d_objectsGetDataCode2dObjectsget_data_code_2d_objectsGetDataCode2dObjectsGetDataCode2dObjects - Parameters for accessing
the iconic objects of the symbol search.
The returned parameter list depends only on the type of the data
code and not on the current state of the model or its results.
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Handle of the 2D data code model.
Name of the parameter group.
Default value:
'get_result_params'
"get_result_params"
"get_result_params"
"get_result_params"
"get_result_params"
"get_result_params"
List of values: 'find_params'"find_params""find_params""find_params""find_params""find_params", 'get_model_params'"get_model_params""get_model_params""get_model_params""get_model_params""get_model_params", 'get_result_objects'"get_result_objects""get_result_objects""get_result_objects""get_result_objects""get_result_objects", 'get_result_params'"get_result_params""get_result_params""get_result_params""get_result_params""get_result_params", 'set_model_params'"set_model_params""set_model_params""set_model_params""set_model_params""set_model_params"
List containing the names of the supported generic
parameters.
* This example demonstrates how the names of all available model parameters
* can be queried. This is used to request first the settings of the
* untrained and then the settings of the trained model.
* Create a model for reading Data matrix ECC 200 codes
create_data_code_2d_model ('Data Matrix ECC 200', [], [], DataCodeHandle)
* Query all the names of the generic parameters that can be passed to the
* operator get_data_code_2d_param to request the model
query_data_code_2d_params (DataCodeHandle, 'get_model_params', GenParamNames)
* Request the current settings of the (untrained) model
get_data_code_2d_param(DataCodeHandle, GenParamNames, ModelParams)
* Read a training image
read_image (Image, 'datacode/ecc200/ecc200_cpu_008')
* train the model with the symbol in the image
find_data_code_2d (Image, SymbolXLDs, DataCodeHandle, 'train', 'all', \
ResultHandles, DecodedDataStrings)
* Request the current settings of the (now trained) model
get_data_code_2d_param(DataCodeHandle, GenParamNames, TrainedModelParams)
* Create a tuple that demonstrates the changings
ModelAdaption := GenParamNames + ': ' + ModelParams + ' -> ' + \
TrainedModelParams
* Clear the model
clear_data_code_2d_model (DataCodeHandle)
The operator query_data_code_2d_paramsquery_data_code_2d_paramsQueryDataCode2dParamsquery_data_code_2d_paramsQueryDataCode2dParamsQueryDataCode2dParams returns the value 2 (H_MSG_TRUE)
if the given parameters are correct.
Otherwise, an exception is raised.
create_data_code_2d_modelcreate_data_code_2d_modelCreateDataCode2dModelcreate_data_code_2d_modelCreateDataCode2dModelCreateDataCode2dModel
get_data_code_2d_paramget_data_code_2d_paramGetDataCode2dParamget_data_code_2d_paramGetDataCode2dParamGetDataCode2dParam,
get_data_code_2d_resultsget_data_code_2d_resultsGetDataCode2dResultsget_data_code_2d_resultsGetDataCode2dResultsGetDataCode2dResults,
get_data_code_2d_objectsget_data_code_2d_objectsGetDataCode2dObjectsget_data_code_2d_objectsGetDataCode2dObjectsGetDataCode2dObjects
Data Code