Monter-code/dsh-image-insight ↗★ 0
dsh-image-insight
提供结构化图像识别与指纹缓存服务 适合需要对图片进行OCR、定位和描述,且有高频重复图片识别需求的用户。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Monter-code/dsh-image-insight说明文档
阅读完整 README ↗配置
在 cordis.patch.yml 的 config 里覆盖(apply(ctx, config) 会做范围检查与补默认值):
| 键 | 默认 | 说明 |
|---|---|---|
cacheDir | $DSH_HOME/image-insight-cache | 缓存目录 |
cacheTtlDays | 30 | 条目有效期(天) |
cacheMaxEntries | 2000 | 条目上限,超出按 LRU 淘汰 |
maxImageEdge | 1536 | 出网前长边上限(像素) |
maxConcurrency | 3 | 批量并发上限 |
timeoutMs | 60000 | 单次云端识别超时 |
temperature | 0 | 识别任务默认确定性输出 |
maxTokens | 3000 | 单次云端输出上限 |
nearDuplicateDistance | 6 | 近似命中/相似检索的 dHash 汉明距离阈值 |
reasoningEffort | auto | 云端思考档位:auto 挑模型声明的最低档(更快)/ default 不指定 / 显式档位名如 low |
provider / model | 空 | 固定视觉模型;留空则自动选择 |
- insert:
- id: dsh-image-insight
name: dsh-image-insight
config:
maxImageEdge: 1536
cacheTtlDays: 30