Skip to content

Commit 9d67b44

Browse files
authored
Merge pull request #67 from yescan-vision/feat/add-yescan-scan-qoder
feat: add yescan-scan-qoder skill
2 parents 6f3e799 + 8eb88c0 commit 9d67b44

2 files changed

Lines changed: 152 additions & 0 deletions

File tree

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
---
2+
name: yescan-scan-qoder
3+
title: 夸克扫描王 · 图像增强
4+
description: 当用户需要对图片进行画质优化、瑕疵去除或视觉增强时,AI Agent 自动调用夸克扫描王图像增强 API。支持 13 种场景:画质增强、去水印、去阴影、去手写、去屏纹、去底色、证件增强、考试增强、合同扫描、裁剪矫正、素描速写、线稿提取、通用扫描。输出优化后的高清图片文件。
5+
source: community
6+
author: yescan-vision
7+
githubUrl: https://github.com/yescan-ai/yescan-scan-qoder
8+
docsUrl: https://scan.quark.cn/business
9+
category: productivity
10+
tags:
11+
- 图像增强
12+
- 扫描
13+
- 去水印
14+
- 去阴影
15+
- 去手写
16+
- 夸克扫描王
17+
roles:
18+
- developer
19+
- designer
20+
featured: false
21+
popular: false
22+
isOfficial: false
23+
installCommand: |
24+
git clone https://github.com/yescan-ai/yescan-scan-qoder.git
25+
cp -r yescan-scan-qoder ~/.qoder/skills/
26+
date: 2026-06-16
27+
---
28+
29+
## 使用场景
30+
31+
- 试卷、笔记、教材等学习资料拍照后画质增强
32+
- 去除图片上的水印、阴影、手写笔迹、摩尔纹
33+
- 证件票据(身份证、发票、护照)清晰度优化
34+
- 合同/协议文档图片增强归档
35+
- 彩色背景文档一键转为白底黑字
36+
- 拍歪的文档透视矫正与边缘裁剪
37+
- 照片转素描速写风格或提取线稿
38+
39+
## 支持场景
40+
41+
| # | 场景 | scene 标识 |
42+
|---|------|-----------|
43+
| 1 | 考试增强 | `exam-enhance` |
44+
| 2 | 画质增强 | `image-hd-enhance` |
45+
| 3 | 证件票据增强 | `certificate-enhance` |
46+
| 4 | 图像去手写 | `remove-handwriting` |
47+
| 5 | 图像去水印 | `remove-watermark` |
48+
| 6 | 图像去阴影 | `remove-shadow` |
49+
| 7 | 图像去屏纹 | `remove-screen-pattern` |
50+
| 8 | 文档去底色 | `remove-background-color` |
51+
| 9 | 图像裁剪矫正 | `image-crop-rectify` |
52+
| 10 | 素描速写 | `sketch-drawing` |
53+
| 11 | 提取线稿 | `extract-lineart` |
54+
| 12 | 扫描合同 | `scan-contract` |
55+
| 13 | 扫描文件(兜底) | `scan-document` |
56+
57+
## 示例
58+
59+
```
60+
用户:这张试卷拍得不太清楚,帮我增强一下
61+
Agent:[自动匹配 exam-enhance 场景,执行 scan.py,返回增强后的图片路径]
62+
63+
用户:帮我把图片右下角的水印去掉
64+
Agent:[自动匹配 remove-watermark 场景,执行处理,返回去水印后的图片]
65+
66+
用户:这张合同照片字迹太淡了,帮忙增强
67+
Agent:[自动匹配 scan-contract 场景,执行处理,返回清晰的合同图片]
68+
```
69+
70+
## 注意事项
71+
72+
- 需要 Python 3.9+ 和 `requests`
73+
- 需要配置夸克扫描王 API Key(`SCAN_WEBSERVICE_KEY`),可在 https://scan.quark.cn/business 获取
74+
- 图片会通过 HTTPS 发送至夸克服务器处理,服务端不永久保存
75+
- 本地文件大小限制 5MB,支持 jpg/png/gif/bmp/webp/tiff 等格式
76+
- 每次仅支持处理单张图片
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
---
2+
name: yescan-scan-qoder
3+
title: Quark Scan · Image Enhancement
4+
description: When users need image quality optimization, defect removal, or visual enhancement, the AI Agent automatically calls the Quark Scan image enhancement API. Supports 13 scenes including HD enhance, remove watermark, remove shadow, remove handwriting, remove moiré pattern, remove background color, certificate enhance, exam enhance, contract scan, crop & rectify, sketch drawing, lineart extraction, and general scan. Outputs enhanced HD image files.
5+
source: community
6+
author: yescan-vision
7+
githubUrl: https://github.com/yescan-ai/yescan-scan-qoder
8+
docsUrl: https://scan.quark.cn/business
9+
category: productivity
10+
tags:
11+
- image enhancement
12+
- scan
13+
- remove watermark
14+
- remove shadow
15+
- remove handwriting
16+
- quark scan
17+
roles:
18+
- developer
19+
- designer
20+
featured: false
21+
popular: false
22+
isOfficial: false
23+
installCommand: |
24+
git clone https://github.com/yescan-ai/yescan-scan-qoder.git
25+
cp -r yescan-scan-qoder ~/.qoder/skills/
26+
date: 2026-06-16
27+
---
28+
29+
## Use Cases
30+
31+
- Enhance image quality of photographed exam papers, notes, and textbooks
32+
- Remove watermarks, shadows, handwriting, and moiré patterns from images
33+
- Optimize clarity of ID documents and receipts (ID cards, invoices, passports)
34+
- Enhance and archive contract/agreement document images
35+
- Convert colored background documents to clean white background with black text
36+
- Auto-rectify perspective and crop edges of tilted documents
37+
- Convert photos to sketch/pencil drawing style or extract lineart
38+
39+
## Supported Scenes
40+
41+
| # | Scene | Scene ID |
42+
|---|-------|----------|
43+
| 1 | Exam Enhance | `exam-enhance` |
44+
| 2 | HD Enhance | `image-hd-enhance` |
45+
| 3 | Certificate Enhance | `certificate-enhance` |
46+
| 4 | Remove Handwriting | `remove-handwriting` |
47+
| 5 | Remove Watermark | `remove-watermark` |
48+
| 6 | Remove Shadow | `remove-shadow` |
49+
| 7 | Remove Screen Pattern | `remove-screen-pattern` |
50+
| 8 | Remove Background Color | `remove-background-color` |
51+
| 9 | Crop & Rectify | `image-crop-rectify` |
52+
| 10 | Sketch Drawing | `sketch-drawing` |
53+
| 11 | Extract Lineart | `extract-lineart` |
54+
| 12 | Scan Contract | `scan-contract` |
55+
| 13 | Scan Document (fallback) | `scan-document` |
56+
57+
## Example
58+
59+
```
60+
User: This exam paper photo is blurry, please enhance it
61+
Agent: [Auto-matches exam-enhance scene, executes scan.py, returns enhanced image path]
62+
63+
User: Remove the watermark in the bottom-right corner of this image
64+
Agent: [Auto-matches remove-watermark scene, processes image, returns watermark-free image]
65+
66+
User: The text on this contract photo is too faint, please enhance it
67+
Agent: [Auto-matches scan-contract scene, processes image, returns clear contract image]
68+
```
69+
70+
## Notes
71+
72+
- Requires Python 3.9+ and `requests` library
73+
- Requires Quark Scan API Key (`SCAN_WEBSERVICE_KEY`), obtainable at https://scan.quark.cn/business
74+
- Images are sent to Quark servers via HTTPS for processing; server does not permanently store data
75+
- Local file size limit: 5MB; supported formats: jpg/png/gif/bmp/webp/tiff
76+
- Only single image processing per request

0 commit comments

Comments
 (0)