IDPhotos
证件照更换底色
Install / Use
/learn @wangling1820/IDPhotosREADME
IDPhotos(更换证件照底色)
对证件照进行底色更换,目前可以将任意底片颜色的证件照处理成常用的红色、白色和蓝色底片的证件照。
环境要求
- Python 3.x
- opencv-python
- numpy
使用方法
$ python main.py -i your_image_file -p your_path_to_output_image
# 比如
# python mian.py -i ./image.jpg -p .
# OK done!
PS
只能处理背景整洁的正装证件照!!!
处理前后的效果图
处理前的原图
<br>
生成的三种不同背景颜色的照片
<br>
<br>
<br>
虽然,但是这个网站好像更高效:https://www.remove.bg/zh
使用方法:首先上传图片,去除现有背景,然后点击编辑,增加所需要的底色,最后下载。
Related Skills
node-connect
325.9kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
80.3kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
325.9kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
80.3kCommit, push, and open a PR
