if i compile this file, I get the following errors:
/home/xavier-nx/project/learnopencv/learnopencv/OpenPose-Multi-Person/multi-person-openpose.cpp: In function ‘int main(int, char**)’:
/home/xavier-nx/project/learnopencv/learnopencv/OpenPose-Multi-Person/multi-person-openpose.cpp:344:48: error: ‘DNN_BACKEND_CUDA’ is not a member of ‘cv::dnn’
inputNet.setPreferableBackend(cv::dnn::DNN_BACKEND_CUDA);
^~~~
/home/xavier-nx/project/learnopencv/learnopencv/OpenPose-Multi-Person/multi-person-openpose.cpp:345:47: error: ‘DNN_TARGET_CUDA’ is not a member of ‘cv::dnn’
inputNet.setPreferableTarget(cv::dnn::DNN_TARGET_CUDA);
^~~~~~~
if i compile this file, I get the following errors: /home/xavier-nx/project/learnopencv/learnopencv/OpenPose-Multi-Person/multi-person-openpose.cpp: In function ‘int main(int, char**)’: /home/xavier-nx/project/learnopencv/learnopencv/OpenPose-Multi-Person/multi-person-openpose.cpp:344:48: error: ‘DNN_BACKEND_CUDA’ is not a member of ‘cv::dnn’ inputNet.setPreferableBackend(cv::dnn::DNN_BACKEND_CUDA); ^
~~~/home/xavier-nx/project/learnopencv/learnopencv/OpenPose-Multi-Person/multi-person-openpose.cpp:345:47: error: ‘DNN_TARGET_CUDA’ is not a member of ‘cv::dnn’ inputNet.setPreferableTarget(cv::dnn::DNN_TARGET_CUDA); ^~~~~~~howto resolve the issue?