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.5k 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 19 Jun 2023, 12:31 last edited by
    #1

    Screenshot 2023-06-19 175827.png

    J 1 Reply Last reply 19 Jun 2023, 12:40
    0
    • V Vijaykarthikeyan
      19 Jun 2023, 12:31

      Screenshot 2023-06-19 175827.png

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 19 Jun 2023, 12:40 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 19 Jun 2023, 13:01
      0
      • J jsulm
        19 Jun 2023, 12:40

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

        V Offline
        V Offline
        Vijaykarthikeyan
        wrote on 19 Jun 2023, 13:01 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..

        J 1 Reply Last reply 19 Jun 2023, 13:03
        0
        • V Vijaykarthikeyan
          19 Jun 2023, 13:01

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

          J Offline
          J Offline
          jsulm
          Lifetime Qt Champion
          wrote on 19 Jun 2023, 13:03 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 19 Jun 2023, 13:18
          0
          • J jsulm
            19 Jun 2023, 13:03

            @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 19 Jun 2023, 13:18 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

            J V 2 Replies Last reply 19 Jun 2023, 13:41
            0
            • V Vijaykarthikeyan
              19 Jun 2023, 13:18

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

              J Offline
              J Offline
              jsulm
              Lifetime Qt Champion
              wrote on 19 Jun 2023, 13:41 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
                19 Jun 2023, 13:18

                @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 19 Jun 2023, 13:48 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;

                J 1 Reply Last reply 19 Jun 2023, 13:50
                0
                • V Vijaykarthikeyan
                  19 Jun 2023, 13:48

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

                  J Offline
                  J Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on 19 Jun 2023, 13:50 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 20 Jun 2023, 05:30
                  0
                  • J jsulm
                    19 Jun 2023, 13:50

                    @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 20 Jun 2023, 05:30 last edited by
                    #9

                    @jsulm Screenshot 2023-06-20 105831.png

                    J 1 Reply Last reply 20 Jun 2023, 05:34
                    0
                    • V Vijaykarthikeyan
                      20 Jun 2023, 05:30

                      @jsulm Screenshot 2023-06-20 105831.png

                      J Offline
                      J Offline
                      jsulm
                      Lifetime Qt Champion
                      wrote on 20 Jun 2023, 05:34 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 20 Jun 2023, 05:54 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

                        J 1 Reply Last reply 20 Jun 2023, 06:04
                        0
                        • V Vijaykarthikeyan
                          20 Jun 2023, 05:54

                          @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

                          J Offline
                          J Offline
                          jsulm
                          Lifetime Qt Champion
                          wrote on 20 Jun 2023, 06:04 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 20 Jun 2023, 06:22
                          1
                          • J jsulm
                            20 Jun 2023, 06:04

                            @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 20 Jun 2023, 06:22 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 20 Jun 2023, 07:40 last edited by
                              #14
                              This post is deleted!
                              1 Reply Last reply
                              0
                              • J jsulm referenced this topic on 21 Jun 2023, 05:19
                              • SGaistS Offline
                                SGaistS Offline
                                SGaist
                                Lifetime Qt Champion
                                wrote on 21 Jun 2023, 19:29 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 22 Jun 2023, 12:35
                                1
                                • SGaistS SGaist
                                  21 Jun 2023, 19:29

                                  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 22 Jun 2023, 12:35 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 23 Jun 2023, 13:01

                                  1/16

                                  19 Jun 2023, 12:31

                                  • Login

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