|
| 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