PDA

View Full Version : How to Integrate openCV code with Qt4?



edomingos
26th November 2009, 17:40
Hey Forum!
My name is Eduardo, I´m 22 and I´m from Portugal. ;)
At this moment I´m developing a school project. The first goal to be achieved is build a simple eye tracking tool.
To build the eye tracking tool I´m using the openCV library in windows xp.
However, I need to design a simple GUI for the eye tracker. I´ve already downloaded and configured qt4 with msvc, and I tested it with some examples like this :

http://doc.trolltech.com/4.3/tutorial-t1.html

The examples are running well.
So my doubt is, how can I integrate the code that I wrote using opennCV in the GUI designed with Qt4? :confused:
Could you help me?

Thanks in advance for you time!:D
Regards

Eduardo

Tanuki-no Torigava
5th December 2009, 06:46
It looks like integration will work in the same way as with any usual 3rd party library. Include 3rd party headers to your code, write classes and don't forget to add OpenCV libraries to linker. Good luck