Monter-code/dsh-image-insight ↗★ 0

dsh-image-insight

本地 sharp 感知 + 云端视觉模型的结构化图像识别插件:一次调用拿到描述、OCR、目标定位、细粒度属性,并用图片指纹缓存让重复图片毫秒返回。 适合需要对图片进行OCR、定位和描述,且有高频重复图片识别需求的用户。

パッケージ
dsh-image-insight
互換性
未検証
バージョン
0.2.0
最終更新
2026/10/18

インストール

$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缓存目录
cacheTtlDays30条目有效期(天)
cacheMaxEntries2000条目上限,超出按 LRU 淘汰
maxImageEdge1536出网前长边上限(像素)
maxConcurrency3批量并发上限
timeoutMs60000单次云端识别超时
temperature0识别任务默认确定性输出
maxTokens3000单次云端输出上限
nearDuplicateDistance6近似命中/相似检索的 dHash 汉明距离阈值
reasoningEffortauto云端思考档位:auto 挑模型声明的最低档(更快)/ default 不指定 / 显式档位名如 low
provider / model空固定视觉模型;留空则自动选择
- insert:
    - id: dsh-image-insight
      name: dsh-image-insight
      config:
        maxImageEdge: 1536
        cacheTtlDays: 30