Community plugin

xby-skill / xby-ocr-pass

识别港澳通行证、台湾通行证的通行证号码、姓名、性别、出生日期、有效期、签发地点等信息,支持MRZ机读码解析。

  • TypeScript
  • MIT
  • 0 stars
  • Aug 28, 2026

About this plugin

Written by the registry from verified metadata, not from the README.

xby-ocr-pass is a DSH plugin published from the xby-skill/xby-ocr-pass repository.

  • Listing statusManifest verified
  • Manifest checkedNov 23, 2026
  • Packagexby-ocr-pass
  • Package version1.0.0
  • Source commite973491
  • Repository createdAug 28, 2026

Capabilities and topics

xby-ocr-passxbyocrpass
From the repository README

README

Everything below this line is the repository's own document, cached here. This site did not write or review it.

xby-ocr-pass

DeepSeek Harness (DSH) 的插件:港澳台通行证识别OCR

识别港澳通行证、台湾通行证的通行证号码、姓名、性别、出生日期、有效期、签发地点等信息,支持MRZ机读码解析。

功能

  • set_xby_apikey — 在聊天中设置 API 密钥(自动持久化,重启有效)
  • ocr_pass — 识别港澳通行证、台湾通行证的通行证号码、姓名、性别、出生日期、有效期、签发地点等信息,支持MRZ机读码解析。 需要输入图片文件链接。
  • ocr_pass_for_data_base64 — 识别港澳通行证、台湾通行证的通行证号码、姓名、性别、出生日期、有效期、签发地点等信息,支持MRZ机读码解析。 需要输入图片文件的BASE64编码。
  • ocr_pass_for_data_file — 识别港澳通行证、台湾通行证的通行证号码、姓名、性别、出生日期、有效期、签发地点等信息,支持MRZ机读码解析。 需要输入图片文件的文件路径。

安装

方式一:从 GitHub 直接安装(推荐)

# 格式: dsh plugin --profile <profile> add github:<owner>/<repo>
dsh plugin --profile web add github:xby_skill/xby-ocr-pass

方式二:从本地目录安装(开发模式)

# 仅用于本地开发调试
dsh plugin --profile web add /absolute/path/to/xby-ocr-pass

方式三:通过 cordis.patch.yml 开发调试

dsh web --profile web --patch /absolute/path/to/dsh-ocr-plugin/cordis.patch.yml

配置

获取 API 密钥

前往 小笨羊官网 注册并获取 API 密钥。

Badge

Listed here? Link back with this badge — paste the snippet into your repository README.

Listed on DSH Plugin badge
[![Listed on DSH Plugin](https://dsh-plugin.com/badges/listed.svg)](https://dsh-plugin.com/plugins/xby-skill/xby-ocr-pass)
xby-ocr-pass — DSH Plugin