# scanCode **Repository Path**: zhouQiang1994/scan-code ## Basic Information - **Project Name**: scanCode - **Description**: chrome 识别验证码插件 - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 2 - **Created**: 2024-01-03 - **Last Updated**: 2024-01-03 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # scanCode 基于 `ddddocr` `flask` 需要有 `docker` 环境 #### 介绍 一个破功能 还 tm 收费 , 行我自己造轮子,开源 需要网络 chrome 识别验证码插件。 直接运行 run.sh ![输入图片说明](static/run_result.png) 进入 cd chrome-test 文件夹 ![输入图片说明](static/cd_chrome_test.jpg) 执行 npm install 初始化包 ([npm 相关操作](chrome-test/README.md)) ![输入图片说明](static/npm_install.jpg) 执行 npm run build 构建 dist ![输入图片说明](static/npm_build.jpg) 自己拖拽 dist 文件夹 到 chrome 插件仓库 ,右键图片->识别验证码 ![输入图片说明](static/drag.png) ### 使用 ![输入图片说明](./static/image.png) ![输入图片说明](./static/result.png) ### **注:** ##### Chrome 插件调用 notifications 接口无响应 需要打开 chrome 权限 1、检查`manifest.json`(在构建好的 dist 包中)是否加了通知权限 "permissions":[ "notifications" ], 2、chrome.notifications.create 调用的 icon 地址是否错误。 以上都没问题,还是没显示消息通知。 接下来该怀疑是否是浏览器作了限制,经查找资料发现可能是新版本 Chrome 浏览器禁用了 MacOS 本机通知。 解决方案: 1、在 Chrome 浏览器中访问地址:chrome://flags。 2、搜索栏中搜索:notifications,找到 Enable system notifications 选项,将其选项值改为 Disabled,重启浏览器,问题解决。 ![输入图片说明](./static/problem1.png) #### 软件架构 软件架构说明 #### 安装教程 1. xxxx 2. xxxx 3. xxxx #### 使用说明 1. xxxx 2. xxxx 3. xxxx #### 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request #### 特技 1. 使用 Readme_XXX.md 来支持不同的语言,例如 Readme_en.md, Readme_zh.md 2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) 3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) 6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)