Results 1 to 10 of 10

Thread: opencv and cvcam.h

  1. #1
    Join Date
    Feb 2010
    Posts
    12
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default opencv and cvcam.h

    hi,
    i am new at linux ant qt,
    i downloaded opencv2.0 from sourceforge.net
    and installed like below :
    1 > cd opencv
    2 > ./configure
    3 > make
    4 > make install

    later, in qt creater i can use "cv.h" or "highgui.h" but i can not use "cvcam.h".
    what should i do ? what is my wrong ?

    thanks,

  2. #2
    Join Date
    Jan 2006
    Location
    Frankfurt
    Posts
    500
    Thanks
    1
    Thanked 52 Times in 52 Posts
    Platforms
    MacOS X Unix/X11

    Default Re: opencv and cvcam.h

    Why can't you use it? What is the exact error message that you get?
    It's nice to be important but it's more important to be nice.

  3. #3
    Join Date
    Feb 2010
    Posts
    12
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: opencv and cvcam.h

    i want to use its functions like "cvcamGetCamerascount()" but i cant include it ?

  4. #4
    Join Date
    Feb 2010
    Posts
    12
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: opencv and cvcam.h

    anybody help me please ?

  5. #5
    Join Date
    Jan 2006
    Location
    Frankfurt
    Posts
    500
    Thanks
    1
    Thanked 52 Times in 52 Posts
    Platforms
    MacOS X Unix/X11

    Default Re: opencv and cvcam.h

    Give proper error description and we will help you.
    It's nice to be important but it's more important to be nice.

  6. #6
    Join Date
    Feb 2010
    Posts
    12
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: opencv and cvcam.h

    ok, i installed opencv as above that i wrote before.

    i want to make capturing from my camera.
    i have to use cvcam.h library and its functions to capturing my camera, but when i declare that
    #include "opencv/cvcam.h"
    qt gives error: "can not find include file cvcam..." like that.

    but i can declare this
    #include "opencv/cv.h"
    #include "opencv/highgui.h"
    and i can use this libraries and its functions.

    can i explain my problem ?

    thanx..

  7. #7
    Join Date
    Jan 2006
    Location
    Frankfurt
    Posts
    500
    Thanks
    1
    Thanked 52 Times in 52 Posts
    Platforms
    MacOS X Unix/X11

    Default Re: opencv and cvcam.h

    Is there a file cvcam.h next to cv.h and highgui.h in the opencv-folder on your filesystem?
    It's nice to be important but it's more important to be nice.

  8. #8
    Join Date
    Feb 2010
    Posts
    12
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: opencv and cvcam.h

    no, there is not, what should i do ?
    did i make an error while installing opencv ?
    i am using opensuse v11.2.
    i downloaded opencv at http://sourceforge.net/projects/opencvlibrary/

    thanks your interest...

  9. #9
    Join Date
    Jan 2006
    Location
    Frankfurt
    Posts
    500
    Thanks
    1
    Thanked 52 Times in 52 Posts
    Platforms
    MacOS X Unix/X11

    Default Re: opencv and cvcam.h

    If the file is not in your filesystem, then the problem is not related to Qt but to that library. The error message from creator perfectly makes sense.

    I guess there is maybe different versions of opencv and the example you are trying to compile was written against a different version of opencv so example version and you installed version do not match.
    It's nice to be important but it's more important to be nice.

  10. #10
    Join Date
    Feb 2010
    Posts
    12
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: opencv and cvcam.h

    hmm thanks. i will open new thread for capturing in linux.

Similar Threads

  1. Qt and OpenCV
    By malorie in forum Newbie
    Replies: 2
    Last Post: 7th March 2010, 14:57
  2. Problem wth Opencv & Qt 4
    By Casper2004 in forum Qt Programming
    Replies: 0
    Last Post: 28th September 2009, 09:33
  3. OpenCv & Qt4
    By switch in forum Qt Programming
    Replies: 0
    Last Post: 4th August 2009, 15:12
  4. JAI vs. OpenCV vs. ITK
    By tpieciak in forum General Programming
    Replies: 0
    Last Post: 8th July 2009, 13:45
  5. OpenCv + Qt
    By Janderson Borges in forum Qt Programming
    Replies: 3
    Last Post: 2nd December 2008, 13:01

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.