81 std::shared_ptr<const void>
data;
#define MMIND_DL_SDK_CC_API
mmind::base::StatusCode StatusCode
Represents an image structure for inference and visualization.
StatusCode show(const std::string &winName) const
Displays the image in a window.
std::shared_ptr< const void > data
Pointer to image pixel data (BGR format, row-major)
uint32_t height
Image height in pixels.
StatusCode createFromPath(const std::string &imagePath)
Creates an image by loading from a file path.
StatusCode save(const std::string &savePath) const
Saves the image to the specified file path.
uint32_t width
Image width in pixels.
size_t bytesPerRow
Number of bytes per row (stride/pitch)