OpenCV 3.0.0 error using Gstreamer

I just installed OpenCV 3.0 after this tutorial: http://rodrigoberriel.com/2014/10/installing-opencv-3-0-0-on-ubuntu-14-04/

During installation, I did not find any errors. However, when I tried to run an example program, for example the following,

cd cpp/
./cpp-example-facedetect lena.jpg // (../data/lena.jpg) OpenCV 3.0 beta
./cpp-example-houghlines pic1.png // (../data/pic1.jpg) OpenCV 3.0 beta

I get the following error:

Processing 1 lena.jpg
GStreamer: Error opening bin: Unrecoverable syntax error while parsing pipeline lena.jpg
Capture from AVI didn't work
init done 
opengl support available 
In image read

I am a complete beginner in computer vision, and I have no idea what might be the problem. Can anyone help me out?

+2
source share
2 answers

I did the same, following the same tutorial. The only difference I made is with Gstreamer doing this:

  • sudo add-apt-repository ppa: gstreamer-developers / ppa
  • Sudo apt-get update
  • sudo apt-get install gstreamer1.0

, . lena.jpg , ( ). , cpp :

./cpp-example-facedetect../data/lena.jpg

+2

: "GStreamer: : " gstreamer. , , "~" , , . , .

0

Source: https://habr.com/ru/post/1661730/


All Articles