alpr-unconstrained icon indicating copy to clipboard operation
alpr-unconstrained copied to clipboard

Could release the OCR training code?

Open xiaowenhe opened this issue 6 years ago • 4 comments

hello ,@sergiomsilva, could you release the OCR training code now? I follow your WPOD-NET, and get good results in our datasets, but this is only LP detection. And OCR result is not well. So hope you can release the OCR training code. Thank you very much!

xiaowenhe avatar Apr 02 '19 06:04 xiaowenhe

hello ,@sergiomsilva, could you release the OCR training code now? I follow your WPOD-NET, and get good results in our datasets, but this is only LP detection. And OCR result is not well. So hope you can release the OCR training code. Thank you very much!

For OCR training, follow the darknet training tutorial:

  • Add " train " and " valid " lines to ocr-net.data
  • Train command example: ./darknet detector train data/ocr/ocr-net.data data/ocr/ocr-net.cfg ocr-net.weights

NNDam avatar Apr 28 '19 02:04 NNDam

hello ,@sergiomsilva, could you release the OCR training code now? I follow your WPOD-NET, and get good results in our datasets, but this is only LP detection. And OCR result is not well. So hope you can release the OCR training code. Thank you very much!

For OCR training, follow the darknet training tutorial:

  • Add " train " and " valid " lines to ocr-net.data
  • Train command example: ./darknet detector train data/ocr/ocr-net.data data/ocr/ocr-net.cfg ocr-net.weights

Hi~ @NNDam ,for ocr-net trainng and follow the steps according to offical yolo framwork,do I need to create specific format dataset,which means I have to label each letter or digit inside a plate manually?Or just give one label txt file including all letters and digits inside that plate?Which method should I use to create custom dataset so I can re-train ocr-net using yolo?Thanls~

TyroneLi avatar Jun 19 '19 03:06 TyroneLi

@TyroneLi You have to label each letter and digits inside plate manually, like labelImg-tool

NNDam avatar Jun 21 '19 15:06 NNDam

@TyroneLi You have to label each letter and digits inside plate manually, like labelImg-tool

@NNDam Okay,I know how to do.So that is like the normal steps to train the official yolo algorithm to detect each object in the image.Before that I was really confused about the ocr-net--how can it segment and detect each letter and digit in the plate at once.Now I know they just use detection algorithm idea.Thanks~

TyroneLi avatar Jun 22 '19 02:06 TyroneLi