deep-anpr icon indicating copy to clipboard operation
deep-anpr copied to clipboard

Support variable license plate lengths

Open matthewearl opened this issue 8 years ago • 3 comments

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.

matthewearl avatar May 27 '16 09:05 matthewearl

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.

synckey avatar Aug 19 '16 09:08 synckey

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 avatar Aug 21 '16 09:08 matthewearl

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

jihadbourassi avatar Mar 05 '19 10:03 jihadbourassi