I recently updated my OpenCV to version
184.108.40.206, and I installed it with following commands and settings on my Raspberry Pi:
wget downloads.sourceforge.net/project/opencvlibrary/opencv-unix/2.3.1/OpenCV-220.127.116.11.tar.gz tar -xvf OpenCV-18.104.22.168.tar.gz cd OpenCV-22.214.171.124/ cmake -D WITH_TBB=ON -D BUILD_NEW_PYTHON_SUPPORT=ON -D WITH_V4L=ON -D INSTALL_C_EXAMPLES=ON -D INSTALL_PYTHON_EXAMPLES=ON -D BUILD_EXAMPLES=ON .. make sudo make install
I have UV4L drivers for my Raspberry Pi and they worked properly for previous version as far as capture is concerned. Now the same program which worked fine is not working in the updated version.
I checked the width and height of the capture . They are both
-1. What should I do to make the camera capture work?. The main reason I did the update is because I was getting only 64x64 thumbnails from my previous version of OpenCV capture. Could it be related to Raspberry Pi (is a firmware update necessary after updating OpenCV)?