Install ImageMagick for image conversion:
brew install imagemagick
Install tesseract for OCR:
brew install tesseract --all-languages
Or install without --all-languages
and install them manually as needed.
-- see https://github.com/ankidroid/Anki-Android/wiki/Database-Structure for a more maintained version of this | |
-- cards are what you review. easy! | |
CREATE TABLE cards ( | |
id integer primary key, | |
-- the epoch milliseconds of when the card was created | |
nid integer not null, | |
-- notes.id | |
did integer not null, | |
-- deck id (available in col table) |
description "Mailcatcher" | |
start on runlevel [2345] | |
stop on runlevel [!2345] | |
respawn | |
pre-start script | |
bash << "EOF" | |
mkdir -p /var/log/mailcatcher |
Install ImageMagick for image conversion:
brew install imagemagick
Install tesseract for OCR:
brew install tesseract --all-languages
Or install without --all-languages
and install them manually as needed.