resize cap. f.: replace opencv.hpp -> imgproc.hpp

Replaced generic opencv.hpp with imgproc.hpp - the former one includes
dependencies on headers that may not be available (at least U18.04 has
this header in -core but references also non-core components).
This commit is contained in:
Martin Pulec
2022-10-21 12:16:30 +02:00
parent dd817a4f68
commit 2db2a73803

View File

@@ -54,7 +54,7 @@
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wcast-align"
#pragma GCC diagnostic ignored "-Wcast-qual"
#include <opencv2/opencv.hpp>
#include <opencv2/imgproc.hpp>
#include <opencv2/imgproc/types_c.h>
#pragma GCC diagnostic pop