Udoo and OpenCV

Discussion in 'Application & Utilities' started by getinbalcony, Oct 27, 2013.

  1. mbc28

    mbc28 New Member

    Joined:
    May 9, 2014
    Messages:
    2
    Likes Received:
    0
    Hello,

    I've installed opencv 2.4.8 on udoo quad manually. (so: udo quad ubuntu 12.04 v2.1
    I compile my opencv programs with any problem, but when I execute them, they say me:
    error while loading shared libraries: libopencv_core.so.2.4: cannot open shared object file: No such file or directory

    I execyte ldd myprogram, and:
    libopencv_core.so.2.4 => not found
    (and the same with all opencv shared libraries)

    I've followed your suggested link: http://www.ozbotz.org/opencv-installation/
    I'm already installed opencv manually a lot of times in other linux arm boards (beagleboard, odroid, etc) following the same procedure and I've been able to compile and execute my programs with any problem.

    Can you help me?
     
  2. nicola

    nicola Member

    Joined:
    Apr 23, 2014
    Messages:
    45
    Likes Received:
    0
    Are you sure you have done the point 11 of the guide you linked?

     
  3. mbc28

    mbc28 New Member

    Joined:
    May 9, 2014
    Messages:
    2
    Likes Received:
    0
    Hello,

    yes, I did all steps!

    Finally I've found the problem.

    I was compiling with g++ with some flags (the same flags I use with beagleboard and odroid), and over udoo one of these flags causes that my program does not find opencv library dependences.
    The flag is: -mfloat-abi=hard
    If I don't use this flag, the program finds all opencv dependences and works fine.

    I'm not expert enough to know why this happens.

    Thank you.
     
  4. nicola

    nicola Member

    Joined:
    Apr 23, 2014
    Messages:
    45
    Likes Received:
    0
    I think it's because the ubuntu 12.04 v2.1 doesn't support hardware floating point instructions.

    https://gcc.gnu.org/onlinedocs/gcc/ARM- ... t-abi-1265

    I'm going to use OpenCv for a project and for now i'm stuck with ubuntu because it's the only image i succeded in compiling qt5 with GPU acceleration. I'm worried that the lack of hard-float ABI will slow too much the program. Someone knows how much OpenCV can take advantage of the hard-float instructions?
     
  5. zhangdong

    zhangdong New Member

    Joined:
    Jun 18, 2014
    Messages:
    3
    Likes Received:
    0
  6. nicola

    nicola Member

    Joined:
    Apr 23, 2014
    Messages:
    45
    Likes Received:
    0
    Interesting project, it's remarkable how well Udoo can handle such an heavy task as sign recognition.

    Did you succeeded in changing the udoo camera parameters like brightness, exposure etc?
     
  7. zhangdong

    zhangdong New Member

    Joined:
    Jun 18, 2014
    Messages:
    3
    Likes Received:
    0
    this code based on GStreamer , It's GStreamer OpenCV Plugins

    GStreamer set : brightness , exposure
     

Share This Page