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

本站现有博文332篇,共被浏览876239

本站已经建立2583天!

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