Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. How to get data from image

How to get data from image

Scheduled Pinned Locked Moved Visual Basic
tutorial
17 Posts 11 Posters 0 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.
  • J JanapatiBalu

    Hai Dave, The image is noisy because, the image is a captcha image as you know there will be noise in captcha image.I have captcha images with JPEG extension, i have to remove noise from captcha image and after that i have to extract characters from captcha image. please give reply it would be help full for me......... regards, Balu.

    D Offline
    D Offline
    Dave Kreskowiak
    wrote on last edited by
    #4

    What did I just get done telling you?? You CAN'T DO THAT because CAPTCHA was designed specifically to defeat what you're trying to do!

    Dave Kreskowiak Microsoft MVP - Visual Basic

    J 1 Reply Last reply
    0
    • D Dave Kreskowiak

      What did I just get done telling you?? You CAN'T DO THAT because CAPTCHA was designed specifically to defeat what you're trying to do!

      Dave Kreskowiak Microsoft MVP - Visual Basic

      J Offline
      J Offline
      JanapatiBalu
      wrote on last edited by
      #5

      Dave i understood what u have suggested me. ok removing noise is difficult, but give some idea how can i extract data from captcha image.Give reply if u have idea about extracting data from image. Regards, Balu.

      D C P 3 Replies Last reply
      0
      • J JanapatiBalu

        Dave i understood what u have suggested me. ok removing noise is difficult, but give some idea how can i extract data from captcha image.Give reply if u have idea about extracting data from image. Regards, Balu.

        D Offline
        D Offline
        Dave Kreskowiak
        wrote on last edited by
        #6

        What part of "YOU CAN'T DO THAT" don't you understand? The text in those images is deliberatly wavy a filled with noise so that no OCR software can read it. You can't get the text in a CAPTCHA image because there's no technology out there that can read it! That's the whole point behind CAPTCHA!! It's a test to determine if a machine is trying to access a website or if its a human doing it. The machines will always fail this test because there's no way they can make out the text in the image.

        Dave Kreskowiak Microsoft MVP - Visual Basic

        M D 2 Replies Last reply
        0
        • J JanapatiBalu

          Dave i understood what u have suggested me. ok removing noise is difficult, but give some idea how can i extract data from captcha image.Give reply if u have idea about extracting data from image. Regards, Balu.

          C Offline
          C Offline
          Craster
          wrote on last edited by
          #7

          No, you haven't understood. The whole purpose of captcha images is to ensure that it is a human that is viewing the image. They are specifically designed to make it impossible for any kind of automated tool to extract the data. So, not only is it as impossible as makes no difference, you also can't really have a good reason to be doing it - attempting to bypass security controls is a bad thing.

          1 Reply Last reply
          0
          • D Dave Kreskowiak

            What part of "YOU CAN'T DO THAT" don't you understand? The text in those images is deliberatly wavy a filled with noise so that no OCR software can read it. You can't get the text in a CAPTCHA image because there's no technology out there that can read it! That's the whole point behind CAPTCHA!! It's a test to determine if a machine is trying to access a website or if its a human doing it. The machines will always fail this test because there's no way they can make out the text in the image.

            Dave Kreskowiak Microsoft MVP - Visual Basic

            M Offline
            M Offline
            Maximilien
            wrote on last edited by
            #8

            Dave Kreskowiak wrote:

            You can't get the text in a CAPTCHA image because there's no technology out there that can read it!

            not yet at least.


            Maximilien Lincourt Your Head A Splode - Strong Bad

            1 Reply Last reply
            0
            • J JanapatiBalu

              Hi, How can we get data or characters which is present on image.Actually i have captcha images in .JPEG extension and from that images i have to remove noise, extract the characters and then i have to convert the extracted characters in to string.So please give some idea how to proceed further.

              N Offline
              N Offline
              Nish Nishant
              wrote on last edited by
              #9

              This article may help :- http://www.cs.sfu.ca/~mori/research/gimpy/[^] It probably won't help you break more advanced captchas though.

              Regards, Nish


              Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
              Currently working on C++/CLI in Action for Manning Publications. (*Sample chapter available online*)

              1 Reply Last reply
              0
              • J JanapatiBalu

                Hi, How can we get data or characters which is present on image.Actually i have captcha images in .JPEG extension and from that images i have to remove noise, extract the characters and then i have to convert the extracted characters in to string.So please give some idea how to proceed further.

                D Offline
                D Offline
                Dan Neely
                wrote on last edited by
                #10

                As Dave and Nish have said, CAPTCHAs are explicitly designed to defeat OCR. It may not be totally impossible, you're going to have to do a good amount of research to try and process them. Noone has written a CCaptchaOcrConverter class that you can just copy/paste into your application.

                -- CleaKO The sad part about this instance is that none of the users ever said anything [about the problem]. Pete O`Hanlon Doesn't that just tell you everything you need to know about users?

                D 1 Reply Last reply
                0
                • D Dan Neely

                  As Dave and Nish have said, CAPTCHAs are explicitly designed to defeat OCR. It may not be totally impossible, you're going to have to do a good amount of research to try and process them. Noone has written a CCaptchaOcrConverter class that you can just copy/paste into your application.

                  -- CleaKO The sad part about this instance is that none of the users ever said anything [about the problem]. Pete O`Hanlon Doesn't that just tell you everything you need to know about users?

                  D Offline
                  D Offline
                  Dan Neely
                  wrote on last edited by
                  #11

                  dan neely wrote:

                  It may not be totally impossible, you're going to have to do a good amount of research to try and process them.

                  PS IF you don't even know all the right questions to ask, you're probably not the right person to be doing the actual research either.

                  -- CleaKO The sad part about this instance is that none of the users ever said anything [about the problem]. Pete O`Hanlon Doesn't that just tell you everything you need to know about users?

                  D 1 Reply Last reply
                  0
                  • D Dan Neely

                    dan neely wrote:

                    It may not be totally impossible, you're going to have to do a good amount of research to try and process them.

                    PS IF you don't even know all the right questions to ask, you're probably not the right person to be doing the actual research either.

                    -- CleaKO The sad part about this instance is that none of the users ever said anything [about the problem]. Pete O`Hanlon Doesn't that just tell you everything you need to know about users?

                    D Offline
                    D Offline
                    Dave Kreskowiak
                    wrote on last edited by
                    #12

                    dan neely wrote:

                    IF you don't even know all the right questions to ask, you're probably not the right person to be doing the actual research either.

                    Bingo!

                    Dave Kreskowiak Microsoft MVP - Visual Basic

                    W 1 Reply Last reply
                    0
                    • D Dave Kreskowiak

                      dan neely wrote:

                      IF you don't even know all the right questions to ask, you're probably not the right person to be doing the actual research either.

                      Bingo!

                      Dave Kreskowiak Microsoft MVP - Visual Basic

                      W Offline
                      W Offline
                      Wayne Phipps
                      wrote on last edited by
                      #13

                      OMG, this thread has to be the funniest thing I've read for ages. It's brightend my day. Thanks guys!

                      Regards Wayne Phipps ____________ Time is the greatest teacher... unfortunately, it kills all of its students View my Blog

                      1 Reply Last reply
                      0
                      • D Dave Kreskowiak

                        What part of "YOU CAN'T DO THAT" don't you understand? The text in those images is deliberatly wavy a filled with noise so that no OCR software can read it. You can't get the text in a CAPTCHA image because there's no technology out there that can read it! That's the whole point behind CAPTCHA!! It's a test to determine if a machine is trying to access a website or if its a human doing it. The machines will always fail this test because there's no way they can make out the text in the image.

                        Dave Kreskowiak Microsoft MVP - Visual Basic

                        D Offline
                        D Offline
                        DavidNohejl
                        wrote on last edited by
                        #14

                        Dave Kreskowiak wrote:

                        What part of "YOU CAN'T DO THAT" don't you understand?

                        I am sorry Dave, I am afraid can't do that. :rolleyes:


                        "Throughout human history, we have been dependent on machines to survive. Fate, it seems, is not without a sense of irony. " - Morpheus "Real men use mspaint for writing code and notepad for designing graphics." - Anna-Jayne Metcalfe

                        B 1 Reply Last reply
                        0
                        • J JanapatiBalu

                          Hi, How can we get data or characters which is present on image.Actually i have captcha images in .JPEG extension and from that images i have to remove noise, extract the characters and then i have to convert the extracted characters in to string.So please give some idea how to proceed further.

                          J Offline
                          J Offline
                          jhwurmbach
                          wrote on last edited by
                          #15

                          The black hats did hire recently?


                          Failure is not an option - it's built right in.

                          1 Reply Last reply
                          0
                          • D DavidNohejl

                            Dave Kreskowiak wrote:

                            What part of "YOU CAN'T DO THAT" don't you understand?

                            I am sorry Dave, I am afraid can't do that. :rolleyes:


                            "Throughout human history, we have been dependent on machines to survive. Fate, it seems, is not without a sense of irony. " - Morpheus "Real men use mspaint for writing code and notepad for designing graphics." - Anna-Jayne Metcalfe

                            B Offline
                            B Offline
                            Brady Kelly
                            wrote on last edited by
                            #16

                            Hahahaha!!!:laugh::laugh:

                            1 Reply Last reply
                            0
                            • J JanapatiBalu

                              Dave i understood what u have suggested me. ok removing noise is difficult, but give some idea how can i extract data from captcha image.Give reply if u have idea about extracting data from image. Regards, Balu.

                              P Offline
                              P Offline
                              PlayByTheRules
                              wrote on last edited by
                              #17

                              JanapatiBalu wrote:

                              i understood what u have suggested me.

                              Oh no you haven't!

                              1 Reply Last reply
                              0
                              Reply
                              • Reply as topic
                              Log in to reply
                              • Oldest to Newest
                              • Newest to Oldest
                              • Most Votes


                              • Login

                              • Don't have an account? Register

                              • Login or register to search.
                              • First post
                                Last post
                              0
                              • Categories
                              • Recent
                              • Tags
                              • Popular
                              • World
                              • Users
                              • Groups