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 to get specific point and draw Rectangle on QImage?
Forum Updated to NodeBB v4.3 + New Features

How to get specific point and draw Rectangle on QImage?

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 1.2k Views 1 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.
  • Y Offline
    Y Offline
    YDYD
    wrote on 16 Jul 2014, 06:19 last edited by
    #1

    Hi all ,

    I am currently working on robot vision system,

    I would like to track something using Rasp-pi with Webcam.

    After i process my image, i would like to box the part i needed ask the pic shown,
    "Link of Pic":http://www.facebook.com/photo.php?fbid=10152540949803695&set=a.10150169149868695.310362.677773694&type=1&theater

    !http://www.facebook.com/photo.php?fbid=10152540949803695&set=a.10150169149868695.310362.677773694&type=1&theater(MyPic)!

    How can i do to achieve this?

    Would like to rectangle the biggest part.

    I did use opencv libs to find contours and get cvpoint, but i cant get exactly what i want.

    please advise

    Thanks in advance

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 16 Jul 2014, 06:50 last edited by
      #2

      Hi,

      Since you are already using OpenCV, you should continue with it and only convert the image to a QImage before displaying it.

      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
      • Y Offline
        Y Offline
        YDYD
        wrote on 16 Jul 2014, 07:17 last edited by
        #3

        I could not get through it.
        Is that any Qt method?

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 16 Jul 2014, 22:20 last edited by
          #4

          What did you try to paint the rectangle and how did it fail ?

          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

          1/4

          16 Jul 2014, 06:19

          • Login

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