Change Description

Software Package Change Statement

All header files and dynamic libraries related to the Boost open source library in the software package installed by users, for example, all files in {SDK installation path}/mxVision-{version}/opensource/include/boost and all dynamic library files starting with libboost_ in {SDK installation path}/mxVision-{version}/opensource/lib/, are expected to be deleted in September 2025.

API Change Description

API changes in this section include addition, modification, deletion, and disuse statements. API changes include only code changes and do not include document optimization in terms of language, format, and link.
  • Addition: APIs are newly added in this version.
  • Modified: APIs are modified compared with the previous version.
  • Deletion: APIs are deleted in this version.
  • Disuse statement: APIs stop evolution since the version where disuse statements are made and will be deleted one year later.
Table 1 API change description

Class Name/API Prototype

Class/API Type

Change Type

Change Description

Version

APP_ERROR DeviceManager::SetDeviceSimple(DeviceContext device)

C++

Deletion

This API has been deleted. Use the SetDevice API of the DeviceManager class.

7.0.RC1

mxpi_nmsoverlapedroi plugin

C++

Deletion

This plugin has been deleted. Use the mxpi_nmsoverlapedroiV2 plugin.

7.0.RC1

std::string GetError(APP_ERROR err, std::string moduleName = "");

C++

Deletion

This API has been deleted. Use the GetErrorInfo API.

7.0.RC1

ModelPostProcessorBase class

C++

Disuse statement

This class will be officially deleted in December, 2025. Use the model postprocessing class of the tensorinfer framework.

6.0.RC1

ObjectPostProcessorBase class

C++

Disuse statement

This class will be officially deleted in December, 2025. Use the model postprocessing class of the tensorinfer framework.

6.0.RC1

read_image(inputPath, deviceId, decodeFormat)

Python

Disuse statement

This API will be officially deleted in December, 2025. Use the decode API of the ImageProcessor class.

6.0.RC1

resize(inputImage, resize, interpolation)

Python

Disuse statement

This API will be officially deleted in December, 2025. Use the resize API of the ImageProcessor class.

6.0.RC1

log

C++

Disuse statement

This API will be deleted in December, 2025. This API is for internal use only.

5.0.0

log

Python

Disuse statement

This API will be deleted in December, 2025. This API is for internal use only.

5.0.0

std::mutex& AscendStream::GetMutex();

C++

Deletion

This API has been deleted and is no longer open to external systems.

7.0.RC1

DvppWrapper Class

C++

Disuse statement

This class will be deleted in December, 2025. This class is for internal use only.

6.0.RC1

ModelInferenceProcessor Class

C++

Disuse statement

This class will be officially deleted in December, 2025. Use the Model class.

6.0.RC1

TensorBuffer class

C++

Deletion

This class has been deleted. Use the Tensor class instead.

7.0.RC1

TensorBase class

C++

Disuse statement

This class will be officially deleted in December, 2025. Use the Tensor class.

6.0.RC1

TensorShape class

C++

Deletion

This class has been deleted. Use the Tensor class instead.

7.0.RC1

TensorContext class

C++

Deletion

This class has been deleted. Use the DeviceManager class instead.

7.0.RC1

APP_ERROR MemoryHelper::Memcpy(MemoryData& dest, const MemoryData& src, size_t count);

C++

Deletion

This API has been discarded. Use the MxbsMemcpy API of the MemoryHelper class.

7.0.RC1

static APP_ERROR MemoryHelper::Free(MemoryData& data);

C++

Deletion

This API is deleted and is replaced by another function prototype.

7.0.RC1

static APP_ERROR MemoryHelper::Memset(MemoryData& data, int32_t value, size_t count)

C++

Deletion

This API has been discarded. Use the MxbsMemset API of the MemoryHelper class.

7.0.RC1

static APP_ERROR MemoryHelper::Memset(MemoryData& data, int32_t value, size_t count, AscendStream &stream)

C++

