Hi,
I’m trying to run CUDA in OpenCV4 with C++ and apparently I’m getting an error when its looking for the following package:
$ g++ -o 07_image_addition 07_image_addition.cpp pkg-config opencv4 --cflags --libs
07_image_addition.cpp:4:10: fatal error: opencv2/cudaarithm.hpp: No such file or directory #include <opencv2 cudaarithm.hpp=""> ^~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated.
I’m assuming I need to install CUDA in opencv4 somehow. Does anyone know how to do that? I’m using the Jetson TX2. Thanks.