OpenVINO 2022.1 has introduced OpenVINO API 2.0. For more information on transition steps from the previous API, see the transition guide
#include <roi_align.hpp> enum AlignedMode { ASYMMETRIC, HALF_PIXEL_FOR_NN, HALF_PIXEL, };