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. QCamera with UVC Y16 camera
Forum Updated to NodeBB v4.3 + New Features

QCamera with UVC Y16 camera

Scheduled Pinned Locked Moved Unsolved General and Desktop
7 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.
  • J Offline
    J Offline
    Jan Povolny
    wrote on last edited by
    #1

    Hi,

    I'd like to use the QCamera to access the raw data stream from Y16 camera over UVC.

    I dont need to display those data in Y16, I just need to access them in the RAW Y16 form - for example to save them to a file or to convert them to RGB and then display them.

    The problem is when I set the camera UVC descriptor to Y16, the QCamera wont even connect, with the UVC descriptor set to YUY2 everything is working just fine.

    Testing on Win10

    Thanks for your help

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

      Hi and welcome to devnet,

      How are you setting that descriptor ?

      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
      • J Offline
        J Offline
        Jan Povolny
        wrote on last edited by
        #3

        Hi,

        thanks for your answer. I set the device guidFromat to 20363159-0000-0010-8000-00AA00389B71

        USBview log:

        ******************************************************************
        
        guidFormat:                        {20363159-0000-0010-8000-00AA00389B71}
        bBitsPerPixel:                     0x10
        bDefaultFrameIndex:                0x01
        
        *!*WARNING:  guidFormat is an unknown format
        
        ***************************************************
        
        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          How are you doing that ?

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

          J 1 Reply Last reply
          0
          • SGaistS SGaist

            How are you doing that ?

            J Offline
            J Offline
            Jan Povolny
            wrote on last edited by Jan Povolny
            #5

            @SGaist I use the FTDI ft602 UVC chip and it has configurable USB descriptor. There is a predefined guidFormats list.

            The YUY2 works, but Y16 won't even connect. I've also tested an option Qt + openCV and that works with both YUY2 and Y16. Qt for display and openCV for connecting and processing. But the thing is I'd like to get rid of the openCV as it is redundant.

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

              AFAIK, the Y16 image format is currently not support in Qt at all. If you have to mandatory work with, I'd recommend putting OpenCV in the mix (that's not unusual at all).

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

              J 1 Reply Last reply
              2
              • SGaistS SGaist

                AFAIK, the Y16 image format is currently not support in Qt at all. If you have to mandatory work with, I'd recommend putting OpenCV in the mix (that's not unusual at all).

                J Offline
                J Offline
                Jan Povolny
                wrote on last edited by
                #7

                @SGaist Ok good to know, 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