-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
阈值图片为白色图片 #2
Comments
同问,node v4.1.0 |
改成这样之后可以了:.threshold(55, '%') |
感谢 @phaibin ,然后这里阈值 55 转换为百分比差不多为 22% |
$ node index.js 我发现执行结果是这样的,怎么回事呀! |
@Phunsuke |
brew install imagemagick |
@tanyinping 我的是MacOS,Windows没有试过。 |
请问 你弄好了吗 我也是遇到这个问题 我使用 require('gm').subClass({ imageMagick: true }) 还是运行不起来 有其他的报错 识别失败 |
node 6
安装好了依赖,执行
node index.js
返回识别结果为空
查看发现test_1.jpg为白色图片
The text was updated successfully, but these errors were encountered: