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. Algorithms
  4. character recognition

character recognition

Scheduled Pinned Locked Moved Algorithms
csharpalgorithmshelptutorialquestion
6 Posts 3 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.
  • S Offline
    S Offline
    Swati Khanna
    wrote on last edited by
    #1

    Can anyone plz help us with how to recognise the characters on a license plate of a vehicle in c#. Is there any algorithm to recognise characters? the license plates have printed letters on them and are written in English.

    A P 2 Replies Last reply
    0
    • S Swati Khanna

      Can anyone plz help us with how to recognise the characters on a license plate of a vehicle in c#. Is there any algorithm to recognise characters? the license plates have printed letters on them and are written in English.

      A Offline
      A Offline
      Alan Balkany
      wrote on last edited by
      #2

      This problem has been solved by a variety of methods over the years. The first step is isolating the individual characters in the image. Many approaches then divide a character into a grid, and average the level in each grid cell. At this point, I've seen three approaches: 1. Input the cell values to a neural net to train it to recognize the characters, 2. Heuristically come up with rules that differentiate the characters, and 3. Use the averages and standard deviations of the rows and columns with discriminant analysis (http://statsoft.nl/uk/textbook/stdiscan.html[^]). You can probably find source code somewhere on the web to do this.

      S 1 Reply Last reply
      0
      • A Alan Balkany

        This problem has been solved by a variety of methods over the years. The first step is isolating the individual characters in the image. Many approaches then divide a character into a grid, and average the level in each grid cell. At this point, I've seen three approaches: 1. Input the cell values to a neural net to train it to recognize the characters, 2. Heuristically come up with rules that differentiate the characters, and 3. Use the averages and standard deviations of the rows and columns with discriminant analysis (http://statsoft.nl/uk/textbook/stdiscan.html[^]). You can probably find source code somewhere on the web to do this.

        S Offline
        S Offline
        Swati Khanna
        wrote on last edited by
        #3

        thanks a lot for ur help..... i know theoretically some how to implement it but i cant the hang of how to start of with the code my characters are not getting segmented properly

        S 1 Reply Last reply
        0
        • S Swati Khanna

          thanks a lot for ur help..... i know theoretically some how to implement it but i cant the hang of how to start of with the code my characters are not getting segmented properly

          S Offline
          S Offline
          Swati Khanna
          wrote on last edited by
          #4

          actually segmenting the characters worked only for one image , i applied thinning to individual character to get the skeleton but then i dunno how to proceed with recognition ... plz help if u can

          A 1 Reply Last reply
          0
          • S Swati Khanna

            actually segmenting the characters worked only for one image , i applied thinning to individual character to get the skeleton but then i dunno how to proceed with recognition ... plz help if u can

            A Offline
            A Offline
            Alan Balkany
            wrote on last edited by
            #5

            Well, you can trace vertical lines in the bitmap, and see if they intersect characters. When you find a vertical line that doesn't intersect a character, it's in a boundry between two characters. You can then do a binary search to find the X coordinate where it changes from character to boundary.

            1 Reply Last reply
            0
            • S Swati Khanna

              Can anyone plz help us with how to recognise the characters on a license plate of a vehicle in c#. Is there any algorithm to recognise characters? the license plates have printed letters on them and are written in English.

              P Offline
              P Offline
              PredictorX
              wrote on last edited by
              #6

              The basic steps will be something like: 1. Locate and extract the license plate within the image (not always easy, especially if the vehicle is moving) 2. Clean and enhance the license plate image (de-skew, de-noise, improve contrast, etc.) 3. Isolate individual glyphs (characters) 4. Extract informative features from characters 5. Recognize individual characters Step 5 could be performed any number of ways: neural network, discriminant analysis, k-nearest neighbors, etc. -Will Dwinnell Data Mining in MATLAB

              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