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

Problem with camera

Scheduled Pinned Locked Moved General and Desktop
camera
5 Posts 3 Posters 1.5k Views 3 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.
  • F Offline
    F Offline
    Ferryun
    wrote on last edited by Ferryun
    #1

    I'm trying to get a camera properties e.g contrast, saturation. I'm having some problems using QCamera and QCameraImageProcessing. The fuction of isAvailable() always returns false.How would I control these properties

        camera = new QCamera(cameraDevice);
        QCameraImageProcessing *imageProcessing = camera->imageProcessing();
        qDebug()<<"isAvailable:"<<cameraProcessing->isAvailable();
        if (imageProcessing->isAvailable()) {
             imageProcessing->setDenoisingLevel(-0.3);
        }
    
    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Depending on your OS/backend you won't necessarily have access to all properties. What version of Qt are you running ? On which platform ?

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

      F 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        Depending on your OS/backend you won't necessarily have access to all properties. What version of Qt are you running ? On which platform ?

        F Offline
        F Offline
        Ferryun
        wrote on last edited by
        #3

        @SGaist I'm using Qt version 5.5 beta on windows7 and Mac OS. The camera device is ok because I test it on the other software.

        It seems to be not supported for camera very well?

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

          IIRC, on Windows you have to use the DirectX backend to have the support for 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
          • S Offline
            S Offline
            stereomatchingkiss
            wrote on last edited by
            #5

            Hi, if you need to do serious, advance image processing or some fun computer vision tricks, openCV3.0 may give you a hand(release on yesterday), this way you do not need to rely on the back end of the OS to help you denoise, white balance, inpainting, face recognition, text recognition and so on.

            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