How to connect Ip camera using openCV library for the Qt version 5.15.2..Im trying to display the Ip camera output in QML window
-
wrote on 19 Jun 2023, 12:31 last edited by
-
@Vijaykarthikeyan You're not linking OepnCV library to your application
-
@Vijaykarthikeyan You're not linking OepnCV library to your application
wrote on 19 Jun 2023, 13:01 last edited by@jsulm Sir,can you please tell me how to do it? Im trying this task for the past one week.I came to know that Qt multimedia wont support this and mediaplayer wont accept rtsp link..There is no webEngine and webview module in 5.15.2..thats why I went with OpenCV..how to link it sir..
-
@jsulm Sir,can you please tell me how to do it? Im trying this task for the past one week.I came to know that Qt multimedia wont support this and mediaplayer wont accept rtsp link..There is no webEngine and webview module in 5.15.2..thats why I went with OpenCV..how to link it sir..
@Vijaykarthikeyan Using QtCreator: https://doc.qt.io/qtcreator/creator-project-qmake-libraries.html
Manually editing pro file: https://doc.qt.io/qt-6/qmake-variable-reference.html#libs -
@Vijaykarthikeyan Using QtCreator: https://doc.qt.io/qtcreator/creator-project-qmake-libraries.html
Manually editing pro file: https://doc.qt.io/qt-6/qmake-variable-reference.html#libswrote on 19 Jun 2023, 13:18 last edited by@jsulm Sir,I've included two library files which are only available in the downloaded file directory
-
@jsulm Sir,I've included two library files which are only available in the downloaded file directory
@Vijaykarthikeyan Please post text not pictures! Please post all errors, especially the first one.
What compiler do you use and what compiler was used to build OpenCV? I'm asking because MSVC++ and MinGW are not compatible. -
@jsulm Sir,I've included two library files which are only available in the downloaded file directory
wrote on 19 Jun 2023, 13:48 last edited by@Vijaykarthikeyan Sorry sir..Im using MingGW 8.1.0 32 and 64 bit compiler Sir.There is no error until I put the statement VideoCapture cap;
-
@Vijaykarthikeyan Sorry sir..Im using MingGW 8.1.0 32 and 64 bit compiler Sir.There is no error until I put the statement VideoCapture cap;
@Vijaykarthikeyan You did not answer all my questions.
Please build and post whole build log here, so that we can see what happens... -
@Vijaykarthikeyan You did not answer all my questions.
Please build and post whole build log here, so that we can see what happens...wrote on 20 Jun 2023, 05:30 last edited by -
@Vijaykarthikeyan What compiler was used to build OpenCV?
And I'm not sure whether the OpenCV library you're linking is the only one you need. Check what other libraries are there and which you need. -
wrote on 20 Jun 2023, 05:54 last edited by Vijaykarthikeyan
@jsulm These are my compilers sir. Im new to Qt, Sir. The other libraries which could be used for this purposes are VLClib, Gstreamer,live55..My only problem is around linking these external libraries which ends up in inability to use those functions
-
@jsulm These are my compilers sir. Im new to Qt, Sir. The other libraries which could be used for this purposes are VLClib, Gstreamer,live55..My only problem is around linking these external libraries which ends up in inability to use those functions
@Vijaykarthikeyan I asked about the compiler which was used to compile OpenCV and I also explained why I'm asking this. Up to you to ignore that or not...
And what about "And I'm not sure whether the OpenCV library you're linking is the only one you need. Check what other libraries are there and which you need."? Are you going to do something about it or just ignore? -
@Vijaykarthikeyan I asked about the compiler which was used to compile OpenCV and I also explained why I'm asking this. Up to you to ignore that or not...
And what about "And I'm not sure whether the OpenCV library you're linking is the only one you need. Check what other libraries are there and which you need."? Are you going to do something about it or just ignore?wrote on 20 Jun 2023, 06:22 last edited by@jsulm Yes Sir I understand.. OpenCV is the 3rd part library for which the compiler used is not well known. Other alternative libraries are live555 or GStreamer or VLClib..I could able to do that function sir but im stuck with the linking
-
wrote on 20 Jun 2023, 07:40 last edited byThis post is deleted!
-
-
The OpenCV documentation seems to only mention visual studio for the pre-built binaries so you will likely have to build it yourself to use it with MinGW.
-
The OpenCV documentation seems to only mention visual studio for the pre-built binaries so you will likely have to build it yourself to use it with MinGW.
wrote on 22 Jun 2023, 12:35 last edited by Vijaykarthikeyan@SGaist Thank you Sir.. With your words, I have finally solved the linking problem..Actually what the problem is I have MINGW compiler but OPenCV library is for MSVC.. I have downloaded the correct version for MINGW compiler..Now,I want it to show it in QML window
-
1/16