Deletion

This API has been discarded. Use the MxbsMemset API of the MemoryHelper class.

7.0.RC1

static APP_ERROR MemoryHelper::Malloc(MemoryData& data);

C++

Deletion

This API has been discarded. Use the MxbsMalloc API of the MemoryHelper class.

7.0.RC1

APP_ERROR ImageProcessor::Resize(const Image& inputImage, const Size& resize, Image& outputImage, const Interpolation interpolation = Interpolation::HUAWEI_HIGH_ORDER_FILTER);

C++

Deletion

This API has been deleted. Use other function prototypes of this API.

7.0.RC1

APP_ERROR ImageProcessor::Crop(const Image& inputImage, const Rect& cropRect, Image& outputImage);

C++

Deletion

This API has been deleted. Use other function prototypes of this API.

7.0.RC1

APP_ERROR ImageProcessor::Crop(const Image& inputImage, const std::vector<Rect>& cropRectVec, std::vector<Image>& outputImageVec);

C++

Deletion

This API has been deleted. Use other function prototypes of this API.

7.0.RC1

APP_ERROR ImageProcessor::Crop(const std::vector<Image>& inputImageVec, const std::vector<Rect>& cropRectVec, std::vector<Image>& outputImageVec);

C++

Deletion

This API has been deleted. Use other function prototypes of this API.

7.0.RC1

APP_ERROR ImageProcessor::CropResize(const Image& inputImage, const std::vector<Rect>& cropRectVec, const Size& resize, std::vector<Image>& outputImageVec);

C++

Deletion

This API has been deleted. Use other function prototypes of this API.

7.0.RC1

APP_ERROR ImageProcessor::CropResize(const Image& inputImage, const std::vector<std::pair<Rect, Size>>& cropResizeVec, std::vector<Image>& outputImageVec);

C++

Deletion

This API has been deleted. Use other function prototypes of this API.

7.0.RC1

APP_ERROR ImageProcessor::CropResize(const std::vector<Image>& inputImageVec, const std::vector<std::pair<Rect, Size>>& cropResizeVec, std::vector<Image>& outputImageVec);

C++

Deletion

This API has been deleted. Use other function prototypes of this API.

7.0.RC1

APP_ERROR ImageProcessor::CropAndPaste(const Image& inputImage, const std::pair<Rect, Rect>& cropPasteRect, Image& pastedImage);

C++

Deletion

This API has been deleted. Use other function prototypes of this API.

7.0.RC1

static APP_ERROR Tensor::TensorMalloc(Tensor &tensor)

C++

Disuse statement

This API will be deprecated and will be deleted in December, 2025. Use the Malloc API of the Tensor class.

5.0.0

APP_ERROR ThresholdBinary(const Tensor &src, Tensor &dst, float thresh, float maxVal, AscendStream &stream = AscendStream::DefaultStream());

C++

Disuse statement

This API will be deprecated and will be deleted in September, 2025. Use the Threshold API.

6.0.RC3

APP_ERROR Threshold(const Tensor &src, Tensor &dst, float thresh, float maxVal, const ThresholdType &thresholdType = ThresholdType::THRESHOLD_BINARY, AscendStream &stream = AscendStream::DefaultStream());

C++

Addition

This API is used for thresholding.

6.0.RC3

APP_ERROR Tensor::Malloc()

C++

Addition

This API is added to allocate tensor memory.

6.0.RC3

Header File Change Description

Table 2 Header file change description

Class Name/API Prototype/Header File

Class/API/Header File Type

Change Type

Change Description

Version

Constants.h

C++

Deletion

Deprecated

7.0.RC1

DvppWrapperDataType.h

C++

Disuse statement

This file will be officially deleted in December, 2025. It is for internal use only.

6.0.RC1

TensorDvpp.h

C++

Deletion

Deprecated

7.0.RC1

TensorOperations.h

C++

Deletion

Deprecated

7.0.RC1