Is this a bug in OpenCV4Tegra?

I’m currently trying to build CNTK on TX1.

While I’m on it, there was some compiler error that says Mat, dims, rows, cols, etc. are not defined in /usr/include/opencv2/core/mat.hpp.

Adding the following line to the header file fixed the issue.

#include <opencv2/opencv.hpp>

Is this a bug in OpenCV4Tegra, or an issue with CNTK? I’m using JetPack 3.1.

Hi devnglee,

Opencv4tegra is based on opencv2.4.13 and may not be compatible with CNTK. What is the opencv version CNTK requires?

Hi WayneWWW,

CNTK requires opencv3.1. Thanks for your help.

But I’ve found out that I don’t need opencv to build the parts of CNTK I need.

So I didn’t have chance to test building with opencv3.1.