EADST

Code for SPIE paper - CEIR

CEIR

This project is for the SPIE paper - Novel Receipt Recognition with Deep Learning Algorithms. In this paper, we propose an end-to-end novel receipt recognition system for capturing effective information from receipts (CEIR).

CEIR code and results have been made available at: CEIR code

CEIR system demo is available at: CEIR Demo

The CEIR has three parts: preprocess, detection, recognition.

Introduction

In the preprocessing method, by converting the image to gray scale and obtaining the gradient with the Sobel operator, the outline of the receipt area is decided by morphological transformations with the elliptic kernel.

In text detection, the modified connectionist text proposal network to execute text detection. The pytorch implementation of detection is based on CTPN.

In text recognition, the convolutional recurrent neural network with the connectionist temporal classification with maximum entropy regularization as a loss function to update the weights in networks and extract the characters from receipt. The pytorch implementation of recognition is based on CRNN and ENESCTC.

We validate our system with the scanned receipts optical character recognition and information extraction (SROIE) database.

Dependency

Python 3.6.3 1. torch==1.4 2. torchvision 3. opencv-python 4. lmdb

Prediction

  1. Download pre-trained model from Google Drive and put the file under ./detection/output/ folder.

  2. Change the image name to demo.jpg in the CEIR folder.

  3. Run python ceir_crop.py for stage 1.
  4. Run python ceir_detect.py for stage 2.
  5. Run python ceir_recognize.py for stage 3.

  6. The result will be saved in ./result/.

Training

  1. Put dataset in ./dataset/train/image and ./dataset/train/label.

  2. Preprocess parameters can be changed in ./preprocess/crop.py.

  3. In the detection part, the ./detection/config.py is used for configuring. After that, run python train.py in the detection folder.

  4. In recognition, you need to change trainroot and other parameters in train.sh, then run sh train.sh to train.

相关标签
About Me
XD
Goals determine what you are going to be.
Category
标签云
Bipartite 腾讯云 diffusers SVR Bert SQLite 域名 PyTorch 论文速读 DeepStream Magnet FP32 v2ray RGB Docker 多进程 顶会 关于博主 FP8 QWEN HuggingFace Permission Linux Datetime git-lfs OCR Proxy Qwen2.5 Streamlit Hotel Math Michelin Use SAM LLAMA Excel ONNX 签证 Image2Text 图标 ChatGPT tqdm Bin Sklearn torchinfo NameSilo Agent 云服务器 证件照 Augmentation 音频 Vim Animate 净利润 PDB Diagram llama.cpp Interview 继承 Hilton Plate logger 第一性原理 Template 递归学习法 Miniforge Tensor 财报 Qwen TensorRT Baidu Random LaTeX PIP Dataset icon Pillow uWSGI Safetensors DeepSeek Shortcut Numpy Domain 多线程 Qwen2 Clash tar Jetson Vmess Review Breakpoint Conda NLTK Google PyCharm Land Claude Heatmap Data XGBoost PDF CV VPN CLAP Pytorch HaggingFace scipy transformers Nginx Color GGML 搞笑 Zip Quantize Translation SPIE Bitcoin uwsgi 报税 Crawler LoRA 图形思考法 BeautifulSoup EXCEL Disk 强化学习 Rebuttal NLP LLM Anaconda Algorithm Tracking CUDA mmap GPT4 Card hf Web Password Input git YOLO FastAPI BF16 TTS BTC Quantization CSV FP16 公式 GPTQ RAR CEIR Base64 v0.dev Plotly Llama 版权 阿里云 Pandas API IndexTTS2 Python VSCode UI 飞书 TSV CTC GoogLeNet Tiktoken Pickle Distillation Mixtral AI FlashAttention OpenCV Knowledge Github JSON Ptyhon Jupyter Search Markdown Cloudreve Attention OpenAI Food WAN Logo News UNIX ResNet-50 Gemma InvalidArgumentError C++ Windows printf FP64 TensorFlow Transformers 论文 Ubuntu Django ms-swift VGG-16 CAM WebCrawler Hungarian GIT LeetCode COCO 算法题 SQL Paddle Freesound RL XML Website Paper Video CC Statistics MD5 Git ModelScope Firewall
站点统计

本站现有博文333篇,共被浏览924396

本站已经建立2631天!

热门文章
文章归档
回到顶部