Zeyi-Lin/HivisionIDPhotos

⚡️HivisionIDPhotos: a lightweight and efficient AI ID photos tools. 一个轻量级的AI证件照制作算法。

Open original source ↗

From the publisher

README & documentation

Source preview

Read the project’s overview, installation instructions and usage examples. The original README is the source of truth.

HivisionIDPhoto English / 中文 / 日本語 / 한국어 ![][release-link] ![][dockerhub-link] ![][github-stars-link] ![][github-issues-link] ![][github-contributors-link] ![][github-forks-link] ![][license-link] ![][wechat-link] ![][spaces-link] ![][swanhub-demo-link] ![][modelscope-link] ![][modelers-link] ![][compshare-link] ![][atomgit-link] ![][trendshift-link] ![][hellogithub-link] HivisionIDPhoto 旨在开发一种实用、系统性的证件照智能制作算法。 它利用一套完善的AI模型工作流程,实现对多种用户拍照场景的识别、抠图与证件照生成。 HivisionIDPhoto 可以做到: 如果 HivisionIDPhoto 对你有帮助,请 star 这个 repo 或推荐给你的朋友,解决证件照应急制作问题! 我们分享了一些由社区构建的HivisionIDPhotos的有趣应用和扩展: 环境安装与依赖: 方式一:脚本下载 方式二:直接下载 模型均存到项目的hivision/creator/weights目录下: 在当前版本,可被英伟达GPU加速的模型为birefnet-v1-lite,并请确保你有16GB左右的显存。 如需使用英伟达GPU加速推理,在确保你已经安装CUDA与cuDNN后,根据onnxruntime-gpu文档找到对应的onnxruntime-gpu版本安装,以及根据pytorch官网找到对应的torch版本安装。 完成安装后,调用birefnet-v1-lite模型即可利用GPU加速推理。 运行程序将生成一个本地 Web 页面,在页面中可完成证件照的操作与交互。 核心参数: 更多参数可通过python inference.py --help查看 输入 1 张照片,获得 1 张标准证件照和 1 张高清证件照的 4 通道透明 png 输入 1 张照片,获得 1张 4 通道透明 png 输入 1 张 4 通道透明 png,获得 1 张增加了底色的 3通道图像 输入 1 张 3…

Zeyi-Lin/HivisionIDPhotos on GitHub A short preview, not the full document.

Read the full README ↗ · Preview checked 2026-10-27T13:17:26.494Z

Inside the original README — Document outline
  1. 目录
  2. 🤩 最近更新
  3. 项目简介
  4. 🏠 社区
  5. 🔧 准备工作
  6. 1. 克隆项目
  7. 2. 安装依赖环境
  8. 3. 下载人像抠图模型权重文件
  9. 4. 人脸检测模型配置(可选)
  10. 5. 性能参考
  11. 6. GPU推理加速(可选)
  12. ⚡️ 运行 Gradio Demo

Headings are captured from the source. Links open the publisher’s document, not a locally hosted copy.

Links from the README

References supplied by the publisher, not independently verified endorsements. Check the destination before downloading files or entering credentials.

Documentation belongs to its respective authors. Reported project/model license: Apache-2.0. A listing is not a grant of reuse or training rights. Confirm the document’s own terms at the source.

What this repository does

⚡️HivisionIDPhotos: a lightweight and efficient AI ID photos tools. 一个轻量级的AI证件照制作算法。

Repository facts

Owner
Zeyi-Lin
Primary language
Python
Stars
21,683
Forks
2,525
Open issues + pull requests
106
License
Apache-2.0
Archived
No
Default branch
master
Created
2023-06-18T20:17:56.000Z
Last push
2026-07-03T04:12:11.000Z

Topics and intended use

Owner-supplied topics: cnn, demo, docker, face-recognition, fastapi, gradio, idphoto, machine-learning, matting, mtcnn, tools, unet

Review the README for scope, installation, examples and limitations. We do not run repository code or certify it.

Evaluate before installing

Review licensing and dependencies, inspect recent commits and unresolved issues, and test in an isolated environment before production use. Stars and forks alone cannot answer these questions.

README and project files

Issues and maintenance discussion

Releases and changelog

Source and freshness

Source: GitHub. Metadata observed 2026-10-31T12:19:22.904Z. Daily imports are snapshots, not real-time monitoring.

Popularity and source listings do not establish security, suitability, licensing rights or benchmark performance.

Open original source

Related repositories

public-apis/public-apis

EbookFoundation/free-programming-books

donnemartin/system-design-primer

vinta/awesome-python

practical-tutorials/project-based-learning

NousResearch/hermes-agent