Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. Text/Content Select Option is possible in the QGraphicsView
Forum Updated to NodeBB v4.3 + New Features

Text/Content Select Option is possible in the QGraphicsView

Scheduled Pinned Locked Moved Unsolved Qt for Python
9 Posts 3 Posters 686 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.
  • N Offline
    N Offline
    Nanthini
    wrote on last edited by
    #1

    I have a list of images in the list widget. When I click an item in the list widget, it will be displayed in the graphics view. Now, I need to be able to select content within the displayed image. How can I achieve this in the graphics view?

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

      Hi,

      That's a bit vague of a description. What exactly do you want to select on that image ? What do you want to do with it ?

      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

        Hi,

        That's a bit vague of a description. What exactly do you want to select on that image ? What do you want to do with it ?

        N Offline
        N Offline
        Nanthini
        wrote on last edited by
        #3

        I want to select the text in an image, similar to Adobe. How can I implement this in QT with Graphics View?

        jsulmJ 1 Reply Last reply
        0
        • N Nanthini

          I want to select the text in an image, similar to Adobe. How can I implement this in QT with Graphics View?

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @Nanthini said in Text/Content Select Option is possible in the QGraphicsView:

          I want to select the text in an image

          Do you want to do text recognition (optical character recognition)?

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          N 1 Reply Last reply
          0
          • jsulmJ jsulm

            @Nanthini said in Text/Content Select Option is possible in the QGraphicsView:

            I want to select the text in an image

            Do you want to do text recognition (optical character recognition)?

            N Offline
            N Offline
            Nanthini
            wrote on last edited by Nanthini
            #5

            @jsulm, can I achieve OCR with formatted structure in the graphics view?

            I attempted Tesseract OCR, and while it converted my image to string format, it did not maintain the desired formatting. The image contains tables and borders, so I require an exact formatted conversion.

            jsulmJ 1 Reply Last reply
            0
            • N Nanthini

              @jsulm, can I achieve OCR with formatted structure in the graphics view?

              I attempted Tesseract OCR, and while it converted my image to string format, it did not maintain the desired formatting. The image contains tables and borders, so I require an exact formatted conversion.

              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @Nanthini You can't do that with Qt, you will have to use some third party library, there are some open source products available.

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              N 1 Reply Last reply
              0
              • jsulmJ jsulm

                @Nanthini You can't do that with Qt, you will have to use some third party library, there are some open source products available.

                N Offline
                N Offline
                Nanthini
                wrote on last edited by
                #7

                how can I achieve this using Python libraries with QT?"

                jsulmJ 1 Reply Last reply
                0
                • N Nanthini

                  how can I achieve this using Python libraries with QT?"

                  jsulmJ Offline
                  jsulmJ Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  @Nanthini I don't know, search for OCR libraries for Python.

                  https://forum.qt.io/topic/113070/qt-code-of-conduct

                  N 1 Reply Last reply
                  0
                  • jsulmJ jsulm

                    @Nanthini I don't know, search for OCR libraries for Python.

                    N Offline
                    N Offline
                    Nanthini
                    wrote on last edited by
                    #9

                    @jsulm... Thanks for your valuable time.

                    1 Reply Last reply
                    0
                    • N Nanthini has marked this topic as solved on
                    • N Nanthini has marked this topic as unsolved on

                    • Login

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