JavaDerg / AnkiOCR

Create an Anki-Learn-Deck fully automatically from existing Cards with Optical-Character-Recognition.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AnkiOCR

Code style: black

Introduction

Create an Anki-Learn-Deck fully automatic from existing cards with Optical-Character-Recognition.

Getting Started

Pre-requisites

  • Python 3.7+
  • Pytesseract with your needed Language Packagesudo apt install tesseract-ocr-[language code]
  • Anki-Desktop

Installation

  • Go to the Release Section and grab a copy of this project.
  • Extract the archive and open a command prompt in the folder (Shift + Right Clickon Windows).
  • Run pip3 install requirements.txt

Usage

  • Put your .jpg Files into ./img/
  • Run python3 ./AnkiOCR.py
  • Import ./output.csv into Anki-Desktop

FAQ

Q: Can I create my own keywords list? A: Sure, follow the guide in the Wiki.

Q: Can I use AnkiOCR with my existing hand-written cards? A: At the moment not.

Q: Will there be Multi-Threading/Processing? A: At the moment Pytesseract is using multiple cores. It has to be measured, if for the other parts of the code the speed improvements are justifying the additional work.

Contact

Check out my Github Proflie.

License

This project is licensed under a custom license. See LICENSE.md for more infos.

About

Create an Anki-Learn-Deck fully automatically from existing Cards with Optical-Character-Recognition.

License:Other


Languages

Language:Python 100.0%