azwosile/dsh-highres-vision ↗★ 8

dsh-highres-vision

提升视觉模型图片限制并提供高分辨率切片读取 适合需要使用DeepSeek模型处理超大、高分辨率图片,避免因图片尺寸受限而降低识别精度的任务。

套件
dsh-highres-vision
相容性
待驗證
版本
0.3.2
授權
MIT
最近更新
2026年9月11日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:azwosile/dsh-highres-vision

配置

- id: dsh-highres-vision
  name: dsh-highres-vision
  config:
    deepseekOnly: true               # 只在 DeepSeek 系列模型下启用
    unknownModelPolicy: allow        # 判定不出模型时:allow | deny
    autoRaiseModelBudget: true       # false = 不抬模型预算
    modelBudgetScope: deepseek       # deepseek = 只改 DeepSeek 条目;all = 该命名空间全部
    modelImagePixelBudget: 1690000   # 1300 x 1300
    modelImageMaxBytes: 8388608      # 8 MiB
    tile: 1300                       # 单块最大边长;旧基线可设 800
    overlap: 0                       # 0 = 自动
    remind: true                     # false = 关闭 pre-step 提醒
    remindThreshold: 1300            # 缺省与 tile 一致

modelImagePixelBudget 需要与 tile 同批调整。

边界:插件只抬预算,不改模型名与模态。模型没写 inputModalities: [text, image] 时按内核规则视为纯文本而跳过,需要你自行添加。