deepstream-services-library
deepstream-services-library copied to clipboard
Implement new dsl_ode_trigger_infer_confidence_max_get/set services.
New services to set a maximum inference confidence filter for all triggers - similar/opposite of the current minimum inference confidence service.
/**
* @brief Gets the current maximum confidence setting for the ODE Trigger
* A value of 0.0 (default) indicates the maximum confidence criteria is disabled
* @param[in] name unique name of the ODE Trigger to query
* @param[out] max_confidence current maximum confidence criteria
* @return DSL_RESULT_SUCCESS on successful query, DSL_RESULT_ODE_TRIGGER_RESULT otherwise.
*/
DslReturnType dsl_ode_trigger_infer_confidence_max_get(const wchar_t* name,
float* max_confidence);
/**
* @brief Sets the maximum confidence setting for the ODE Trigger.
* Setting the value of 0.0 indicates the maximum confidence criteria is disabled
* Note: the confidence level is only checked with the reported value is > 0.0
* @param[in] name unique name of the ODE Trigger to update
* @param[in] max_confidence maximum confidence to trigger an ODE occurrence
* @return DSL_RESULT_SUCCESS on successful query, DSL_RESULT_ODE_TRIGGER_RESULT otherwise.
*/
DslReturnType dsl_ode_trigger_infer_confidence_max_set(const wchar_t* name,
float max_confidence);
Merged into v0.26.alpha