Hi,
We are trying to integrate the opencv support to the argus application (/usr/src/jetson_multimedia_api/samples/13_multi_camera/main.cpp) by referring the discussion in the following forum.
But the application failed to built with following error.
nvidia@nvidia-desktop:/usr/src/jetson_multimedia_api/samples/13_multi_camera$ sudo make
Compiling: main.cpp
main.cpp: In member function ‘virtual bool ArgusSamples::ConsumerThread::threadExecute()’:
main.cpp:367:43: error: ‘CV_RGBA2BGR’ was not declared in this scope
-
cvtColor(imgbuf, display_img, CV_RGBA2BGR);*
-
^~~~~~~~~~~*
main.cpp:367:43: note: suggested alternative: ‘CV_RGB’
-
cvtColor(imgbuf, display_img, CV_RGBA2BGR);*
-
^~~~~~~~~~~*
-
CV_RGB*
Makefile:57: recipe for target ‘main.o’ failed
make: *** [main.o] Error 1
We are trying this in L4T32.6.1. How to fix the build issue while integrating opencv support to the argus application?
Also, the final aim of our application is to set the camera controls from opencv.
Is there any sample code available to access the Argus camera controls using opencv?
Thanks,
Koil Arul Raj.S