appel/copy-notes

Extract text from scanned handwritten notes using Google Vision API.

dev-master 2019-09-20 18:16 UTC

This package is auto-updated.

Last update: 2024-11-21 21:55:27 UTC


README

Run from the command line:

copy-notes path/to/file/notes.jpg

A notes-text.txt file will be created with the results of the image scan in the same directory as the source image that you supplied.

You can also pass a target file path as a second parameter.

copy-notes path/to/file/notes.jpg ~/Notes/notes.txt

Installation (Composer)

composer global require appel/copy-notes

Don't forget to enable the Google Vision API and download the credentials JSON file. Once you've done that, pass the file path to the GOOGLE_APPLICATION_CREDENTIALS environment variable.

export GOOGLE_APPLICATION_CREDENTIALS=path/to/credentials.json

Happy copying! 📝