ZPdesu/Barbershop
Barbershop: GAN-based Image Compositing using Segmentation Masks (SIGGRAPH Asia 2021) observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 1918
- days_rel: n/a
- days_push: 1165
- n_releases_24m: 0
Adoption not part of the score
1439 stars · 272 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Official PyTorch implementation of Barbershop (SIGGRAPH Asia 2021), a GAN-inversion-based method for compositing images using segmentation masks, focused on hairstyle transfer between face photos. It blends features from multiple reference images in a latent space to produce coherent, realistic results.
Use cases
- transfer a hairstyle from one photo to another
- blend facial features from multiple images seamlessly
- composite face images using segmentation masks
- GAN inversion research on StyleGAN latent spaces
- generate realistic face images combining hair and identity references
When to choose
- you need research-grade hairstyle transfer with detail preservation like moles and wrinkles
- you want the official implementation of the SIGGRAPH Asia 2021 paper
- you are doing GAN-inversion or image-blending research
When to avoid
- you need a polished end-user photo editing app
- you lack a GPU or cannot set up a conda environment
- you need general-purpose image compositing beyond faces and hair
Facets
library · maturity maintenance
image-processing machine-learning deep-learning computer-vision image-processing artificial-intelligence python gan stylegan gan-inversion image-compositing hairstyle-transfer segmentation-masks research-code face-blending linux gpu
2 sources
- readme: https://github.com/ZPdesu/Barbershop · fetched 2026-08-28 · bea0279ecce6
- homepage: https://zpdesu.github.io/Barbershop/ · fetched 2026-08-29 · 3047d6f5517f
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| ZPdesu/Barbershop | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="ZPdesu/Barbershop")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem