Ask Your Question
0

license plate recognition ObjectiveC OpenCV and Tesseract

asked 2013-10-23 09:44:13 -0600

mbahadirb gravatar image

updated 2020-10-14 12:46:01 -0600

Hi

I am currently developing an application for the IPhone that reads a license plate from a photo taken by the user.

  1. link text This pdf refers to a cvBlobsLib library which I failed to use. Is there any tutorial for this library to use in ObjectiveC that you can suggest?

  2. I am looking for a way to remove all the background from the picture and have only plate for tesseract. Is there any method you can suggest?

My explanation my be poor, sorry for that beforehand and thanks for your time.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
3

answered 2013-10-23 22:17:57 -0600

I'm still very new to programming in OpenCV, so take this with a grain (kilogram) of salt.

The dimensions, according to a non-authoratative source, is 12 in X 6 in. This is the real size, but it gives us an accurate model in which to work with.

Now, our camera (in your case, an iPhone) is simply a directional point camera with a rectangular cone field of view. From an arbitrary point, the 12x6 rectangle will look like a parallelogram. So what we ideally want is to make a matching parallelogram over the boundary of the license plate, and then map the parallelogram to the appropriate rectangle. Then we can OCR this intermediary image and output the appropriate letters and numbers.

  1. Capture picture.
  2. Best-fit a parallellogram over the mostly solid color boundary to find the license plate.
  3. Map the parallelogram to the 12x6 license plate
  4. OCR corrected plate picture.
edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-10-23 09:44:13 -0600

Seen: 1,785 times

Last updated: Oct 23 '13