This page relates to OpenVINO 2022.3 (LTS). Go to the latest documentation for up-to-date information.
This structure describes ROI data for image-like tensors. More…
#include <ie_layouts.h> struct ROI { // fields size_t id = 0; size_t posX = 0; size_t posY = 0; size_t sizeX = 0; size_t sizeY = 0; // construction ROI(); ROI(size_t id, size_t posX, size_t posY, size_t sizeX, size_t sizeY); };
This structure describes ROI data for image-like tensors.
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.
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
posX
W upper left coordinate of ROI
posY
H upper left coordinate of ROI
sizeX
W size of ROI
sizeY
H size of ROI