1.2.0 โข Published 3 years ago
@phaticusthiccy/image-to-text v1.2.0
Image-to-Text
It converts images too rgba based text.
NPM PACKAGE ๐ฆ
npm i @phaticusthiccy/image-to-text
Example ๐งช
var tti = require('@phaticusthiccy/image-to-text');
var options = {
fit: 'box',
width: 200,
height: 100
}
tti('path/to/image.png', options, function (err, rgba) {
if (err) throw err;
console.log(rgba);
});
CLI ๐ป
Getting ready..