Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Special Interest Groups
  3. C++ Gurus
  4. Ocr in c++
Qt 6.11 is out! See what's new in the release blog

Ocr in c++

Scheduled Pinned Locked Moved C++ Gurus
11 Posts 7 Posters 21.1k 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.
  • M Offline
    M Offline
    mlong
    wrote on last edited by
    #2

    That's a pretty ambitious project to pick up "in a couple of days." I'd suggest you start small and look through the fine Qt tutorials and examples out there, get a good grasp of C++ and the Qt framework, then work up to what you'd like.

    Qt doesn't have native OCR support, so it's not just a matter of wrapping up some native functionality into a pretty interface overnight.

    Software Engineer
    My views and opinions do not necessarily reflect those of anyone -- living or dead, real or fictional -- in this universe or any other similar multiverse node. Void where prohibited. Your mileage may vary. Caveat emptor.

    1 Reply Last reply
    0
    • R Offline
      R Offline
      r.bhardwaj
      wrote on last edited by
      #3

      thank you sir for the reply.......
      but i want to ensure myself that after learning Qt i will able to make OCR using it.Because i have limited time for this project and i have to choose a correct start.

      1 Reply Last reply
      0
      • JohanSoloJ Offline
        JohanSoloJ Offline
        JohanSolo
        wrote on last edited by
        #4

        You can do whatever you want with Qt, that is not the problem. You'd better wonder first how you would achieve OCR. A first guess would be neural network, ... but I'm no expert.

        `They did not know it was impossible, so they did it.'
        -- Mark Twain

        1 Reply Last reply
        0
        • A Offline
          A Offline
          andre
          wrote on last edited by
          #5

          Well, I would start reading up on the ORC engines that are out there already. Unless you want to start from scratch? In that case: not a chance that you'll make it within a year or so, and probably quite a bit more before you have anything useful.

          You cannot reasonably expect to proficient enough to tackly a complicated task like OCR while taking shortcuts. You really need to know the basics before you can do advanced stuff. At least, tell us something about your background knowledge. Do you have a good grasp of C++ already? Other programming languages perhaps?

          1 Reply Last reply
          0
          • R Offline
            R Offline
            r.bhardwaj
            wrote on last edited by
            #6

            i m not talking about making a full featured ocr. I will satisfy if within 3 months a will become able to make a basic application that can read character from scanned image.
            As for as C++ is concerned although i have not made any big project in c++ but i am a regular c++ programer from last 2 years & i m aware about the basics of c++ .
            I am reading thoroughly all the steps for making an OCR so plese tell me any library or other thing so that i should start to imlement basic of digital image processing in Qt.
            Thank you!

            1 Reply Last reply
            0
            • A Offline
              A Offline
              andre
              wrote on last edited by
              #7

              You will probably want to use the "Tesseract-ocr":http://code.google.com/p/tesseract-ocr/ library.

              1 Reply Last reply
              0
              • R Offline
                R Offline
                r.bhardwaj
                wrote on last edited by
                #8

                thanx sir for reply........
                i have satarted hands on Qt but i m getting problem regarding Tesserect-ocr library . i have searched alote to find some tutorials regarding using Tesserect-ocr library but i m only with its documentation which is very hard to understand 4 a beginner. So please guide me regarding this.

                1 Reply Last reply
                0
                • K Offline
                  K Offline
                  Kretikus
                  wrote on last edited by
                  #9

                  Look up the documentation of QImage. That is the support Qt will give you :)

                  1 Reply Last reply
                  0
                  • M Offline
                    M Offline
                    msx_br
                    wrote on last edited by
                    #10

                    I have used Tesseract with Qt and OpenCV (2.04):

                    Look at the dlltest project that comes with Tesseract.
                    You can make a .so ( or .dll ) to use in your project

                    My approach ( which have achieved best results ) is preprocess the
                    desired image with text, and pass only the ROIs with the text.

                    The result was good but far below commercial packages...

                    But, if want to implement your own OCR engine, you must have a good knowledge in all of the following technologies:

                    1 - Image segmentation ( OpenCV ??? )
                    2 - Feature extraction ( OpenCV ??? )
                    3 - Good algorithm for feature grouping
                    4 - Text line detection
                    5 - Character chopping
                    6 - Character recognition ( see Neural Network for Recognition of Handwritten Digits in codeproject )
                    7 - Dictionary based context sentece composer ( QRegexp have good support for this )
                    8 - Context analyzer

                    msx_br - Brazil (Netherlands)

                    1 Reply Last reply
                    0
                    • M Offline
                      M Offline
                      mikelilin
                      wrote on last edited by
                      #11
                      This post is deleted!
                      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