【文件属性】:
文件名称:Image-to-Text:它将图像转换为基于rgba的文本
文件大小:27KB
文件格式:ZIP
更新时间:2021-05-12 12:56:22
javascript text image-processing JavaScript
图片到文字
它也将图像转换为基于rgba的文本。
NPM套餐 :package:
npm i @phaticusthiccy/image-to-text
例子 :test_tube:
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 ) ;
} ) ;
命令行界面 :laptop:
Getting ready..
【文件预览】:
Image-to-Text-main
----cli-usage.js(2KB)
----.github()
--------workflows()
----LICENSE(34KB)
----README.md(406B)
----.gitignore(14B)
----index.js(4KB)
----package-lock.json(38KB)
----package.json(897B)