The OpenCV version in the repository is a different version than what is installed on the TK1. Try reinstalling the OpenCV version available at the support website here: [url]https://developer.nvidia.com/jetson-tk1-support[/url]. You’ll need to register as a developer to download it.
I have just installed OpenCV on my Jetson. I build the GPU samples and everything works nicely.
I then installed python-opencv, which seemed to install properly.
BUT, and it is a big but, when I go back and build some of the OpenCV GPU samples I get an error message saying: OpenCV Error: No GPU support (The library is compiled without CUDA support).
I may be old fashioned but I don’t want the installation of python to interfere with my ability to build and run GPU code. I am going to guess that there is a path issue but I don’t know how to diagnose the problem. I’d appreciate your help and suggestions.
Interestingly, if I remove python-opencv then I can build the GPU samples again.
[ Ideally, I’d like to be able to use the GPU from python but I need to learn how to crawl first. I see there are other posts on using the GPU from python. I’d be happy to hear the latest advice. ]
If you want to use OpenCV4Tegra from Python, instead of installing python-opencv, install opencv4tegra-python.
(The python-opencv package conflicts with the OpenCV4Tegra installation, and that’s why it won’t work.)
Oops, sorry, it’s actually called libopencv4tegra-python, and it can be found in the Ubuntu APT repositories:
sudo apt-get install libopencv4tegra-python
This will let you use the ordinary CPU OpenCV4Tegra functions from Python. However, you still won’t be able to use the ‘gpu’ module from Python, because OpenCV does not have Python bindings for that yet.