GithubHelp home page GithubHelp logo

amirmojiry / cut-columns-page Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 20 KB

I had a book with two-columns pages. I wanted cut every column of a page and then stick two columns vertically. This is a project for this task and some related tasks.

License: GNU General Public License v3.0

PHP 100.00%

cut-columns-page's Introduction

cut-columns-page

I had a book with two-columns pages. I wanted cut every column of a page and then stick two columns vertically. This is a project for this task and some related tasks. I've listed this tasks below:

Calculate page number

For each page first of all, we need to export page number from name of the page.

Create column image

This function create two columns from a page.

Cut image

This function cut a part of a page in the way we want.

Merge two image

This function merge two image vertically.

The goal of this project

I wanted to export the txt of a book. I had pages of the book at image format and I wanted to convert these with an Iranian OCR system. But this system could not recognize two columns page correctly. So I should cut coulmns and merge these vertically. And this system wanted money for each page, so if I had fewer pages, I paid fewer. So I used this code to merged four pages in one page.

cut-columns-page's People

Contributors

amirmojiry avatar

Watchers

 avatar  avatar

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.