Hi, I want to reactivate my old Xavier NX to build a robot head. I want to use 2 pi cameras for the eyes.
Does the jetpack 5.1.4 or 5.1.5 support python opencv with gstreamer and cuda support ?
I have a version of the jetpack installed, but i don’t know why, but the installed python opencv version does not support gstreamer, and all new rebuilds failed so far.
I have no decided to start from a fresh jetpack version.
from /home/marc/Development/Python/pypro/workspace/opencv-4.6.0/modules/python/src2/cv2.cpp:11:
/home/marc/Development/Python/pypro/workspace/opencv_contrib-4.6.0/modules/cudafeatures2d/include/opencv2/cudafeatures2d.hpp:121:26: warning: ‘virtual void cv::cuda::DescriptorMatcher::clear()’ can be marked override [-Wsuggest-override]
121 | CV_WRAP virtual void clear() = 0;
| ^~~~~
/home/marc/Development/Python/pypro/workspace/opencv_contrib-4.6.0/modules/cudafeatures2d/include/opencv2/cudafeatures2d.hpp:125:26: warning: ‘virtual bool cv::cuda::DescriptorMatcher::empty() const’ can be marked override [-Wsuggest-override]
125 | CV_WRAP virtual bool empty() const = 0;
| ^~~~~
In file included from /home/marc/Development/Python/pypro/workspace/opencv-4.6.0/release/modules/python_bindings_generator/pyopencv_generated_include.h:89,
from /home/marc/Development/Python/pypro/workspace/opencv-4.6.0/modules/python/src2/cv2.cpp:11:
/home/marc/Development/Python/pypro/workspace/opencv_contrib-4.6.0/modules/cudafeatures2d/include/opencv2/cudafeatures2d.hpp:121:26: warning: ‘virtual void cv::cuda::DescriptorMatcher::clear()’ can be marked override [-Wsuggest-override]
121 | CV_WRAP virtual void clear() = 0;
| ^~~~~
/home/marc/Development/Python/pypro/workspace/opencv_contrib-4.6.0/modules/cudafeatures2d/include/opencv2/cudafeatures2d.hpp:125:26: warning: ‘virtual bool cv::cuda::DescriptorMatcher::empty() const’ can be marked override [-Wsuggest-override]
125 | CV_WRAP virtual bool empty() const = 0;
| ^~~~~
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
make[2]: *** [modules/python2/CMakeFiles/opencv_python2.dir/build.make:63: modules/python2/CMakeFiles/opencv_python2.dir/__/src2/cv2.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:6810: modules/python2/CMakeFiles/opencv_python2.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs…
[100%] Linking CXX shared module ../../lib/python3/cv2.cpython-38-aarch64-linux-gnu.so
[100%] Built target opencv_python3
make: *** [Makefile:163: all] Error 2
Once the script terminated, do I have to do something with python ? where does the gstreamer support comes from ? from the compiled opencv library or from the python opencv module?