Socket
Socket
Sign inDemoInstall

gdriveocr

Package Overview
Dependencies
6
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

gdriveocr

OCR by Google Drive API


Version published
Maintainers
1
Weekly downloads
1

Weekly downloads

Readme

Source

gDriveOCR

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
  2. [How to get credentials file](#How to get credentials file)
  3. Usage
  4. TODO

installation

# 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
  • Click on 'ENABLE THE DRIVE API'
  • Download the cert file by clicking on 'DOWNLOAD CLIENT CONFIGURATION'

Usage

Usage: gdriveocr [options] <file>

OCR by Google Drive API

Options:
  -V, --version      output the version number
  -l, --lang <lang>  2 digit language language hint for the OCR (if not specifid Google recognized alone)
  -c, --cert <cert>  Google API cert file path (default: "./credentials.json")
  -h, --help         output usage information

TODO

  • support multiple files and images
  • better error handling

Keywords

FAQs

Last updated on 09 Aug 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc