wsxwj123/opencode-skills-backup/hivision-idphotos
Claude Code and agent skill by wsxwj123/opencode-skills-backup
- community
Checking that the SKILL.md file is still in the repository.
Use when users ask to process ID photos with HivisionIDPhotos for matting, background replacement, size crop, or print layout generation.
Install
npx vskill@latest install wsxwj123/opencode-skills-backup/hivision-idphotosSKILL.md
Hivision ID Photo Processor
Overview
Task skill for executing HivisionIDPhotos image workflows from terminal commands. This skill is for real processing outputs, not repository analysis.
When to Use
Use this skill when user requests include:
- Modify ID photo / 修改证件照
- Cutout / 抠图
- Change background color / 换底色
- Replace background / 换背景
- Crop to standard size / 裁剪
- Generate print layout / 排版
- Remove background / portrait matting
- Change ID photo background color
- Crop to passport or visa size
- Generate print layout sheets (6-inch / 5-inch / A4 style by size settings)
- End-to-end pipeline from raw portrait to final files
Do not use this skill for generic Photoshop editing or non-ID-photo composition work.
Trigger Examples (Natural Language)
The following user phrases should trigger this skill:
修改证件照证件照抠图证件照换底色证件照换背景证件照裁剪成1寸证件照排版把这张照片做成证件照
Required Inputs
inputimage pathoutdiroutput directorywidthandheightin pixels (default295x413)- optional
bg_colorin hex without#(default638cce)
Command Entry
Run the wrapper script:
Commands:
pipeline: matting -> crop -> background -> layoutmatting: output transparent pngcrop: crop transparent id photo by sizebackground: apply pure/gradient background to RGBA imagelayout: generate print layout from final ID photo
Typical Usage
Expected outputs in outdir:
idphoto_matting.pngidphoto_crop.pngidphoto_crop_hd.pngidphoto_bg.jpgidphoto_layout.jpg
Environment Notes
- By default wrapper reads repo path from
HIVISION_REPO. - Default repo path:
/Users/wsxwj/.codex/skills/hivision-idphotos/vendor/HivisionIDPhotos - Ensure model weights exist under:
hivision/creator/weights/- (optional)
hivision/creator/retinaface/weights/
If model files are missing, download them with the upstream repo script: python3 scripts/download_model.py --models hivision_modnet
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckinghivision-idphotos/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/wsxwj123/opencode-skills-backup/hivision-idphotos)