Skip to content

Latest commit

 

History

History
38 lines (32 loc) · 1.3 KB

README.md

File metadata and controls

38 lines (32 loc) · 1.3 KB

MicroOCR

a micro OCR network.

This model can handle complex tasks without lstm, and its accuracy and speed are better than resnet and crnn models.

Script Description

MicroOCR
├── README.md                                   # descriptions about MicroNet
├── average_meter.py                            # average meter
├── collatefn.py                                # batch data processing
├── label_converter.py                          # label converter
├── dataset.py                                  # data preprocessing for training and evaluation
├── demo.py                                     # inference
├── gen_image.py                                # generate image for train and eval
├── img_aug.py                                  # img augmentation
├── infer_tool.py                               # inference tool
├── logger.py                                   # logger
├── loss.py                                     # ctcloss definition
├── model.py                                    # MicroMLPNet
├── train.py                                    # train the model

Generate data for train and eval

python gen_image.py

Training

python train.py

Inference

python demo.py