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. Fetch Raspberry PI Camera in Qt Widget Desktop Application with Open CV
Forum Updated to NodeBB v4.3 + New Features

Fetch Raspberry PI Camera in Qt Widget Desktop Application with Open CV

Scheduled Pinned Locked Moved Unsolved General and Desktop
14 Posts 3 Posters 2.9k 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #4

    Why not have a camera directly connected to you computer ?

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

    N 1 Reply Last reply
    0
    • SGaistS SGaist

      Why not have a camera directly connected to you computer ?

      N Offline
      N Offline
      Nima Ghorab
      wrote on last edited by
      #5

      @SGaist AFAIK webcams have low resolution for our purpose.
      So we decided to use Raspberry pi with its high res camera.
      Also our first development was based on raspberry pi itself and we wrote a program to run on Raspbian.
      But now we need an app on windows so that common people can easily work with.

      mrjjM 1 Reply Last reply
      0
      • N Nima Ghorab

        @SGaist AFAIK webcams have low resolution for our purpose.
        So we decided to use Raspberry pi with its high res camera.
        Also our first development was based on raspberry pi itself and we wrote a program to run on Raspbian.
        But now we need an app on windows so that common people can easily work with.

        mrjjM Offline
        mrjjM Offline
        mrjj
        Lifetime Qt Champion
        wrote on last edited by
        #6

        @Nima-Ghorab
        Hi
        Maybe this could be interesting
        https://hackernoon.com/spy-your-pet-with-a-raspberry-pi-camera-server-e71bb74f79ea

        N 1 Reply Last reply
        1
        • mrjjM mrjj

          @Nima-Ghorab
          Hi
          Maybe this could be interesting
          https://hackernoon.com/spy-your-pet-with-a-raspberry-pi-camera-server-e71bb74f79ea

          N Offline
          N Offline
          Nima Ghorab
          wrote on last edited by
          #7

          @mrjj Thank you so much it's very useful.
          How can I get this data with Open CV and show inside Qt widget app?
          Is it streaming ?

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

            Yes it is. It's explained in that article.

            As for OpenCV, see this question in their forum.

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

            N 1 Reply Last reply
            2
            • SGaistS SGaist

              Yes it is. It's explained in that article.

              As for OpenCV, see this question in their forum.

              N Offline
              N Offline
              Nima Ghorab
              wrote on last edited by Nima Ghorab
              #9

              @SGaist Thank you so much!
              Just I have one more question.
              If I want to control raspberry pi camera on my PC Qt widget app. how can I do that?
              For example I want to modify raspberry pi camera ISO or brightness.
              Should I write a C++ program on raspberry pi to listen to specific port so that I can send information from PC to it or is there much simpler and cleaner way for doing this?
              Thank you so much!

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

                There are several possibilities, the network looks like one of the simpler to implement.

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

                N 1 Reply Last reply
                1
                • SGaistS SGaist

                  There are several possibilities, the network looks like one of the simpler to implement.

                  N Offline
                  N Offline
                  Nima Ghorab
                  wrote on last edited by Nima Ghorab
                  #11

                  @SGaist Thank you so much!
                  So would you suggest me to write a client/server app to control raspberry camera from PC?

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

                    What aspect do you want to control ?

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

                    N 1 Reply Last reply
                    0
                    • SGaistS SGaist

                      What aspect do you want to control ?

                      N Offline
                      N Offline
                      Nima Ghorab
                      wrote on last edited by
                      #13

                      @SGaist Control all aspect of raspberry pi camera including brightness, ISO, resolution, sharpness, contrast, saturation, video stabilization, exposure, shutter speed and etc...

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

                        Since you want to do remote control, then you can implement a REST API for that for example.

                        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
                        1

                        • Login

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • Users
                        • Groups
                        • Search
                        • Get Qt Extensions
                        • Unsolved