update OrbbecSDK version to v2.9.1_202607010300_01d0010

This commit is contained in:
ob-yalian
2026-07-01 14:14:02 +08:00
parent 3dea24f26b
commit 5849759d95
8 changed files with 6 additions and 6 deletions
@@ -2220,20 +2220,20 @@ public:
*
* @param value The confidence threshold.
*/
void setConfidenceThreshold(float value) {
setConfigValue("confidence_threshold", value);
void setConfidenceThreshold(uint32_t value) {
setConfigValue("confidence_threshold", static_cast<double>(value));
}
/**
* @brief Get the property range of the confidence threshold range.
*/
OBFloatPropertyRange getConfidenceThresholdRange() {
OBFloatPropertyRange range{};
const auto &schemaVec = getConfigSchemaVec();
OBIntPropertyRange getConfidenceThresholdRange() {
OBIntPropertyRange range{};
const auto &schemaVec = getConfigSchemaVec();
for(const auto &item: schemaVec) {
const char *name = "confidence_threshold";
if(std::strcmp(item.name, name) == 0) {
range = getPropertyRange<OBFloatPropertyRange>(item, getConfigValue(name));
range = getPropertyRange<OBIntPropertyRange>(item, getConfigValue(name));
break;
}
}
Binary file not shown.
Binary file not shown.