Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support variable license plate lengths #6

Open
matthewearl opened this issue May 27, 2016 · 3 comments
Open

Support variable license plate lengths #6

matthewearl opened this issue May 27, 2016 · 3 comments

Comments

@matthewearl
Copy link
Owner

Currently the detection network architecture only supports number plates with exactly 7 characters. This issue it to track adding support for variable length number plates.

The approach used by Goodfellow et al in the Google house number paper (pdf) is to have multiple separate fully connected/output sub-networks on top of the last convolutional stage. There is one network for each possible character in the output as well as a network to indicate how many characters are in the number plate. (See the Google paper for details.)

The change would require adapting gen.py to output variable length plates, model.py to represent the new network architecture, and train.py and detect.py to properly interface with the new architecture.

@synckey
Copy link

synckey commented Aug 19, 2016

variable length

I copied your code ,and migrate it to a bank card ocr one using lstm and ctc referencing ctc_example.
The code could work well with variable length.

@matthewearl
Copy link
Owner Author

Great work on the bank card decoder! I'm not fully read up on CTC however I agree it looks like it a more elegant solution that the multi-network solution I suggested above.

@matthewearl matthewearl mentioned this issue Aug 29, 2016
@jihadbourassi
Copy link

Did anyone succeed in implementing the deep-anpr with a variable number of characters ? if so could you please share how you did it, i'm trying to implement Matt's anpr for moroccan licence plates and the number of characters varies from 9 to 10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants