https://github.com/avrahamappel/copy-notes
Extract text from scanned handwritten notes using the Google Vision API.
https://github.com/avrahamappel/copy-notes
ocr php vision-api
Last synced: 20 days ago
JSON representation
Extract text from scanned handwritten notes using the Google Vision API.
- Host: GitHub
- URL: https://github.com/avrahamappel/copy-notes
- Owner: avrahamappel
- Created: 2019-09-13T15:18:45.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-09-20T18:16:33.000Z (over 6 years ago)
- Last Synced: 2025-12-14T12:44:29.728Z (6 months ago)
- Topics: ocr, php, vision-api
- Language: PHP
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Usage
Run from the command line:
```bash
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.
```bash
copy-notes path/to/file/notes.jpg ~/Notes/notes.txt
```
# Installation (Composer)
```bash
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.
```bash
export GOOGLE_APPLICATION_CREDENTIALS=path/to/credentials.json
```
Happy copying! 📝