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. how get quick grabing of Qimage from QCameraimagecapture capture()
Forum Updated to NodeBB v4.3 + New Features

how get quick grabing of Qimage from QCameraimagecapture capture()

Scheduled Pinned Locked Moved Unsolved General and Desktop
12 Posts 3 Posters 963 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.
  • B Offline
    B Offline
    Balaji G
    wrote on last edited by
    #1

    by using QcameraImageCaptrue capture() method, it calls slot
    cameraImageCaptured(int,QImage image){}. but timing is about 150 to 200 ms ,how to reduce this timing in qt5

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

      Hi and welcome to devnet,

      Which exact version of Qt ?
      On which OS ?
      Which device ?
      Which camera ?
      What is your application doing ?
      QtQuick ?
      QtWidgets ?

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

      B 1 Reply Last reply
      1
      • SGaistS SGaist

        Hi and welcome to devnet,

        Which exact version of Qt ?
        On which OS ?
        Which device ?
        Which camera ?
        What is your application doing ?
        QtQuick ?
        QtWidgets ?

        B Offline
        B Offline
        Balaji G
        wrote on last edited by
        #3

        @SGaist
        sorry for late reply
        I am using Qt Creator 4.8.2
        Based on Qt 5.11.3 (GCC 8.3.0, 32 bit) in Raspberry pi 4 with raspi-camera imx477 ,to grab image from camera to make image process in high speed manner (qtwidget)

        Pl45m4P 1 Reply Last reply
        0
        • B Balaji G

          @SGaist
          sorry for late reply
          I am using Qt Creator 4.8.2
          Based on Qt 5.11.3 (GCC 8.3.0, 32 bit) in Raspberry pi 4 with raspi-camera imx477 ,to grab image from camera to make image process in high speed manner (qtwidget)

          Pl45m4P Online
          Pl45m4P Online
          Pl45m4
          wrote on last edited by
          #4

          @Balaji-G said in how get quick grabing of Qimage from QCameraimagecapture capture():

          I am using Qt Creator 4.8.2
          Based on Qt 5.11.3 (GCC 8.3.0, 32 bit)

          That's not your Qt version, that's the Qt version your QtCreator uses.


          If debugging is the process of removing software bugs, then programming must be the process of putting them in.

          ~E. W. Dijkstra

          B 1 Reply Last reply
          0
          • Pl45m4P Pl45m4

            @Balaji-G said in how get quick grabing of Qimage from QCameraimagecapture capture():

            I am using Qt Creator 4.8.2
            Based on Qt 5.11.3 (GCC 8.3.0, 32 bit)

            That's not your Qt version, that's the Qt version your QtCreator uses.

            B Offline
            B Offline
            Balaji G
            wrote on last edited by
            #5

            @Pl45m4
            QMake version 3.1
            Using Qt version 5.11.3 in /usr/lib/arm-linux-gnueabihf

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

              What kind of high speed image processing do you want to do ?

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

              B 1 Reply Last reply
              0
              • SGaistS SGaist

                What kind of high speed image processing do you want to do ?

                B Offline
                B Offline
                Balaji G
                wrote on last edited by Balaji G
                #7

                @SGaist
                i Have to grab image for vision project with opencv in high speed (with in 100-200 ms) for total process including image processing. by using QCameraImageCapture it grab correct frame, but method capture() for Qimage emits a signal(int,const QImage &) make delay upto 100-150ms

                Pl45m4P 1 Reply Last reply
                0
                • B Balaji G

                  @SGaist
                  i Have to grab image for vision project with opencv in high speed (with in 100-200 ms) for total process including image processing. by using QCameraImageCapture it grab correct frame, but method capture() for Qimage emits a signal(int,const QImage &) make delay upto 100-150ms

                  Pl45m4P Online
                  Pl45m4P Online
                  Pl45m4
                  wrote on last edited by
                  #8

                  @Balaji-G

                  When you use OCV, why you want to use QCamera...? OCV is more powerful when it comes to some special image processing.


                  If debugging is the process of removing software bugs, then programming must be the process of putting them in.

                  ~E. W. Dijkstra

                  B 1 Reply Last reply
                  0
                  • Pl45m4P Pl45m4

                    @Balaji-G

                    When you use OCV, why you want to use QCamera...? OCV is more powerful when it comes to some special image processing.

                    B Offline
                    B Offline
                    Balaji G
                    wrote on last edited by
                    #9

                    @Pl45m4
                    initially started project with opencv videocapture method to grab image from raspberry camera but it gives buffer(past image ).tried to solve that issues ,atlast got some hacks to get latest(current) image but not efficient ,I also tried raspicam_cv lib but its grabing time is little high ,in Qcamera gives current and exact image but method capture() emits a signal with delay of 100-150ms

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

                      Can you describe your exact pipeline ?
                      From capturing to final step.

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

                      B 1 Reply Last reply
                      0
                      • SGaistS SGaist

                        Can you describe your exact pipeline ?
                        From capturing to final step.

                        B Offline
                        B Offline
                        Balaji G
                        wrote on last edited by
                        #11

                        @SGaist
                        for camera in raspberry pi Iam using v4l2 driver

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

                          I meant the business logic from the camera to the screen.

                          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