Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. 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
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved Solved QML and Qt Quick
16 Posts 3 Posters 1.6k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    Vijaykarthikeyan
    wrote on last edited by
    #1

    Screenshot 2023-06-19 175827.png

    jsulmJ 1 Reply Last reply
    0
    • V Vijaykarthikeyan

      Screenshot 2023-06-19 175827.png

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Vijaykarthikeyan You're not linking OepnCV library to your application

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      V 1 Reply Last reply
      0
      • jsulmJ jsulm

        @Vijaykarthikeyan You're not linking OepnCV library to your application

        V Offline
        V Offline
        Vijaykarthikeyan
        wrote on last edited by
        #3

        @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..

        jsulmJ 1 Reply Last reply
        0
        • V Vijaykarthikeyan

          @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..

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @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

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          V 1 Reply Last reply
          0
          • jsulmJ jsulm

            @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

            V Offline
            V Offline
            Vijaykarthikeyan
            wrote on last edited by
            #5

            @jsulm Sir,I've included two library files which are only available in the downloaded file directoryScreenshot 2023-06-19 184808.png

            jsulmJ V 2 Replies Last reply
            0
            • V Vijaykarthikeyan

              @jsulm Sir,I've included two library files which are only available in the downloaded file directoryScreenshot 2023-06-19 184808.png

              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @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.

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • V Vijaykarthikeyan

                @jsulm Sir,I've included two library files which are only available in the downloaded file directoryScreenshot 2023-06-19 184808.png

                V Offline
                V Offline
                Vijaykarthikeyan
                wrote on last edited by
                #7

                @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;

                jsulmJ 1 Reply Last reply
                0
                • V Vijaykarthikeyan

                  @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;

                  jsulmJ Offline
                  jsulmJ Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  @Vijaykarthikeyan You did not answer all my questions.
                  Please build and post whole build log here, so that we can see what happens...

                  https://forum.qt.io/topic/113070/qt-code-of-conduct

                  V 1 Reply Last reply
                  0
                  • jsulmJ jsulm

                    @Vijaykarthikeyan You did not answer all my questions.
                    Please build and post whole build log here, so that we can see what happens...

                    V Offline
                    V Offline
                    Vijaykarthikeyan
                    wrote on last edited by
                    #9

                    @jsulm Screenshot 2023-06-20 105831.png

                    jsulmJ 1 Reply Last reply
                    0
                    • V Vijaykarthikeyan

                      @jsulm Screenshot 2023-06-20 105831.png

                      jsulmJ Offline
                      jsulmJ Offline
                      jsulm
                      Lifetime Qt Champion
                      wrote on last edited by
                      #10

                      @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.

                      https://forum.qt.io/topic/113070/qt-code-of-conduct

                      1 Reply Last reply
                      0
                      • V Offline
                        V Offline
                        Vijaykarthikeyan
                        wrote on last edited by Vijaykarthikeyan
                        #11

                        @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 functionsScreenshot 2023-06-20 111434.png

                        jsulmJ 1 Reply Last reply
                        0
                        • V 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 functionsScreenshot 2023-06-20 111434.png

                          jsulmJ Offline
                          jsulmJ Offline
                          jsulm
                          Lifetime Qt Champion
                          wrote on last edited by
                          #12

                          @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?

                          https://forum.qt.io/topic/113070/qt-code-of-conduct

                          V 1 Reply Last reply
                          1
                          • jsulmJ jsulm

                            @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?

                            V Offline
                            V Offline
                            Vijaykarthikeyan
                            wrote on last edited by
                            #13

                            @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

                            1 Reply Last reply
                            0
                            • V Offline
                              V Offline
                              Vijaykarthikeyan
                              wrote on last edited by
                              #14
                              This post is deleted!
                              1 Reply Last reply
                              0
                              • jsulmJ jsulm referenced this topic on
                              • SGaistS Offline
                                SGaistS Offline
                                SGaist
                                Lifetime Qt Champion
                                wrote on last edited by
                                #15

                                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.

                                Interested in AI ? www.idiap.ch
                                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                                V 1 Reply Last reply
                                1
                                • SGaistS SGaist

                                  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.

                                  V Offline
                                  V Offline
                                  Vijaykarthikeyan
                                  wrote on last edited by Vijaykarthikeyan
                                  #16

                                  @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 Reply Last reply
                                  0
                                  • V Vijaykarthikeyan has marked this topic as solved on

                                  • Login

                                  • Login or register to search.
                                  • First post
                                    Last post
                                  0
                                  • Categories
                                  • Recent
                                  • Tags
                                  • Popular
                                  • Users
                                  • Groups
                                  • Search
                                  • Get Qt Extensions
                                  • Unsolved