# ocr-by-image-url

> Simple to use module to recognize texts in images by an image url

Latest version **0.0.1** (published 2015-11-12) · MIT license · 0 weekly downloads

## Install

```sh
npm install ocr-by-image-url
pnpm add ocr-by-image-url
yarn add ocr-by-image-url
bun add ocr-by-image-url
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2015-11-12 |
| First published | 2015-11-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 6 |
| Author | Frank Roth |
| Maintainers | frankred |
| Keywords | ocr, image, url, tesseract, node-tesseract |

## Links

- npm: https://www.npmjs.com/package/ocr-by-image-url
- Repository: https://github.com/frankred/node-ocr-by-image-url
- Homepage: https://github.com/frankred/node-ocr-by-image-url#readme
- Issues: https://github.com/frankred/node-ocr-by-image-url/issues
- npm.io page: https://npm.io/package/ocr-by-image-url

## Dependencies (5)

- [async](https://npm.io/package/async.md) ^1.5.0
- [debug](https://npm.io/package/debug.md) ^2.2.0
- [needle](https://npm.io/package/needle.md) ^0.11.0
- [node-uuid](https://npm.io/package/node-uuid.md) ^1.4.4
- [node-tesseract](https://npm.io/package/node-tesseract.md) ^0.2.7

## Alternatives

- [base64url](https://npm.io/package/base64url.md) — 6.1M weekly downloads
- [get-installed-path](https://npm.io/package/get-installed-path.md) — 502.9K weekly downloads
- [@uppy/url](https://npm.io/package/@uppy/url.md) — 185.8K weekly downloads
- [@d3fc/d3fc-shape](https://npm.io/package/@d3fc/d3fc-shape.md) — 16.2K weekly downloads
- [localizer](https://npm.io/package/localizer.md) — 226 weekly downloads

## Recent versions

- 0.0.1 (latest) — 2015-11-12

## README

# 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](https://code.google.com/p/tesseract-ocr "https://code.google.com/p/tesseract-ocr").

### 2) Install npm module
```
npm install ocr-by-image-url
```

## Usage
```js
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);
});
```

---
_Source: https://npm.io/package/ocr-by-image-url · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
