Skip to content

(MobilePhone-captured-form image recognition) Form content digits recognition based on OPEN-CV and Tensorflow.

Notifications You must be signed in to change notification settings

hetianle/OCR-MobilePhone-captured-form-image-recognition

Repository files navigation

OCR-MobilePhone-captured-form-image-recognition

The software could extract form content (mainly digital numbers) from mobile phone captured photos. It could recognizes the location (columns and rows of the form) of each cell, thus we could restore the data structure of form and inport to database.

Pipeline

  1. Image Preprocessing (Image gray scale, edge enhancement, banarization)
  2. Form area extraction.
  3. Line detection (vertical and horizontal)
  4. Key points detection and classification (corner point, cross point, edge point......) and cells extraction (record the coulmns and rows of wach cell)
  5. Content recognition using tensorflow (mainly digitis numbers recognition)
  6. Inport into database

Denpidencies

python3.6,opencv-python,pillow,tensorflow

Usage

cd ../../OCR-MobilePhone-captured-form-image-recognition
python main.py (you can customize your input and output in main function.)

Highlights

  1. raw image

  1. edge enhancement

  1. bin image

  1. Form area extraction

  1. lines detection

  1. Key points detection and classification (corner point, cross point, edge point......)

  1. Cells extraction

About

(MobilePhone-captured-form image recognition) Form content digits recognition based on OPEN-CV and Tensorflow.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages