Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Game Development
  4. Getting Started with 2D manipulations
Forum Updated to NodeBB v4.3 + New Features

Getting Started with 2D manipulations

Scheduled Pinned Locked Moved Unsolved Game Development
3 Posts 2 Posters 526 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.
  • P Offline
    P Offline
    pitonyak
    wrote on last edited by
    #1

    I have worked almost exclusively with command line and simple GUI applications such as tracking an inventory or creating backups of a filesystem.

    I have zero experience writing code that will manipulate an image and I would love at least a few pointers as to the classes I should look at first. Consider a few use cases, which is what really befuddles me.

    I have an image containing a postage stamp and I want the user to interactively draw a line around around the stamp or to draw a line along the perforations.

    I am simply unsure as to the base Widget or class to use to display the object so that I can then do the interaction portions. Unsure at this point if I want them to maybe just click to identify each corner (I can probably figure that out) or to click and drag to select a rectangle (that feels a bit more difficult).

    I am not looking for a lot of detail at the moment, just something to play around with to make sure I am heading off into the right direction.

    And now I will go see if I can write something that will simply load a single JPG and attempt to identify lines in the image (auto-identify perforations or auto-identify a stamp in an image to then make sure it is aligned in a specific way). Baby steps.

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

      Hi,

      For the GUI side, one thing you should check is the graphics view framework. This should allow you to get started.

      For the auto detection part, you should check OpenCV.

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

      P 1 Reply Last reply
      1
      • SGaistS SGaist

        Hi,

        For the GUI side, one thing you should check is the graphics view framework. This should allow you to get started.

        For the auto detection part, you should check OpenCV.

        P Offline
        P Offline
        pitonyak
        wrote on last edited by
        #3

        @SGaist Perfect, thanks, I will take a look!

        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