jetsonhacks/buildOpenCVTX2

camera open failed

ChristophTobler opened this issue · 2 comments

First of all: Thanks for having all this stuff open-source:+1:

I have a TX2 with the latest JetPack 3.1 (L4T 28.1) and have uninstalled the preinstalled OpenCV version (sudo apt-get purge libopencv4tegra*). After that I installed OpenCV again using your script. That all worked!
The gstreamer_view.cpp works as well.

But if I run python cannyDetection.py I get

camera open failed

Any ideas?

Usually I run it with:
$ ./cannyDetection.py
but that shouldn't make any difference.
Did you try it with sudo?

Works with sudo ./cannyDetection.py or sudo python cannyDetection.py. Thanks!