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. Simple Camera Example wanted

Simple Camera Example wanted

Scheduled Pinned Locked Moved General and Desktop
5 Posts 2 Posters 1.1k 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.
  • D Offline
    D Offline
    deleted28
    wrote on last edited by
    #1

    Hello,

    i would like to learn how to manage raw camera data using Qt.
    Would be great if could see some elementary code for reading
    raw pixel data and display them as picture.
    thank you

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

      Hi,

      Just to make things clear, are you talking about the RAW file format or the raw data coming from a camera ?

      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
      • D Offline
        D Offline
        deleted28
        wrote on last edited by
        #3

        You are right, the question is not clear.
        Things i want to do is to read a 16x4 IR Sensor Array, which delivers
        raw data via I2C. This is input of a microcontroller which delivers this data
        via serial port to the pc. The Qt-part on PC should be able to display 64 x 16bit Arraydata and swapping picture to the next incoming dataarray sufficient quickly.
        I thing i 'll do something with QDataStream and QByteArray, but i do not know
        which classes are able to display the data as pic, QPixMap, QImage, etc.

        link to the Sensor, in background is an application visible, which is whati want to do.
        http://www.melexis.com/Infrared-Thermometer-Sensors/Infrared-Thermometer-Sensors/MLX90620-776.aspx

        1 Reply Last reply
        0
        • D Offline
          D Offline
          deleted28
          wrote on last edited by
          #4

          I think QImage is a good point to start

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

            If you do the processing in a background thread then you need QImage, otherwise you could go directly with QPixmap

            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