Fully rethought and rewritten number plate search algorithm.