set_deep_counting_model_paramSetDeepCountingModelParamSetDeepCountingModelParamset_deep_counting_model_paramT_set_deep_counting_model_param
Short description
set_deep_counting_model_paramSetDeepCountingModelParamSetDeepCountingModelParamset_deep_counting_model_paramT_set_deep_counting_model_param — Set selected parameters of the Deep Counting model.
Signature
set_deep_counting_model_param( deep_counting DeepCountingHandle, attribute.name GenParamName, attribute.value GenParamValue )void SetDeepCountingModelParam( const HTuple& DeepCountingHandle, const HTuple& GenParamName, const HTuple& GenParamValue )static void HOperatorSet.SetDeepCountingModelParam( HTuple deepCountingHandle, HTuple genParamName, HTuple genParamValue )def set_deep_counting_model_param( deep_counting_handle: HHandle, gen_param_name: MaybeSequence[str], gen_param_value: MaybeSequence[Union[float, int, str]] ) -> None
Herror T_set_deep_counting_model_param( const Htuple DeepCountingHandle, const Htuple GenParamName, const Htuple GenParamValue )
void HDlModelCounting::SetDeepCountingModelParam( const HTuple& GenParamName, const HTuple& GenParamValue ) const
void HDlModelCounting::SetDeepCountingModelParam( const HString& GenParamName, double GenParamValue ) const
void HDlModelCounting::SetDeepCountingModelParam( const char* GenParamName, double GenParamValue ) const
void HDlModelCounting::SetDeepCountingModelParam( const wchar_t* GenParamName, double GenParamValue ) const (Windows only)
void HDlModelCounting.SetDeepCountingModelParam( HTuple genParamName, HTuple genParamValue )
void HDlModelCounting.SetDeepCountingModelParam( string genParamName, double genParamValue )
Description
The operator set_deep_counting_model_paramSetDeepCountingModelParam sets the selected parameters
GenParamNamegenParamNamegen_param_name in the Deep Counting handle DeepCountingHandledeepCountingHandledeep_counting_handle to
the values passed in GenParamValuegenParamValuegen_param_value.
The possible parameters are listed and described in
get_deep_counting_model_paramGetDeepCountingModelParam.
Execution information
-
Multithreading type: reentrant (runs in parallel with non-exclusive operators).
-
Multithreading scope: global (may be called from any thread).
-
Processed without parallelization.
This operator modifies the state of the following input parameter:
During execution of this operator, access to the value of this parameter must be synchronized if it is used across multiple threads.
Parameters
DeepCountingHandledeepCountingHandledeep_counting_handle (input_control, state is modified) deep_counting → (handle)HTuple (HHandle)HDlModelCounting, HTuple (IntPtr)HHandleHtuple (handle)
Handle of the Deep Counting model.
GenParamNamegenParamNamegen_param_name (input_control) attribute.name(-array) → (string)HTuple (HString)HTuple (string)MaybeSequence[str]Htuple (char*)
Parameter names.
Default: 'min_score'"min_score"
List of values: 'angle_end', 'angle_start', 'angle_step', 'backbone_model', 'device', 'max_overlap', 'min_score', 'scale_max', 'scale_min', 'scale_step'"angle_end", "angle_start", "angle_step", "backbone_model", "device", "max_overlap", "min_score", "scale_max", "scale_min", "scale_step"
GenParamValuegenParamValuegen_param_value (input_control) attribute.value(-array) → (real / integer / string)HTuple (double / Hlong / HString)HTuple (double / int / long / string)MaybeSequence[Union[float, int, str]]Htuple (double / Hlong / char*)
Parameter values.
Default: 0.50.5
Result
If the parameters are valid, the operator set_deep_counting_model_paramSetDeepCountingModelParam
returns the value 2 (H_MSG_TRUE). If necessary an exception is raised.
Combinations with other operators
Combinations
Possible predecessors
create_deep_counting_modelCreateDeepCountingModel, get_deep_counting_model_paramGetDeepCountingModelParam
Possible successors
prepare_deep_counting_modelPrepareDeepCountingModel, apply_deep_counting_modelApplyDeepCountingModel
See also
get_deep_counting_model_paramGetDeepCountingModelParam
Module
Matching