Struct InferenceEngine::ROI

struct ROI

This structure describes ROI data for image-like tensors.

Public Functions

inline ROI(size_t id, size_t posX, size_t posY, size_t sizeX, size_t sizeY)

Creates a ROI objects with given parameters.

Parameters
  • id – ID of a ROI (offset over batch dimension)

  • posX – W upper left coordinate of ROI

  • posY – H upper left coordinate of ROI

  • sizeX – W size of ROI

  • sizeY – H size of ROI

Public Members

size_t id = 0

ID of a ROI (offset over batch dimension)

size_t posX = 0

W upper left coordinate of ROI.

size_t posY = 0

H upper left coordinate of ROI.

size_t sizeX = 0

W size of ROI.

size_t sizeY = 0

H size of ROI.