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

本站现有博文343篇,共被浏览1065246次

本站已经建立2732天!

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