Configuration Qt with OpenCV in linux
-
wrote on 19 Feb 2013, 15:34 last edited by
hi
i am using ubuntu12.04 , Qt 2.4.1 and OpenCV2.3.1 and i have downloaded and installed them with ubuntu repository.
i have tried for 2days to run an example of opencv on it but i got some errors .now i have some questions :
1- if i want to make a project with a picturebox(like visual studio, for getting camera image from webcam) and some bottones for controll it , i must choice which type of project in Qt ( seems QuickQt or application UI or console?!:D or etc ? )
2- i had write this codes in my .pro file of projects :
INCLUDEPATH += /usr/include/opencv
INCLUDEPATH += /usr/include/opencv
LIBS += -L/usr/lib -lopencv_core -lopencv_highgui and .........(my opencv installed files are in that directory)
but my project doesnt work still . should i do other works ?3- may anyone puts a project with opencv in Qt that i test it and i learn how should i fix it?
-
Hi,
1 - Up to you to decide, try both QWidget and QtQuick. Console won't help since it's for command line application.
2 - What doesn't work ? It doesn't build ? It doesn't start ? Have a look at pkg-config (also in Qt doc) that will simplify things for you
-
wrote on 19 Feb 2013, 16:51 last edited by
U can see the source code of my Application 'Wallch'. We used opencv for the 'Take Webcam Image' feature.
Link: http://sourceforge.net/projects/wall-changer/files/?source=navbar
download the wallch-3.01.tar.gz -
wrote on 19 Feb 2013, 17:28 last edited by
[quote author="Leon" date="1361292707"]U can see the source code of my Application 'Wallch'. We used opencv for the 'Take Webcam Image' feature.
Link: http://sourceforge.net/projects/wall-changer/files/?source=navbar
download the wallch-3.01.tar.gz[/quote]error :
package libnotify not found ! -
wrote on 19 Feb 2013, 17:38 last edited by
then install it :)
The reason synaptic manager exists... -
wrote on 19 Feb 2013, 17:43 last edited by
The packages you must install from Synaptic package manager are:
libnotify-dev
libunity-core-6.0-dev
libexif-dev
libkeybinder-dev
libopencv-devtell me if this helped you ;)
-
wrote on 19 Feb 2013, 18:20 last edited by
[quote author="Leon" date="1361295508"]then install it :)
The reason synaptic manager exists...[/quote]then i installed it but it requires a new package that i cant found it in synaptic
dee-1.0
do you have another simple than program? :D
-
wrote on 19 Feb 2013, 18:23 last edited by
[quote author="Leon" date="1361295831"]The packages you must install from Synaptic package manager are:
libnotify-dev
libunity-core-6.0-dev
libexif-dev
libkeybinder-dev
libopencv-devtell me if this helped you ;)[/quote]
oh i didnt see this post . let me to try it and i will tell about result
-
wrote on 19 Feb 2013, 19:10 last edited by
yes , it worked after installation libraries.
just i can say thank you!
and i hope i read it and learn more about immage-processing and ask you a lot of questionas about that :D -
wrote on 19 Feb 2013, 19:35 last edited by
@ leon :
if i want to make a program like yours , i must choice whch type of project in QtCreator(i mean which template)
also , i want to know how you made forms and headers and addet those to your project?
-
wrote on 19 Feb 2013, 19:41 last edited by
Contact me at leon.vitanos@gmail.com, but be a little more detailed in your questions ;)
-
wrote on 19 Feb 2013, 20:15 last edited by
1/12