wshoto-img-words-check
v1.0.3
Published
`基于腾讯云ocrapi,需要自行付费购买资源包使用` ## 使用方式
Downloads
9
Readme
敏感图片信息识别
基于腾讯云ocrapi,需要自行付费购买资源包使用
使用方式
- npx wshoto-img-words-check 腾讯云secretId 腾讯云secretKey 项目所在目录 数据文件存储路径 needCheck 存放结果图片目录
- 例:npx wshoto-img-words-check AKIDkIabLo0 PYQ0JM8f /Users/xxx/Desktop/wsoto/qv-admin /Users/xxx/Desktop/wsoto/img-words-check/imgData.json needCheck /Users/xxx/Desktop/wsoto/img-words-check/images
- 腾讯云secretId 腾讯云secretKey 项目所在目录 数据文件存储路径 为必传参数
- 后面的为选传参数
- 效果:将检查目标项目src目录下所有10KB以上jpg、png是否含有公司品牌信息,若存在则会提示在控制台中,数据会记录到参数4(腾讯云secretId为参数1)指定的缓存文件里
- 数据文件存储路径获取方式: https://gitee.com/yizewshoto/wshoto-img-words-check 中复制一份imgData.json放在本地磁盘上,然后拷贝这个本地磁盘的路径
版本更新 log
1.0.2
- 增加图片重复引用处理
- 增加末次接口调用统计
1.0.3
- 增加文件复制功能,显示方式
在项目中的完整路径
@文件名