appel / copy-notes
Extract text from scanned handwritten notes using Google Vision API.
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
Type:project
Requires
- php: >=7.1
- google/cloud-vision: ^0.23.0
- vlucas/phpdotenv: ^3.6
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! 📝