"In the world ye shall have tribulation: but be of good cheer; I have overcome the world." –John 16:33

Day: July 20, 2012

License plate reading: Using a template to find the lettering

Now were getting to the fun part.  I am going to start trying things, one by one, to try to find the lettering on the license plate.  The first thing I want to try is template matching.  From the very limited sample set, I can see that the license plate letters can be turned into a block of white (uising previous preprocessing combined with some morphology) like this:

and like this:

My thinking is that to start with a template that looks like the white rectangle in the image below.  I generated it automatically based on the relative size of a license plate (12″x6″) and the width of a typical car (6′) and the distance I measured between the outsides of the brakelights.

I will have to rotate the template +/- five degrees and apply it multiple times to find the best match, but that will go pretty fast.  My hope is that it will give me a repeatable, robust position of the center of the license plate.  If it does, I will try to start separating the characters.  If it does not, I will try a few more tricks.

Thoughts on starting at the University

Day 334 of 1000

About the same time we arrived in Raleigh, another fellow named Troy showed up.  He had just made a major career change and decided to go back to school to help facilitate that.  We met him at church and, because he was single (waiting to get married), we ate lunch with him pretty often.  We talked about school a lot.  It is amazing what he did.  It seems like he did everything exactly right, but it was a TON of work.  For the areas where he thought he was weak, he got a tutor.  When he was not sure exactly what he wanted to do for a living, he went and talked to several professors in each of several departments to find out exactly what they did.

Part way into the program, he decided he might want to go to graduate school.  He found out it was extremely helpful to have done undergraduate research so he went and got TWO undergraduate research projects in the two different departments in which he was interested.  He did unpaid work in a lot of it.  In the end, he could have studied in either department and they actually were competing between each other to get him.  The big take-aways from all this is that if you invest (do unpaid work with knowledge that it will turn into something good even if it is only new knowledge), work really hard, and just keep going, something good will happen.

The reason I thought about this today is because Christian and Kelly are currently in almost exactly the same place.  Troy has finished his prelims and is well into his dissertation research.  The amazing thing is that he started this process from literally nothing only five years ago.  I am grateful my kids got to watch the process and even more grateful for Troy’s example.

Powered by WordPress & Theme by Anders Norén