Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. What's the best way to process frames from QCamera with OpenCV?
Forum Updated to NodeBB v4.3 + New Features

What's the best way to process frames from QCamera with OpenCV?

Scheduled Pinned Locked Moved Solved General and Desktop
5 Posts 2 Posters 481 Views 1 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.
  • pplesP Offline
    pplesP Offline
    pples
    wrote on last edited by
    #1

    Hello,
    I want to use QCamera along with other objects from Qt Multimedia module, but I have stumbled upon a major problem. My first idea to create this project was to use QAbstractVideoFilter, because it seemed to suit my application perfectly. Unfortunately this only works with QML, and I wasn't planning on using QML in my project. Another solution would be to use QVideoProbe, from the description it seemed like it could work, but unfortunately I quickly learned that it got removed in Qt 6. Is there anything else I could use to process video frames from QCamera with OpenCV? I don't want to use OpenCV alone for this task, it lacks some functionality that is provided by Qt Multimedia module.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      The Qt 6 multimedia pipeline might better fit your needs. You should check it.

      By the way, what is missing from OpenCV ?

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

      1 Reply Last reply
      0
      • pplesP Offline
        pplesP Offline
        pples
        wrote on last edited by
        #3

        Thank you for your quick response. Do you know which objects or functions from the multimedia pipeline would suit me the best? I tried to look for something in the Qt documentation but I couldn't really find anything.

        The thing I miss the most in OpenCV is the ability to list capture devices, also the QCamera is just integrated so much nicer to the framework, it's very easy to get basic things done.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          QVideoSink seems to be what you are looking for.

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

          1 Reply Last reply
          1
          • pplesP Offline
            pplesP Offline
            pples
            wrote on last edited by
            #5

            Oh yeah, that was it, thanks.

            1 Reply Last reply
            0

            • Login

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