Skip to content

Node module based on node-tesseract to recognize texts in images by an image url.

Notifications You must be signed in to change notification settings

frankred/node-ocr-by-image-url

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

node-ocr-by-image-url

Node module based on node-tesseract to recognize texts in images by an image url.

Install

1) Install the native ocr engine

tesseract-ocr can be found here: https://code.google.com/p/tesseract-ocr.

2) Install npm module

npm install ocr-by-image-url

Usage

var ocr = require('ocr-by-image-url');

ocr.getImageText('http://image.com/cat-poem.png', function(error, text){
    console.log(text.trim());
});


// With proxy
var proxy = 'http://user:pass@proxy.server.com:3128';
ocr.getImageText('http://image.com/cat.png', proxy, function(error, text){
    console.log(text.trim());
});

About

Node module based on node-tesseract to recognize texts in images by an image url.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published