jscv
0.0.1 • Public • Published JSCV
Computer Vision done in Node.js
By Chris Cates ⭐️
API
JSCV.autoReadText();
- Automatically read text from an image through Computer Vision
Object Parameters
JSCV.readText({
'image': '/path/to/image',
'rgba': {
'r': 0,
'b': 0,
'g': 0,
'a': 255
},
'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({
'image': '/path/to/image',
'font': 'Lato',
'rgba': {
'r': 0,
'b': 0,
'g': 0,
'a': 255
},
'variance': 20
});
Package Sidebar
Install
Weekly Downloads