Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 774 Bytes

README.md

File metadata and controls

21 lines (14 loc) · 774 Bytes

Text or handwriting detection with Google's OCR Vision Ai

Processes image files (of type PNG, JPG, JPEG) containing handwritten (or typed text) found in an entry point directory and all its subdirectories. Outputs a .txt file for each image file. Accepts a language hint parameter i.e. EN, RO, EN-HAND, RO-HAND. Default is EN, RO (both English and Romanian)

Makes use of Google Vision API. To set up your Google console account and get your service account credentials file follow the docs above.

Installation

npm install

Usage

npm start [credentials-json-file] [entry-directory-name] [optional:language EN / RO / EN-HAND / RO-HAND]