DC1394 machine vision camera



  • 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


  • Lifetime Qt Champion

    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



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


  • Lifetime Qt Champion

    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.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.