{"adoption": {"forks": 272, "observed_at": "2026-08-28T04:04:44.123219+00:00", "stars": 1439}, "canonical_url": "https://ross.abutalabs.com/products/barbershop", "card": {"archived": false, "artifact_type": "library", "description": "Barbershop: GAN-based Image Compositing using Segmentation Masks (SIGGRAPH Asia 2021)", "domain": ["computer-vision", "image-processing", "artificial-intelligence"], "enriched": true, "function": ["image-processing", "machine-learning", "deep-learning"], "health_score": 20, "homepage": "https://zpdesu.github.io/Barbershop/", "language": "Python", "license": "MIT", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["ZPdesu/Barbershop"], "name": "ZPdesu/Barbershop", "platform": ["python"], "pushed_at": "2023-06-25T17:53:30+00:00", "repo": "ZPdesu/Barbershop", "stars": 1439, "tags": ["gan", "stylegan", "gan-inversion", "image-compositing", "hairstyle-transfer", "segmentation-masks", "research-code", "face-blending", "linux", "gpu"], "topics": [], "urls": [], "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"], "what_it_is": "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.", "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"], "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"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/barbershop", "repo": "ZPdesu/Barbershop", "role": "main", "score": 32}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:04:44.123219+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T04:36:35.597088+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bea0279ecce67d6f4a88b1e4845f5e7dc8e6d2acf94b7301b2cb94d82360bfc8", "fetched_at": "2026-08-28T04:04:44.123219+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ZPdesu/Barbershop"}, {"content_hash": "3047d6f5517f45c6da4b33d18042688cb140a0450d0aab57793667abd2c311c4", "fetched_at": "2026-08-29T11:46:57.327506+00:00", "kind": "homepage", "missing": false, "url": "https://zpdesu.github.io/Barbershop/"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:04:44.123219+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T04:36:35.597088+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bea0279ecce67d6f4a88b1e4845f5e7dc8e6d2acf94b7301b2cb94d82360bfc8", "fetched_at": "2026-08-28T04:04:44.123219+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ZPdesu/Barbershop"}, {"content_hash": "3047d6f5517f45c6da4b33d18042688cb140a0450d0aab57793667abd2c311c4", "fetched_at": "2026-08-29T11:46:57.327506+00:00", "kind": "homepage", "missing": false, "url": "https://zpdesu.github.io/Barbershop/"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T04:36:35.597088+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bea0279ecce67d6f4a88b1e4845f5e7dc8e6d2acf94b7301b2cb94d82360bfc8", "fetched_at": "2026-08-28T04:04:44.123219+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ZPdesu/Barbershop"}, {"content_hash": "3047d6f5517f45c6da4b33d18042688cb140a0450d0aab57793667abd2c311c4", "fetched_at": "2026-08-29T11:46:57.327506+00:00", "kind": "homepage", "missing": false, "url": "https://zpdesu.github.io/Barbershop/"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:04:44.123219+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:04:44.123219+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:04:44.123219+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T04:36:35.597088+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bea0279ecce67d6f4a88b1e4845f5e7dc8e6d2acf94b7301b2cb94d82360bfc8", "fetched_at": "2026-08-28T04:04:44.123219+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ZPdesu/Barbershop"}, {"content_hash": "3047d6f5517f45c6da4b33d18042688cb140a0450d0aab57793667abd2c311c4", "fetched_at": "2026-08-29T11:46:57.327506+00:00", "kind": "homepage", "missing": false, "url": "https://zpdesu.github.io/Barbershop/"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:04:44.123219+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:04:44.123219+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T04:36:35.597088+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bea0279ecce67d6f4a88b1e4845f5e7dc8e6d2acf94b7301b2cb94d82360bfc8", "fetched_at": "2026-08-28T04:04:44.123219+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ZPdesu/Barbershop"}, {"content_hash": "3047d6f5517f45c6da4b33d18042688cb140a0450d0aab57793667abd2c311c4", "fetched_at": "2026-08-29T11:46:57.327506+00:00", "kind": "homepage", "missing": false, "url": "https://zpdesu.github.io/Barbershop/"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:04:44.123219+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:04:44.123219+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:04:44.123219+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T04:36:35.597088+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bea0279ecce67d6f4a88b1e4845f5e7dc8e6d2acf94b7301b2cb94d82360bfc8", "fetched_at": "2026-08-28T04:04:44.123219+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ZPdesu/Barbershop"}, {"content_hash": "3047d6f5517f45c6da4b33d18042688cb140a0450d0aab57793667abd2c311c4", "fetched_at": "2026-08-29T11:46:57.327506+00:00", "kind": "homepage", "missing": false, "url": "https://zpdesu.github.io/Barbershop/"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:04:44.123219+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:04:44.123219+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T04:36:35.597088+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bea0279ecce67d6f4a88b1e4845f5e7dc8e6d2acf94b7301b2cb94d82360bfc8", "fetched_at": "2026-08-28T04:04:44.123219+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ZPdesu/Barbershop"}, {"content_hash": "3047d6f5517f45c6da4b33d18042688cb140a0450d0aab57793667abd2c311c4", "fetched_at": "2026-08-29T11:46:57.327506+00:00", "kind": "homepage", "missing": false, "url": "https://zpdesu.github.io/Barbershop/"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T04:36:35.597088+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bea0279ecce67d6f4a88b1e4845f5e7dc8e6d2acf94b7301b2cb94d82360bfc8", "fetched_at": "2026-08-28T04:04:44.123219+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ZPdesu/Barbershop"}, {"content_hash": "3047d6f5517f45c6da4b33d18042688cb140a0450d0aab57793667abd2c311c4", "fetched_at": "2026-08-29T11:46:57.327506+00:00", "kind": "homepage", "missing": false, "url": "https://zpdesu.github.io/Barbershop/"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T04:36:35.597088+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bea0279ecce67d6f4a88b1e4845f5e7dc8e6d2acf94b7301b2cb94d82360bfc8", "fetched_at": "2026-08-28T04:04:44.123219+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ZPdesu/Barbershop"}, {"content_hash": "3047d6f5517f45c6da4b33d18042688cb140a0450d0aab57793667abd2c311c4", "fetched_at": "2026-08-29T11:46:57.327506+00:00", "kind": "homepage", "missing": false, "url": "https://zpdesu.github.io/Barbershop/"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T04:36:35.597088+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bea0279ecce67d6f4a88b1e4845f5e7dc8e6d2acf94b7301b2cb94d82360bfc8", "fetched_at": "2026-08-28T04:04:44.123219+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ZPdesu/Barbershop"}, {"content_hash": "3047d6f5517f45c6da4b33d18042688cb140a0450d0aab57793667abd2c311c4", "fetched_at": "2026-08-29T11:46:57.327506+00:00", "kind": "homepage", "missing": false, "url": "https://zpdesu.github.io/Barbershop/"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 1918, "days_push": 1165, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 32, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}