Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ttv20/gDriveOCR
OCR by Google Drive API
https://github.com/ttv20/gDriveOCR
google-drive-api ocr
Last synced: 3 days ago
JSON representation
OCR by Google Drive API
- Host: GitHub
- URL: https://github.com/ttv20/gDriveOCR
- Owner: ttv20
- License: mit
- Created: 2019-08-09T08:54:06.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-06T21:23:43.000Z (almost 2 years ago)
- Last Synced: 2024-10-27T04:27:39.295Z (13 days ago)
- Topics: google-drive-api, ocr
- Language: JavaScript
- Size: 53.7 KB
- Stars: 14
- Watchers: 3
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- my-awesome-starred - ttv20/gDriveOCR - OCR by Google Drive API (JavaScript)
README
Node CLI program for OCR large PDF documents
## Purpose
Let you OCR (extract text from image) from PDF by Google Drive API## Table of Contents
1. [Installation](#installation)
2. [How to get credentials file](#how-to-get-credentials-file)
3. [Usage](#usage)
5. [TODO](#todo)
### installation
```bash
# npm install -g gdriveocr
```### How to get credentials file
to use this program you need to enable the Drive API on your Google account:
* Go to [Google Drive API](https://developers.google.com/drive/api/v3/quickstart/nodejs)
* Click on 'ENABLE THE DRIVE API'
* Download the cert file by clicking on 'DOWNLOAD CLIENT CONFIGURATION'### Usage
```
Usage: gdriveocr [options]
OCR by Google Drive API
Options:
-V, --version output the version number
-l, --lang 2 digit language language hint for the OCR (if not specifid Google recognized alone)
-c, --cert Google API cert file path (default: "./credentials.json")
-h, --help output usage information
```### TODO
* support multiple files and images
* better error handling
* API