Setting/Installing up OpenCV 2.4.6.1+ on Ubuntu 12.04.02

后端 未结 4 963
既然无缘
既然无缘 2020-12-14 04:48

I had previously used OpenCV 2.4.5 with some certain configs and packages on Ubuntu 12.04.1 but had issues upgrading to OpenCV 2.4.6.1 on Ubuntu 12.04.2

I would like

相关标签:
4条回答
  • 2020-12-14 05:18

    Here is my blog post on installing OpenCV with it's many dependencies ie Cuda, OpenNI, Gstreamer, ffmpeg, QT5, ... ect. http://drewski1992.blogspot.com/2014/04/install-opencv-24x-with-cuda-55-or-6.html

    Following this should give you a full OpenCV build.

    0 讨论(0)
  • 2020-12-14 05:19

    To install OpenCV on Ubuntu from http://namhuy.net/1205/how-to-install-opencv-on-ubuntu.html

    $ su -
    # apt-get update
    # apt-get install build-essential
    # apt-get install libavformat-dev
    # apt-get install x264 v4l-utils ffmpeg
    # apt-get install libcv2.3 libcvaux2.3 libhighgui2.3 python-opencv opencv-doc libcv-dev libcvaux-dev libhighgui-dev
    
    0 讨论(0)
  • 2020-12-14 05:21

    thanks for the info. I installed everything in Ubuntu 13.04 and ran into a problem when trying to use the gcv shortcut. Using the

    g++ `pkg-config --cflags --libs opencv`
    

    shortcut works perfectly. Previously I had to link all the libraries manually in a Makefile so this is still much better. Appreciate you sharing the info, thanks!

    0 讨论(0)
  • Thanks for the information. I tried to run these commands but encountered several problems. I am using a brand new Ubuntu 12.04 install.

    1) The first apt-get remove command asked me if I wanted to remove a lot of things that I wasn't comfortable removing, like LibreOffice. I didn't remove anything in this step, which I figured would be okay, since the only program I've installed is Java SDK and JRE. Why did you opt for such a large list of programs to remove?

    2) Adding sudo to the git and tar commands was necessary.

    3) When installing opus and ffmpeg, there were many error messages for the ./configure command because of a lack of permission for writing and ultimately the configurations failed.

    Anyways, just thought I would log these problems on the post in the hopes that it will improve the procedure listed above.

    0 讨论(0)
提交回复
热议问题