update OrbbecSDK version to 2.8.0

This commit is contained in:
ob-yalian
2026-03-23 18:07:10 +08:00
parent 25572985dc
commit 6344b2cfa0
22 changed files with 550 additions and 22 deletions
@@ -328,6 +328,15 @@ OB_EXPORT void ob_device_set_state_changed_callback(ob_device *device, ob_device
*/
OB_EXPORT void ob_device_enable_heartbeat(ob_device *device, bool enable, ob_error **error);
/**
* @brief Enable or disable the device firmware log.
*
* @param[in] device The device object.
* @param[in] enable Whether to enable the firmware log.
* @param[out] error Pointer to an error object that will be set if an error occurs.
*/
OB_EXPORT void ob_device_enable_firmware_log(ob_device *device, bool enable, ob_error **error);
/**
* @brief Send data to the device and receive data from the device.
* @brief This is a factory and debug function, which can be used to send and receive data from the device. The data format is secret and belongs to the device
@@ -1108,14 +1108,6 @@ typedef enum OB_EDGE_NOISE_REMOVAL_TYPE {
} OBEdgeNoiseRemovalType,
ob_edge_noise_removal_type;
typedef struct {
OBEdgeNoiseRemovalType type;
uint16_t marginLeftTh;
uint16_t marginRightTh;
uint16_t marginTopTh;
uint16_t marginBottomTh;
} OBEdgeNoiseRemovalFilterParams, ob_edge_noise_removal_filter_params;
/**
* @brief Denoising method
*/
@@ -1131,6 +1123,41 @@ typedef struct {
OBDDONoiseRemovalType type;
} OBNoiseRemovalFilterParams, ob_noise_removal_filter_params;
typedef struct {
int margin_x_th; ///< Horizontal threshold settings
int margin_y_th; ///< Vertical threshold settings
int limit_x_th; ///< Maximum horizontal threshold
int limit_y_th; ///< Maximum vertical threshold
uint32_t width; ///< Image width
uint32_t height; ///< Image height
bool enable_direction; ///< Set to true for horizontal and vertical, false for horizontal only
} OBEdgeNoiseRemovalFilterParams, ob_edge_noise_removal_filter_params;
/**
* @brief Configuration parameters for the MGC noise removal filter
*/
typedef struct {
int max_width_left; ///< Left chamfer threshold settings
int max_width_right; ///< Right chamfer threshold settings
int max_radius; ///< Chamfer radius threshold settings
int margin_x_th; ///< Horizontal threshold settings
int margin_y_th; ///< Vertical threshold settings
int limit_x_th; ///< Maximum horizontal threshold
int limit_y_th; ///< Maximum vertical threshold
uint32_t width; ///< Depth map width the above parameters correspond to
uint32_t height; ///< Depth map height the above parameters correspond to
} OBMgcNoiseRemovalFilterParams, ob_mgc_noise_removal_filter_params;
/**
* @brief Configuration parameters for the LUT noise removal filter
*/
typedef struct {
uint16_t max_lut[16]; ///< LUT max size of noise pixels (4x4 LUT, 16 entries total)
uint16_t min_diff; ///< Difference threshold between neighbor pixels
uint32_t width; ///< Depth map width the above parameters correspond to
uint32_t height; ///< Depth map height the above parameters correspond to
} OBLutNoiseRemovalFilterParams, ob_lut_noise_removal_filter_params;
/**
* @brief Control command protocol version number
*/
@@ -610,6 +610,16 @@ typedef enum {
*/
OB_PROP_COLOR_PRESET_PRIORITY_INT = 255,
/**
* @brief LLA (Link Local Address) switch
*/
OB_PROP_DEVICE_NETWORK_LLA_BOOL = 257,
/**
* @brief Color anti-flicker switch
*/
OB_PROP_COLOR_ANTI_FLICKER_BOOL = 259,
/**
* @brief Baseline calibration parameters
*/
@@ -549,6 +549,17 @@ public:
Error::handle(&error);
}
/**
* @brief Enable or disable the device firmware log.
*
* @param[in] enable Whether to enable the firmware log.
*/
void enableFirmwareLog(bool enable) const {
ob_error *error = nullptr;
ob_device_enable_firmware_log(impl_, enable, &error);
Error::handle(&error);
}
/**
* @brief Get the supported multi device sync mode bitmap of the device.
* @brief For example, if the return value is 0b00001100, it means the device supports @ref OB_MULTI_DEVICE_SYNC_MODE_PRIMARY and @ref
@@ -1121,6 +1121,166 @@ public:
}
};
/**
* @brief EdgeNoiseRemoval filter
*/
class EdgeNoiseRemovalFilter : public Filter {
public:
EdgeNoiseRemovalFilter(const std::string &activationKey = "") {
ob_error *error = nullptr;
auto impl = ob_create_private_filter("EdgeNoiseRemovalFilter", activationKey.c_str(), &error);
Error::handle(&error);
init(impl);
}
~EdgeNoiseRemovalFilter() noexcept override = default;
/**
* @brief Get the edge noise removal filter margin x th range.
* @return OBUint16PropertyRange The margin x th of property range.
*/
OBUint16PropertyRange getMarginXthRange() {
OBUint16PropertyRange range{};
const auto & schemaVec = getConfigSchemaVec();
for(const auto &item: schemaVec) {
if(strcmp(item.name, "margin_x_th") == 0) {
range = getPropertyRange<OBUint16PropertyRange>(item, getConfigValue("margin_x_th"));
break;
}
}
return range;
}
/**
* @brief Get the edge noise removal filter margin y th range.
* @return OBUint16PropertyRange The margin y th of property range.
*/
OBUint16PropertyRange getMarginYthRange() {
OBUint16PropertyRange range{};
const auto & schemaVec = getConfigSchemaVec();
for(const auto &item: schemaVec) {
if(strcmp(item.name, "margin_y_th") == 0) {
range = getPropertyRange<OBUint16PropertyRange>(item, getConfigValue("margin_y_th"));
break;
}
}
return range;
}
/**
* @brief Get the edge noise removal filter limit x th range.
* @return OBUint16PropertyRange The limit x th of property range.
*/
OBUint16PropertyRange getLimitXthRange() {
OBUint16PropertyRange range{};
const auto & schemaVec = getConfigSchemaVec();
for(const auto &item: schemaVec) {
if(strcmp(item.name, "limit_x_th") == 0) {
range = getPropertyRange<OBUint16PropertyRange>(item, getConfigValue("limit_x_th"));
break;
}
}
return range;
}
/**
* @brief Get the edge noise removal filter limit y th range.
* @return OBUint16PropertyRange The limit y th of property range.
*/
OBUint16PropertyRange getLimitYthRange() {
OBUint16PropertyRange range{};
const auto & schemaVec = getConfigSchemaVec();
for(const auto &item: schemaVec) {
if(strcmp(item.name, "limit_y_th") == 0) {
range = getPropertyRange<OBUint16PropertyRange>(item, getConfigValue("limit_y_th"));
break;
}
}
return range;
}
/**
* @brief Get the edge noise removal filter vertical direction enable range.
* @return OBUint16PropertyRange The vertical direction enable of property range.
*/
OBUint16PropertyRange getVerticalDirectionEnableRange() {
OBUint16PropertyRange range{};
const auto & schemaVec = getConfigSchemaVec();
for(const auto &item: schemaVec) {
if(strcmp(item.name, "enable_vertical_direction") == 0) {
range = getPropertyRange<OBUint16PropertyRange>(item, getConfigValue("enable_vertical_direction"));
break;
}
}
return range;
}
/**
* @brief Get the edge noise removal filter width range.
* @return OBUint16PropertyRange The width of property range.
*/
OBUint16PropertyRange getWidthRange() {
OBUint16PropertyRange range{};
const auto & schemaVec = getConfigSchemaVec();
for(const auto &item: schemaVec) {
if(strcmp(item.name, "width") == 0) {
range = getPropertyRange<OBUint16PropertyRange>(item, getConfigValue("width"));
break;
}
}
return range;
}
/**
* @brief Get the edge noise removal filter height range.
* @return OBUint16PropertyRange The height of property range.
*/
OBUint16PropertyRange getHeightRange() {
OBUint16PropertyRange range{};
const auto & schemaVec = getConfigSchemaVec();
for(const auto &item: schemaVec) {
if(strcmp(item.name, "height") == 0) {
range = getPropertyRange<OBUint16PropertyRange>(item, getConfigValue("height"));
break;
}
}
return range;
}
/**
* @brief Set the edge noise removal filter params.
*
* @param[in] filterParams OBEdgeNoiseRemovalFilterParams.
*/
void setFilterParams(OBEdgeNoiseRemovalFilterParams filterParams) {
setConfigValue("margin_x_th", static_cast<double>(filterParams.margin_x_th));
setConfigValue("margin_y_th", static_cast<double>(filterParams.margin_y_th));
setConfigValue("limit_x_th", static_cast<double>(filterParams.limit_x_th));
setConfigValue("limit_y_th", static_cast<double>(filterParams.limit_y_th));
setConfigValue("enable_vertical_direction", static_cast<double>(filterParams.enable_direction));
setConfigValue("width", static_cast<double>(filterParams.width));
setConfigValue("height", static_cast<double>(filterParams.height));
}
/**
* @brief Get the edge noise removal filter params.
*
* @return OBEdgeNoiseRemovalFilterParams.
*/
OBEdgeNoiseRemovalFilterParams getFilterParams() {
OBEdgeNoiseRemovalFilterParams param{};
param.margin_x_th = static_cast<uint16_t>(getConfigValue("margin_x_th"));
param.margin_y_th = static_cast<uint16_t>(getConfigValue("margin_y_th"));
param.limit_x_th = static_cast<uint16_t>(getConfigValue("limit_x_th"));
param.limit_y_th = static_cast<uint16_t>(getConfigValue("limit_y_th"));
param.enable_direction = static_cast<uint16_t>(getConfigValue("enable_vertical_direction"));
param.width = static_cast<uint16_t>(getConfigValue("width"));
param.height = static_cast<uint16_t>(getConfigValue("height"));
return param;
}
};
/**
* @brief FalsePositive filter
*/
@@ -1459,6 +1619,311 @@ public:
}
};
/**
* @brief MgcNoiseRemoval filter
*/
class MgcNoiseRemovalFilter : public Filter {
public:
MgcNoiseRemovalFilter(const std::string &activationKey = "") {
ob_error *error = nullptr;
auto impl = ob_create_private_filter("MgcNoiseRemovalFilter", activationKey.c_str(), &error);
Error::handle(&error);
init(impl);
}
~MgcNoiseRemovalFilter() noexcept override = default;
/**
* @brief Set the mgc noise removal filter params.
* @param[in] filterParams OBMgcNoiseRemovalFilterParams.
*/
void setFilterParams(OBMgcNoiseRemovalFilterParams filterParams) {
setConfigValue("max_width_left", static_cast<double>(filterParams.max_width_left));
setConfigValue("max_width_right", static_cast<double>(filterParams.max_width_right));
setConfigValue("max_radius", static_cast<double>(filterParams.max_radius));
setConfigValue("margin_x_th", static_cast<double>(filterParams.margin_x_th));
setConfigValue("margin_y_th", static_cast<double>(filterParams.margin_y_th));
setConfigValue("limit_x_th", static_cast<double>(filterParams.limit_x_th));
setConfigValue("limit_y_th", static_cast<double>(filterParams.limit_y_th));
setConfigValue("width", static_cast<double>(filterParams.width));
setConfigValue("height", static_cast<double>(filterParams.height));
}
/**
* @brief Get the mgc noise removal filter params.
* @return OBMgcNoiseRemovalFilterParams.
*/
OBMgcNoiseRemovalFilterParams getFilterParams() {
OBMgcNoiseRemovalFilterParams params{};
params.max_width_left = static_cast<int>(getConfigValue("max_width_left"));
params.max_width_right = static_cast<int>(getConfigValue("max_width_right"));
params.max_radius = static_cast<int>(getConfigValue("max_radius"));
params.margin_x_th = static_cast<int>(getConfigValue("margin_x_th"));
params.margin_y_th = static_cast<int>(getConfigValue("margin_y_th"));
params.limit_x_th = static_cast<int>(getConfigValue("limit_x_th"));
params.limit_y_th = static_cast<int>(getConfigValue("limit_y_th"));
params.width = static_cast<uint32_t>(getConfigValue("width"));
params.height = static_cast<uint32_t>(getConfigValue("height"));
return params;
}
/**
* @brief Get the mgc noise removal filter max_width_left range.
* @return OBUint16PropertyRange The max_width_left of property range.
*/
OBUint16PropertyRange getMaxWidthLeftRange() {
OBUint16PropertyRange range{};
const auto &schemaVec = getConfigSchemaVec();
for(const auto &item: schemaVec) {
if(strcmp(item.name, "max_width_left") == 0) {
range = getPropertyRange<OBUint16PropertyRange>(item, getConfigValue("max_width_left"));
break;
}
}
return range;
}
/**
* @brief Get the mgc noise removal filter max_width_right range.
* @return OBUint16PropertyRange The max_width_right of property range.
*/
OBUint16PropertyRange getMaxWidthRightRange() {
OBUint16PropertyRange range{};
const auto &schemaVec = getConfigSchemaVec();
for(const auto &item: schemaVec) {
if(strcmp(item.name, "max_width_right") == 0) {
range = getPropertyRange<OBUint16PropertyRange>(item, getConfigValue("max_width_right"));
break;
}
}
return range;
}
/**
* @brief Get the mgc noise removal filter max_radius range.
* @return OBUint16PropertyRange The max_radius of property range.
*/
OBUint16PropertyRange getMaxRadiusRange() {
OBUint16PropertyRange range{};
const auto &schemaVec = getConfigSchemaVec();
for(const auto &item: schemaVec) {
if(strcmp(item.name, "max_radius") == 0) {
range = getPropertyRange<OBUint16PropertyRange>(item, getConfigValue("max_radius"));
break;
}
}
return range;
}
/**
* @brief Get the mgc noise removal filter margin_x_th range.
* @return OBUint16PropertyRange The margin_x_th of property range.
*/
OBUint16PropertyRange getMarginXthRange() {
OBUint16PropertyRange range{};
const auto &schemaVec = getConfigSchemaVec();
for(const auto &item: schemaVec) {
if(strcmp(item.name, "margin_x_th") == 0) {
range = getPropertyRange<OBUint16PropertyRange>(item, getConfigValue("margin_x_th"));
break;
}
}
return range;
}
/**
* @brief Get the mgc noise removal filter margin_y_th range.
* @return OBUint16PropertyRange The margin_y_th of property range.
*/
OBUint16PropertyRange getMarginYthRange() {
OBUint16PropertyRange range{};
const auto &schemaVec = getConfigSchemaVec();
for(const auto &item: schemaVec) {
if(strcmp(item.name, "margin_y_th") == 0) {
range = getPropertyRange<OBUint16PropertyRange>(item, getConfigValue("margin_y_th"));
break;
}
}
return range;
}
/**
* @brief Get the mgc noise removal filter limit_x_th range.
* @return OBUint16PropertyRange The limit_x_th of property range.
*/
OBUint16PropertyRange getLimitXthRange() {
OBUint16PropertyRange range{};
const auto &schemaVec = getConfigSchemaVec();
for(const auto &item: schemaVec) {
if(strcmp(item.name, "limit_x_th") == 0) {
range = getPropertyRange<OBUint16PropertyRange>(item, getConfigValue("limit_x_th"));
break;
}
}
return range;
}
/**
* @brief Get the mgc noise removal filter limit_y_th range.
* @return OBUint16PropertyRange The limit_y_th of property range.
*/
OBUint16PropertyRange getLimitYthRange() {
OBUint16PropertyRange range{};
const auto &schemaVec = getConfigSchemaVec();
for(const auto &item: schemaVec) {
if(strcmp(item.name, "limit_y_th") == 0) {
range = getPropertyRange<OBUint16PropertyRange>(item, getConfigValue("limit_y_th"));
break;
}
}
return range;
}
/**
* @brief Get the mgc noise removal filter width range.
* @return OBUint16PropertyRange The width of property range.
*/
OBUint16PropertyRange getWidthRange() {
OBUint16PropertyRange range{};
const auto &schemaVec = getConfigSchemaVec();
for(const auto &item: schemaVec) {
if(strcmp(item.name, "width") == 0) {
range = getPropertyRange<OBUint16PropertyRange>(item, getConfigValue("width"));
break;
}
}
return range;
}
/**
* @brief Get the mgc noise removal filter height range.
* @return OBUint16PropertyRange The height of property range.
*/
OBUint16PropertyRange getHeightRange() {
OBUint16PropertyRange range{};
const auto &schemaVec = getConfigSchemaVec();
for(const auto &item: schemaVec) {
if(strcmp(item.name, "height") == 0) {
range = getPropertyRange<OBUint16PropertyRange>(item, getConfigValue("height"));
break;
}
}
return range;
}
};
/**
* @brief LutNoiseRemoval filter
*/
class LutNoiseRemovalFilter : public Filter {
public:
LutNoiseRemovalFilter(const std::string &activationKey = "") {
ob_error *error = nullptr;
auto impl = ob_create_private_filter("LutNoiseRemovalFilter", activationKey.c_str(), &error);
Error::handle(&error);
init(impl);
}
~LutNoiseRemovalFilter() noexcept override = default;
/**
* @brief Set the lut noise removal filter params.
* @param[in] filterParams OBLutNoiseRemovalFilterParams.
*/
void setFilterParams(OBLutNoiseRemovalFilterParams filterParams) {
for(int i = 0; i < 16; ++i) {
setConfigValue("max_lut_" + std::to_string(i), static_cast<double>(filterParams.max_lut[i]));
}
setConfigValue("min_diff", static_cast<double>(filterParams.min_diff));
setConfigValue("width", static_cast<double>(filterParams.width));
setConfigValue("height", static_cast<double>(filterParams.height));
}
/**
* @brief Get the lut noise removal filter params.
* @return OBLutNoiseRemovalFilterParams.
*/
OBLutNoiseRemovalFilterParams getFilterParams() {
OBLutNoiseRemovalFilterParams params{};
for(int i = 0; i < 16; ++i) {
params.max_lut[i] = static_cast<uint16_t>(getConfigValue("max_lut_" + std::to_string(i)));
}
params.min_diff = static_cast<uint16_t>(getConfigValue("min_diff"));
params.width = static_cast<uint32_t>(getConfigValue("width"));
params.height = static_cast<uint32_t>(getConfigValue("height"));
return params;
}
/**
* @brief Get the lut noise removal filter max_lut range for a given index (0-15).
* @param[in] index LUT entry index in range [0, 15].
* @return OBUint16PropertyRange The max_lut of property range.
*/
OBUint16PropertyRange getMaxLutRange(int index) {
OBUint16PropertyRange range{};
if(index < 0 || index >= 16) {
return range;
}
std::string name = "max_lut_" + std::to_string(index);
const auto &schemaVec = getConfigSchemaVec();
for(const auto &item: schemaVec) {
if(strcmp(item.name, name.c_str()) == 0) {
range = getPropertyRange<OBUint16PropertyRange>(item, getConfigValue(name));
break;
}
}
return range;
}
/**
* @brief Get the lut noise removal filter min_diff range.
* @return OBUint16PropertyRange The min_diff of property range.
*/
OBUint16PropertyRange getMinDiffRange() {
OBUint16PropertyRange range{};
const auto &schemaVec = getConfigSchemaVec();
for(const auto &item: schemaVec) {
if(strcmp(item.name, "min_diff") == 0) {
range = getPropertyRange<OBUint16PropertyRange>(item, getConfigValue("min_diff"));
break;
}
}
return range;
}
/**
* @brief Get the lut noise removal filter width range.
* @return OBUint16PropertyRange The width of property range.
*/
OBUint16PropertyRange getWidthRange() {
OBUint16PropertyRange range{};
const auto &schemaVec = getConfigSchemaVec();
for(const auto &item: schemaVec) {
if(strcmp(item.name, "width") == 0) {
range = getPropertyRange<OBUint16PropertyRange>(item, getConfigValue("width"));
break;
}
}
return range;
}
/**
* @brief Get the lut noise removal filter height range.
* @return OBUint16PropertyRange The height of property range.
*/
OBUint16PropertyRange getHeightRange() {
OBUint16PropertyRange range{};
const auto &schemaVec = getConfigSchemaVec();
for(const auto &item: schemaVec) {
if(strcmp(item.name, "height") == 0) {
range = getPropertyRange<OBUint16PropertyRange>(item, getConfigValue("height"));
break;
}
}
return range;
}
};
/**
* @brief Depth to disparity or disparity to depth
*/
@@ -1532,7 +1997,10 @@ inline const std::unordered_map<std::string, std::type_index> &getFilterTypeMap(
{ "HoleFillingFilter", typeid(HoleFillingFilter) }, { "NoiseRemovalFilter", typeid(NoiseRemovalFilter) },
{ "TemporalFilter", typeid(TemporalFilter) }, { "DisparityTransform", typeid(DisparityTransform) },
{ "SpatialFastFilter", typeid(SpatialFastFilter) }, { "SpatialModerateFilter", typeid(SpatialModerateFilter) },
{ "EdgeNoiseRemovalFilter", typeid(EdgeNoiseRemovalFilter) },
{ "FalsePositiveFilter", typeid(FalsePositiveFilter) },
{ "MgcNoiseRemovalFilter", typeid(MgcNoiseRemovalFilter) },
{ "LutNoiseRemovalFilter", typeid(LutNoiseRemovalFilter) },
};
return filterTypeMap;
}
@@ -8,12 +8,12 @@ set(CMAKE_IMPORT_FILE_VERSION 1)
# Import target "ob::OrbbecSDK" for configuration "Release"
set_property(TARGET ob::OrbbecSDK APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
set_target_properties(ob::OrbbecSDK PROPERTIES
IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/lib/libOrbbecSDK.so.2.7.7"
IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/lib/libOrbbecSDK.so.2.8.0"
IMPORTED_SONAME_RELEASE "libOrbbecSDK.so.2"
)
list(APPEND _cmake_import_check_targets ob::OrbbecSDK )
list(APPEND _cmake_import_check_files_for_ob::OrbbecSDK "${_IMPORT_PREFIX}/lib/libOrbbecSDK.so.2.7.7" )
list(APPEND _cmake_import_check_files_for_ob::OrbbecSDK "${_IMPORT_PREFIX}/lib/libOrbbecSDK.so.2.8.0" )
# Commands beyond this point should not need to know the version.
set(CMAKE_IMPORT_FILE_VERSION)
@@ -9,19 +9,19 @@
# The variable CVF_VERSION must be set before calling configure_file().
set(PACKAGE_VERSION "2.7.7")
set(PACKAGE_VERSION "2.8.0")
if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
set(PACKAGE_VERSION_COMPATIBLE FALSE)
else()
if("2.7.7" MATCHES "^([0-9]+)\\.")
if("2.8.0" MATCHES "^([0-9]+)\\.")
set(CVF_VERSION_MAJOR "${CMAKE_MATCH_1}")
if(NOT CVF_VERSION_MAJOR VERSION_EQUAL 0)
string(REGEX REPLACE "^0+" "" CVF_VERSION_MAJOR "${CVF_VERSION_MAJOR}")
endif()
else()
set(CVF_VERSION_MAJOR "2.7.7")
set(CVF_VERSION_MAJOR "2.8.0")
endif()
if(PACKAGE_FIND_VERSION_RANGE)
@@ -1 +1 @@
libOrbbecSDK.so.2.7.7
libOrbbecSDK.so.2.8.0
@@ -8,12 +8,12 @@ set(CMAKE_IMPORT_FILE_VERSION 1)
# Import target "ob::OrbbecSDK" for configuration "Release"
set_property(TARGET ob::OrbbecSDK APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
set_target_properties(ob::OrbbecSDK PROPERTIES
IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/lib/libOrbbecSDK.so.2.7.7"
IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/lib/libOrbbecSDK.so.2.8.0"
IMPORTED_SONAME_RELEASE "libOrbbecSDK.so.2"
)
list(APPEND _cmake_import_check_targets ob::OrbbecSDK )
list(APPEND _cmake_import_check_files_for_ob::OrbbecSDK "${_IMPORT_PREFIX}/lib/libOrbbecSDK.so.2.7.7" )
list(APPEND _cmake_import_check_files_for_ob::OrbbecSDK "${_IMPORT_PREFIX}/lib/libOrbbecSDK.so.2.8.0" )
# Commands beyond this point should not need to know the version.
set(CMAKE_IMPORT_FILE_VERSION)
@@ -9,19 +9,19 @@
# The variable CVF_VERSION must be set before calling configure_file().
set(PACKAGE_VERSION "2.7.7")
set(PACKAGE_VERSION "2.8.0")
if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
set(PACKAGE_VERSION_COMPATIBLE FALSE)
else()
if("2.7.7" MATCHES "^([0-9]+)\\.")
if("2.8.0" MATCHES "^([0-9]+)\\.")
set(CVF_VERSION_MAJOR "${CMAKE_MATCH_1}")
if(NOT CVF_VERSION_MAJOR VERSION_EQUAL 0)
string(REGEX REPLACE "^0+" "" CVF_VERSION_MAJOR "${CVF_VERSION_MAJOR}")
endif()
else()
set(CVF_VERSION_MAJOR "2.7.7")
set(CVF_VERSION_MAJOR "2.8.0")
endif()
if(PACKAGE_FIND_VERSION_RANGE)
+1 -1
View File
@@ -1 +1 @@
libOrbbecSDK.so.2.7.7
libOrbbecSDK.so.2.8.0
@@ -76,6 +76,9 @@
system's capabilities and the device's speciality. -->
<LinuxUVCBackend>Auto</LinuxUVCBackend>
<!-- GVCP port scheme: Standard = default port, SchemeB = custom port -->
<GVCPPortScheme>Standard</GVCPPortScheme>
<!-- Gemini305 config -->
<Gemini305>
<!-- Default backend for Linux UVC devices. If the LinuxUVCBackend is set to "Auto,"
@@ -180,8 +183,8 @@
</Misc>
<DepthPostProcessing>
<HardwareNoiseRemoveFilter>false</HardwareNoiseRemoveFilter>
<SoftwareNoiseRemoveFilter>true</SoftwareNoiseRemoveFilter>
<HardwareNoiseRemoveFilter>true</HardwareNoiseRemoveFilter>
<SoftwareNoiseRemoveFilter>false</SoftwareNoiseRemoveFilter>
</DepthPostProcessing>
<!-- Whether to enable heartbeat by default -->