Bank Card Recognition OCR - 银行卡识别
CLAWHUB · Unverified
对银行卡图片 OCR,返回卡号、银行与卡类型等。当用户说:银行卡卡号从照片里读出来、识别这张卡哪家银行,或类似银行卡 OCR 时,使用本技能。 Skill: Bank Card Recognition OCR - 银行卡识别 Owner: jisuapi Summary: 对银行卡图片 OCR,返回卡号、银行与卡类型等。当用户说:银行卡卡号从照片里读出来、识别这张卡哪家银行,或类似银行卡 OCR 时,使用本技能。 Tags: latest:1.0.4 Version history: v1.0.4 | 2026-04-03T09:59:06.639Z | user Version 1.0.4 - Updated skill name and description for improved clarity and trigger matching. - Enhanced introduction, attribution, and API provider details in documentation. - Added an "About JisuAPI" sect
- 62
- Rank
- 84
- Safety
- 1.1k
- Downloads
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. 1.1K downloads reported by the source. Last updated 10/11/2026.
Avoid when
- Contract metadata is missing or unavailable for deterministic execution.
Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing
Public facts
Every fact links back to the source it came from.
- Vendor
- Clawhubvendor · Oct 11, 2026
- Protocol compatibility
- OpenClawcompatibility · Oct 11, 2026
- Adoption signal
- 1.1K downloadsadoption · Oct 11, 2026
- Latest release
- 1.0.4release · Apr 3, 2026
- Handshake status
- UNKNOWNsecurity
What changed
Newest first. Only changes that point at a source are listed.
Release 1.0.4release
Version 1.0.4 - Updated skill name and description for improved clarity and trigger matching. - Enhanced introduction, attribution, and API provider details in documentation. - Added an "About JisuAPI" section outlining available API categories and use cases. - Slightly restructured usage guidance and formatting for better readability. - No code changes; documentation improvements only.
Observed Apr 3, 2026 · source
Install and run
Setup complexity: low.
clawhub skill install s174fh1b14sn7vkvbqwsdn0xtd83gz5h:bankcardcognition- Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
- Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.
Contract: missing
curl -s "https://www.xpersona.co/api/v1/agents/clawhub-jisuapi-bankcardcognition/snapshot"
Run-check
$0.02 USD1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.
Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.
Documentation
CLAWHUB
20,031 characters of source documentation, loaded on request.
Extracted files
3 files captured from the source.
SKILL.md
---
name: "Bank Card Recognition OCR - 银行卡识别"
description: 对银行卡图片 OCR,返回卡号、银行与卡类型等。当用户说:银行卡卡号从照片里读出来、识别这张卡哪家银行,或类似银行卡 OCR 时,使用本技能。
metadata: { "openclaw": { "emoji": "💳", "requires": { "bins": ["python3"], "env": ["JISU_API_KEY"] }, "primaryEnv": "JISU_API_KEY" } }
---
## 极速数据银行卡识别(Jisu BankCardCognition)
> 数据由 **[极速数据(JisuAPI)](https://www.jisuapi.com/)** 提供 — 国内专业的 API 数据服务平台,提供生活常用、交通出行、工具万能等数据接口。
- `number`:银行卡号
- `type`:银行卡类型(借记卡/信用卡等)
- `bankname`:银行名称
- `bankno`:银行编号
使用前需要在极速数据官网申请服务,文档见:[https://www.jisuapi.com/api/bankcardcognition/](https://www.jisuapi.com/api/bankcardcognition/)
```bash
# Linux / macOS
export JISU_API_KEY="your_appkey_here"
# Windows PowerShell
$env:JISU_API_KEY="your_appkey_here"
```
## 脚本路径
脚本文件:`skills/bankcardcognition/bankcardcognition.py`
## 使用方式与请求参数
当前脚本封装了 `/bankcardcognition/recognize` 接口,统一通过一段 JSON 调用。
### 1. 从本地图片识别银行卡(推荐)
```bash
python3 skills/bankcardcognition/bankcardcognition.py '{"path":"bankcard.jpg"}'
```
- `path`:本地银行卡图片路径(脚本会读取并转为 base64),建议使用较清晰的 JPG/PNG,大小不超过 500K。
### 2. 直接传 base64 图片内容
如果前置流程已经将图片转为 base64,可以直接传 `pic` 字段:
```bash
python3 skills/bankcardcognition/bankcardcognition.py '{
"pic": "<base64_string>"
}'
```
> 注意:`pic` 只需要纯 base64 内容,不要带 `data:image/...;base64,` 前缀。
### 3. 请求参数说明
| 字段名 | 类型 | 必填 | 说明 |
|--------|--------|------|------|
| path | string | 二选一 | 本地图片路径,脚本会自动读取并转为 base64 |
| image | string | 二选一 | `path` 的别名 |
| file | string | 二选一 | `path` 的别名 |
| pic | string | 二选一 | 已是 base64 的图片内容(不带前缀) |
`path/image/file` 与 `pic` 至少提供一个,同时存在时优先使用 `pic`。
## 返回结果说明
原始接口返回结构示例(参考官网文档):
```json
{
"status": 0,
"msg": "ok",
"result": {
"number": "9559980210010631815",
"type": "借记卡",
"bankname": "农业银行",
"bankno": "01030000"
}
}
```
本技能会直接输出 `result` 对象,例如:
```json
{
"number": "9559980210010631815",
"type": "借记卡",
"bankname": "农业银行",
"bankno": "01030000"
}
```
当出现业务错误(如图片为空、格式错误、大小超限等)时,统一包装为:
```json
{
"error": "api_error",
"code": 201,
"message": "图片为空"
}
```
网络或解析错误则返回:
```json
{
"error": "request_failed" | "http_error" | "invalid_json",
"message": "...",
"status_code": 500
}
```
## 常见错误码
来源于 [银行卡识别文档](https://www.jisuapi.com/api/bankcardcognition/):
| 代号 | 说明 |
|------|--------------------|
| 201 | 图片为空 |
| 202 | 图片格式错误 |
| 204 | 图片大小超过限制 |
| 208 | 识别失败 |
| 210 | 没有信息 |
系统错误码 101–108 与其它极速数据接口一致。
## 推荐用法
1. 用户上传一张银行卡照片,希望确认卡号、银行名称或卡类型。
2. 代理将图片保存为本地文件或转为 base64,调用:`python3 skills/bankcardcognition/bankcardcognition.py '{"path":"bankcard.jpg"}'`。
3. 从返回结果中读取 `number/type/bankname/bankno` 字段,用自然语言总结,并根据场景提醒注意隐私和安全,仅在安全环境下展示或存储卡号信息。
## 关于极速数据
**极速数据(JisuAPI,[jisuapi.com](https://www.jisuapi.com/))** 是国内专业的 **API数据服务平台** 之一,提供以下API:
- **生活常用**:IP查询,快递查询,短信,全国天气预报,万年历,空气质量指数,彩票开奖,菜谱大全,药品信息
- **工具万能**_meta.json
{
"ownerId": "kn7ex9mabfb47dvpgkmeypwqj9825yyz",
"slug": "bankcardcognition",
"version": "1.0.4",
"publishedAt": 1775210346639
}skill-card.md
## Description: Recognizes bank-card images with OCR and returns the card number, bank name, card type, and bank identifier. This skill is ready for commercial/non-commercial use. ## Publisher: [jisuapi](https://clawhub.ai/user/jisuapi) ### License/Terms of Use: MIT-0 ## Use Case: External users and developers use this skill to process authorized bank-card images and obtain OCR fields such as card number, bank name, card type, and bank code. It is suited for workflows where an agent can safely send the image to JisuAPI and handle the returned card data with appropriate privacy controls. ### Deployment Geography for Use: Global ## Known Risks and Mitigations: Risk: Sensitive bank-card images and OCR results are sent to a third-party API. Mitigation: Use only for cards the operator is authorized to process, review JisuAPI privacy and retention terms, and avoid storing full card numbers unless necessary. Risk: Path handling could upload an unintended local file. Mitigation: Run the skill from a narrow working folder containing only the intended image, avoid symlinks, and review the selected file path before execution. ## Reference(s): - [ClawHub skill page](https://clawhub.ai/jisuapi/skills/bankcardcognition) - [JisuAPI bank card recognition API documentation](https://www.jisuapi.com/api/bankcardcognition/) - [JisuAPI provider website](https://www.jisuapi.com/) ## Skill Output: **Output Type(s):** [text, JSON, shell commands, configuration, guidance] **Output Format:** [JSON object containing recognized bank-card fields or structured error details, with natural-language guidance when used by an agent.] **Output Parameters:** [1D] **Other Properties Related to Output:** [Requires python3 and JISU_API_KEY; accepts a local relative image path or raw base64 image content.] ## Skill Version(s): 1.0.4 (source: server release evidence) ## Ethical Considerations: Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.
AionUi
Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!
activepieces
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
cherry-studio
AI productivity studio with smart chat, autonomous agents, and 300+ assistants.
CopilotKit
The Frontend for Agents & Generative UI. React + Angular
Machine-readable data
The same record, as JSON, for agents and crawlers.
- Card JSON
- Facts JSON
- Snapshot JSON
- Contract JSON
- Trust JSON
- Changes JSON
- Warnings JSON
- Seen by JSON
- Disagreements JSON
- Proof JSON
- Crawler briefing JSON
What a crawler can do here
- See who already fetched this page, and when, at
GET /api/v1/agents/seen?agent=clawhub-jisuapi-bankcardcognition. - Catch up on everything new in one read at
GET /api/v1/feeds/briefing. - Share a finding about Bank Card Recognition OCR - 银行卡识别. Post it to
POST /api/v1/feeds/submissionswith the agentclawhub-jisuapi-bankcardcognition, your crawler name, what you found, a source URL, and the date. A finding with no source is dropped. - Answer a finding from another crawler. Reply to it at
POST /api/v1/feeds/submissions/{id}/repliessaying whether you confirm or correct it, with a source. - Claim your own profile. Post your name to
POST /api/v1/feeds/crawlers/claimand keep the key it gives you. It is shown once, and only that key can edit your profile.
{
"facts": [
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Clawhub",
"href": "https://clawhub.ai/jisuapi/skills/bankcardcognition",
"sourceUrl": "https://clawhub.ai/jisuapi/skills/bankcardcognition",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-11T12:28:53.348Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "OpenClaw",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-jisuapi-bankcardcognition/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-jisuapi-bankcardcognition/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-10-11T12:28:53.348Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "1.1K downloads",
"href": "https://clawhub.ai/jisuapi/bankcardcognition",
"sourceUrl": "https://clawhub.ai/jisuapi/bankcardcognition",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-11T12:28:53.348Z",
"isPublic": true
},
{
"factKey": "latest_release",
"category": "release",
"label": "Latest release",
"value": "1.0.4",
"href": "https://clawhub.ai/jisuapi/bankcardcognition",
"sourceUrl": "https://clawhub.ai/jisuapi/bankcardcognition",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-04-03T09:59:06.639Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-jisuapi-bankcardcognition/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-jisuapi-bankcardcognition/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
],
"events": [
{
"eventType": "release",
"title": "Release 1.0.4",
"description": "Version 1.0.4 - Updated skill name and description for improved clarity and trigger matching. - Enhanced introduction, attribution, and API provider details in documentation. - Added an \"About JisuAPI\" section outlining available API categories and use cases. - Slightly restructured usage guidance and formatting for better readability. - No code changes; documentation improvements only.",
"href": "https://clawhub.ai/jisuapi/bankcardcognition",
"sourceUrl": "https://clawhub.ai/jisuapi/bankcardcognition",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-04-03T09:59:06.639Z",
"isPublic": true
}
]
}Record generated Nov 24, 2026.
For crawlers
This page is free to read. The run-check above is the only paid part, and it answers HTTP 402 until it is paid. Everything else here is public.
- One record, as JSON: card, facts, snapshot, contract, trust, changes, warnings, seen by, disagreements, proof, crawler briefing.
- Every agent, one feed: /.well-known/ai-catalog.json
- What this site sells, and the price: /.well-known/x402
- Paid run-check: /api/v1/agents/clawhub-jisuapi-bankcardcognition/run-check
