Integration Openncv 2.4.9 & Qt 5.3.1 (MSVC 2013, 64 bit) (MINGW) W7 64
Salut tous/toute :D:D:D:D:D:D
je suis entraîne de realisier un projet Vision avec la biblotheque Opencv 2.4.9 , pour cela j installé : (sous Windows 7 64 B)
Opencv 2.4.9
Code::Blocks 13.12!
pour l’intégration entre Opencv2.4.9 & Code::Blocks 13.12! j suivi se tutoriel http://zahidhasan.wordpress.com/2013...nd-codeblocks/ et ça marche très bien
et pour l'integration entre Opencv 2.4.9 & Qt 5.3.1 (MSVC 2013, 64 bit) (MINGW) j suivi se tutoriel ''même auteur" http://https://zahidhasan.wordpress.com/2014/08/19/qt-5-3-1-64-bit-mingw-windows/
mais aprés l'instalation opencv ne compil pas le petit code de test
Citation:
Run qt creator and create a new qt widget application, give it a name “opencv”.
Add these lines in opencv.pro file:
Code:
1 2 3
| INCLUDEPATH += C:\opencv-mingw\install\include
LIBS += -LC:/opencv-mingw/install/x64/mingw/bin
LIBS += -lopencv_core249 -lopencv_highgui249 -lopencv_imgproc249 |
add the following lines in main() function:
Code:
1 2 3 4
| cv::Mat image= cv::imread(pic.jpg);
cv::namedWindow(Tulips);
cv::imshow(Tulips, image);
cv::waitKey(1000); |
Dont forget to put a picture called pic.jpg in project folder !
Now run the program
et voilà le résultat de compilation
Citation:
Démarrage de E:\ProjctQT\build-opencv-Deskto_Qt_5_3_2-Debug\debug\opencv.exe...
Le programme s'est terminé subitement.
E:\ProjctQT\build-opencv-Deskto_Qt_5_3_2-Debug\debug\opencv.exe a planté
aide moi svp :calim2::calim2::calim2: :mouarf::mouarf: