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 PoolingMode { AVG, MAX, };