Giter VIP home page Giter VIP logo

ocrmymanga's Introduction

OCRMyManga

OCR My Manga is a tool to help you OCR your manga. Utilizing the Google Cloud Vision API, it can automatically detect text in your manga and output it to a text file.

OCRMyManga is written in Python. It is still in development, so there may be bugs.

SINCE THIS TOOL USES THE GCLOUD LIBRARY, YOU WILL NEED TO HAVE A GOOGLE CLOUD ACCOUNT TO USE IT. THIS MAY INCUR MONETARY COSTS FOR LARGE OCR TASKS > 1000 pages

Installation

This tool REQUIRES a Google Cloud Vision API Key. Follow these instructions to get one: https://cloud.google.com/vision/docs/setup

Then, install OCRMyManga from pip with the following command: pip install ocrmymanga

Usage

OCRMyManga is a command line tool. It can be run with the following command: It will ONLY output into pdf format.

ocrmymanga [-h] [INPUT] [-o OUTPUT] [-b] [-c CREDS] [-v]

-h: help -b: batch process -c: credential file for google vision -v: verbose

Permitted file types

OCRMyManga can only OCR the following file types: .png .jpg .jpeg .cbz

Support for other file types may be added in the future.

Cookbook

OCR a single file

ocrmymanga input.jpg -o output.pdf

Batch OCR a directory

ocrmymanga input_dir -o output_dir -b

OCR with a custom credential file

ocrmymanga input.jpg -o output.pdf -c creds.json

(-c will default to credentials.json)

Github Link

https://github.com/D0rkKnight/OCRMyManga

ocrmymanga's People

Contributors

d0rkknight avatar

Watchers

 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.