OpenVINO 2022.1 introduces a new version of OpenVINO API (API 2.0). For more information on the changes and transition steps, see the transition guide
#include <roi_align.hpp> enum PoolingMode { AVG, MAX, };