1 | initial version |
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.