abbyyocr
Wrapper for Abby OCR SDK
Last updated 3 years ago by madeline .
MIT · Original npm · Tarball · package.json
$ cnpm install abbyyocr 
SYNC missed versions from official npm registry.

Abbyy OCR Wrapper for Node.js

This is a cleaned-up wrapper for the Abbyy OCR SDK. It is heavily inspired by https://github.com/abbyysdk/ocrsdk.com/blob/master/JavaScript/ocrsdk.js, and by "heavily inspired", I mean I re-wrote it so the code made more sense along with adding a few new doo-hickeys like uploading images to S3

How do I use it?

  • Call create (the only exported function) with your application ID (what the application is called), the application password that was emailed to you and options for processing.
    • This function will return a class that has one function called process.
  • process takes in the file path to the image, optionally what processing you want do (Image, Receipt, etc. Look here for the full list) and a callback.
    • process will send it off the processing and call you back with a JSON object of the results. Woooo! So much easier than their original way. :)

Options to give when instantiate

  • uploadToS3: Whether images should be uploaded to S3 as they are processed
  • s3: Options for when uploading to S3
    • bucket: Name of the S3 bucket to upload to
    • Note: The key of the file will be the key of whatever the file is called
  • urlParams: Any option that Abbyy lists on their API reference. These options will be made into a URL query string and appended.

Current Tags

  • 0.0.3                                ...           latest (3 years ago)

3 Versions

  • 0.0.3                                ...           3 years ago
  • 0.0.2                                ...           3 years ago
  • 0.0.1                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 1
Last Month 4
Dependencies (4)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |