Socket
Socket
Sign inDemoInstall

node-red-contrib-tesseract

Package Overview
Dependencies
68
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    node-red-contrib-tesseract

Tesseract.js is a pure Javascript port of the popular Tesseract OCR engine and performs offline text recognition.


Version published
Weekly downloads
30
increased by11.11%
Maintainers
1
Install size
57.7 MB
Created
Weekly downloads
 

Readme

Source

Tesseract

Tesseract.js is a pure Javascript port of the popular Tesseract OCR engine. It performs all OCR tasks locally without requiring a connection to any external service.

Tesseract was originally developed at Hewlett-Packard Laboratories Bristol and at Hewlett-Packard Co, Greeley Colorado between 1985 and 1994, with some more changes made in 1996 to port to Windows, and some C++izing in 1998. In 2005 Tesseract was open sourced by HP. Since 2006 it is developed by Google.

Tesseract flow

This Node-RED implementation of Tesseract.js has been provided by Sjoerd van der Hoorn.

Settings

Input

  • msg.payload - Local filename, URL, or image buffer.

Output

  • msg.payload - String with recognized text.
  • msg.tesseract - Object with recognized text split out per line and word, plus confidence information.
{
	text: "Text from image\nSecond line",
	confidence: 87,
	lines: 
	[
		{
			text: "Text from image",
			confidence: 93,
			words:
			[
				{
					text: "Text",
					confidence: 97
				},
				{
					...
				}
			]
		},
		{
			...
		}
	]
}

Additional information

Keywords

FAQs

Last updated on 01 Sep 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