Is opencv 3.1 or 3.2 supported?

How to install opencv 3.1 or 3.2? All my attempts to build it tend to fail with various error messages.
The reason why I am looking to install 3.1 or 3.2 opencv is that I am trying to install the github project that seems to fail with opencv versions 3.4 to 4.5.1;
The original project instruction listed 3.1 as a requirement
But it doesn’t seem installible on AGX/ NX due to some discrepancies.

From your logs, it seems you may try with OpenCV 4.5.x:

  • adding lib math (#include <math.h> and link with -lm)
  • changing CV_BGR2Lab to cv::COLOR_BGR2Lab
1 Like

Merci beacoup

[  5%] Built target Vision_Point
[ 11%] Built target ChromaTag_Common
[ 19%] Built target Timer
[ 22%] Built target JMD_LCM_Image_Type
[ 27%] Built target Vision_Process
[ 33%] Built target Object
[ 38%] Built target Writer
Scanning dependencies of target Vision_Image
[ 44%] Built target Vision_Line
[ 50%] Built target ChromaTag_Decode
[ 55%] Built target ChromaTag_Pose
[ 61%] Built target Options
[ 66%] Built target Math
[ 69%] Building CXX object Utilities/Vision/CMakeFiles/Vision_Image.dir/JMD_Vision_Image.cpp.o
[ 80%] Built target ChromaTag_Detect
[ 80%] Built target Run_TestColorConversion
[ 86%] Built target Run_TestColorSpace
[ 91%] Built target ChromaTag
[ 97%] Built target Run_ChromaTag_Detector
[100%] Linking CXX static library ../../lib/libVision_Image.a
[100%] Built target Vision_Image

With OpenCV build script by @mdegans you can build any version from 2.2 to 4.x on Jetson/Xavier including CUDA support.

1 Like