New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

jscv

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jscv

Computer Vision done in Node.js

  • 0.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

JSCV

Computer Vision done in Node.js

By Chris Cates :star:

API

JSCV.autoReadText(); - Automatically read text from an image through Computer Vision

Object Parameters
JSCV.readText({
	//The physical image in .png or .jpg format
	'image': '/path/to/image',
	//The RGBA values of the text
	'rgba': {
		'r': 0,
		'b': 0,
		'g': 0,
		'a': 255
	},
	//The variance in rgba if there is discoloration or distortion
	'variance': 20
});
Supported font types:
  • Times New Roman
  • Lato
  • Sans Serif
  • Monospace
  • Serif
  • Open Sans

JSCV.readText(); - Much faster then JSCV.autoReadText(); since you can tune it to read for a specific font.

Object Parameters
JSCV.readText({
	//The physical image in .png or .jpg format
	'image': '/path/to/image',
	//The font face you are looking to read from
	'font': 'Lato',
	//The RGBA values of the text
	'rgba': {
		'r': 0,
		'b': 0,
		'g': 0,
		'a': 255
	},
	//The variance in rgba if there is discoloration or distortion
	'variance': 20
});

Keywords

FAQs

Package last updated on 28 Sep 2016

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc