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. DC1394 machine vision camera
Forum Updated to NodeBB v4.3 + New Features

DC1394 machine vision camera

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
cameraqmldc1394
4 Posts 2 Posters 1.7k 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.
  • C Offline
    C Offline
    cbrake
    wrote on last edited by
    #1

    Hi, we are are working with several machine vision cameras. One can be using with libdc1394, and the other requires a proprietary lib that provides frames.

    What is the best way to display camera output from something like this? I'd like to have some C++ code that captures the frames from the camera, and then send the frames to be displayed in QML.

    Thanks,
    Cliff

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

      Hi,

      One possible way is to write a small QMultimedia backend that provides a camera based on the libraries your are using.

      Or maybe a QMediaObject subclass with matching QMediaService that returns the needed controls.

      Hope it helps

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

      C 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        One possible way is to write a small QMultimedia backend that provides a camera based on the libraries your are using.

        Or maybe a QMediaObject subclass with matching QMediaService that returns the needed controls.

        Hope it helps

        C Offline
        C Offline
        cbrake
        wrote on last edited by
        #3

        @SGaist How do you think writing a QMultimedia backend would compare to using a QQuickImageProvider? I'm not sure if you can do low rate video with QQuickImageProvider.

        Thanks,
        Cliff

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

          The backend allows you to work with both widgets and QML.

          AFAIK the QQuickImageProvider is used the other way around, you ask images to it.

          Don't be afraid of the task, a QtMultimedia backend is really not that hard to implement.

          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

          • Login

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