# HivisionIDPhotos

> Lightweight AI tool that makes ID photos offline on a CPU

Source: https://talira.ai/catalog/hivisionidphotos-zvp892ab
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Web app, Library
- Categories: [media / images / editing](https://talira.ai/categories/media/images/editing)
- Licence: Apache-2.0[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Self-hostable: yes[^2]
- Backed by: [Ze-Yi Lin](https://talira.ai/orgs/zeyi-lin.md)

HivisionIDPhotos is a lightweight AI tool for making ID photos: it recognises the photo, cuts out the person with a matting model that runs offline on a CPU, and produces standard ID photos in many size specifications (custom sizes in millimetres too) and print layouts (six-inch, five-inch, A4, 3R, 4R), with custom background colours and face rotation alignment. It runs as a Gradio web demo, an API service or in Docker, and community projects build WeChat mini programs and a C++ version on it.

## Links

- Website: https://modelscope.cn/studios/SwanLab/HivisionIDPhotos
- GitHub: https://github.com/Zeyi-Lin/HivisionIDPhotos

## Problems it solves

- make a passport photo from a selfie offline
- generate ID photos with a white or blue background
- self-host an ID photo API

## Features

- offline matting on CPU
- standard ID photo sizes and custom sizes
- print layouts (six-inch, A4, 3R, 4R)
- custom background colours
- Gradio demo, API and Docker

## Trust

Overall: 0.45 out of 1.
Signals: maintenance 0.27, adoption 0.87, momentum 0.82, community 0.56, backing 0.30, extensibility 0.00.

- latest release v1.3.1 22 months ago
- 21.8k GitHub stars
- 24 contributors
- backed by Ze-Yi Lin

Warnings:

- last commit 5 months ago

## Sources

[^1]: https://github.com/Zeyi-Lin/HivisionIDPhotos/blob/master/LICENSE (checked 29 Nov 2026)
[^2]: https://github.com/Zeyi-Lin/HivisionIDPhotos/blob/master/README_EN.md (checked 29 Nov 2026)
