Giter VIP home page Giter VIP logo

digitizertools's Introduction

digitizerTools

  • This repository provides some kinds of tools for book digitizing.
  • The quality of scanned document leads to the good digitizing.
  • This tools assume that
    • Book is scaned with 2-page spread and gray color.
    • The doeument area is all the same on all pages.
    • Scaned data is skew, shadow coming from binding margin.

dependencies

  • cmake(version 3.20.0 or higher)
  • OpenCV

How to digitize

  1. After scan, create file set of "%03d.png" file. If you have PDF file format, extract png file by Acrobat or other tools.
  2. Use split tool to separate 2-page spread into 1 page png file.
./execute <path of png files>

For file specification, wildcard * is available. Note that split file(s) are exported in current directory, please take care overwriting.

  1. To obtaine good skew modification, remove shadow around the edges.
./execute <path of png files>

However, this tool does not provies auto shadow detection, therefore you have to change parameters of white fill region in main.cpp or by hand using like photoshop or gimp.

  1. Rotate picture by line detection.
./execute <path of png files>

This tool also requires parameters adjustment for good line detection.

  1. Use affin transform to locate the pages at the same position.

  2. Bind separated 2 pages, compress by jpeg format.

  3. OCR, compress, index (please use acrobat)

  4. finish

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.