ToDevice
Function Usage
Transfers the image memory data stored in the Image class to the device.
Prototype
APP_ERROR ToDevice(const int32_t devId);
Parameter Description
Parameter |
Input/Output |
Description |
|---|---|---|
devId |
Input |
ID of the device to which the memory data is transferred |
Return Parameter Description
Data Structure |
Description |
|---|---|
APP_ERROR |
Error code returned during program execution. For details, see the MxBase/ErrorCode/ErrorCode.h file. |
Parent topic: Image