Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. 3rd Party Software
  4. How to Display the Camera Image from the third party SDK.
Qt 6.11 is out! See what's new in the release blog

How to Display the Camera Image from the third party SDK.

Scheduled Pinned Locked Moved Unsolved 3rd Party Software
2 Posts 2 Posters 793 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.
  • K Offline
    K Offline
    kabdul
    wrote on last edited by
    #1

    Hi,

    I have purchased the camera from 3rd party they given the SDk for that camera. Now I want to show the camera image on my display. They given some sample codes to get the image data. Now I want to get that data and show it in the QT Application. Below is the code sample given by them. Can you please help me how to do this with some sample code because I am new to QT I am struggling for more than a week for this one please help.

    GetDisplayImage(id, display , num_elements)

    Here
    id-- is a device structure(Camera information)
    display-- is the pointer to a uint32_t(uint32_t*) frame buffer. Returns a frame of ARGB8888 display values with auto gain control enabled
    num_elements ---Number of elements in the display buffer

    Here I need to get the data from the display and display it using the QT Application.

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

      Hi,

      As a first step, use this QImage constructor to create a QImage object that you will set on a QLabel.

      Once you have that, then you'll be able to go further.

      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