Dataset Viewer
Auto-converted to Parquet Duplicate
hairstyle_id
stringlengths
6
6
view
stringclasses
3 values
source
stringclasses
4 values
hairstyle_source_id
stringlengths
3
30
hair_image
imagewidth (px)
1.02k
1.02k
bald_image
imagewidth (px)
1.02k
1.02k
hair_render
imagewidth (px)
1.02k
1.02k
bald_render
imagewidth (px)
1.02k
1.02k
background_image
imagewidth (px)
1.02k
1.02k
render_params_json
stringlengths
4.97k
6.97k
background_prompt
stringclasses
264 values
camera_focal_length
float64
40.1
150
camera_location_x
float64
-1.03
1
camera_location_y
float64
-1.98
1.02
camera_location_z
float64
0.16
1.04
camera_rotation_x
float64
1.15
1.62
camera_rotation_y
float64
-0.03
0.03
camera_rotation_z
float64
-0.55
5.57
lighting_preset
stringclasses
6 values
body_gender
stringclasses
2 values
face_expression
stringclasses
8 values
hair_melanin
float64
0
1
hair_roughness
float64
0.15
0.7
has_garments
bool
2 classes
views_available
stringclasses
5 values
003065
back
hair20k
00001_00005_11011_XL_straight
{ "camera": { "location": [ -0.19113453059272267, 0.9473325220979611, 0.37073064419790436 ], "rotation": [ 1.4122577647683932, -0.026479714838392215, 3.3241870101784414 ], "focal_length": 51.92796945925407, "camera_type": "PERSP", "clip_start": 0.01, ...
a modern architectural atrium
51.927969
-0.191135
0.947333
0.370731
1.412258
-0.02648
3.324187
studio
female
fear
0.667096
0.218353
true
["back", "front", "side"]
003072
back
hair20k
00001_00174_10001_XL_straight
{ "camera": { "location": [ 0.11384168151925736, 0.9426062335926714, 0.42883274420511547 ], "rotation": [ 1.3874835297252968, -0.0009827294047790737, 3.0201696558620905 ], "focal_length": 50.20693180545455, "camera_type": "PERSP", "clip_start": 0.01, ...
a pastel geometric set
50.206932
0.113842
0.942606
0.428833
1.387484
-0.000983
3.02017
three_point
female
neutral
0.749776
0.239714
true
["back", "front", "side"]
003090
back
hair20k
00002_00374_11101_S_straight
{ "camera": { "location": [ -0.06700602842708964, 0.8620111147258407, 0.3850899031398607 ], "rotation": [ 1.4096504984292886, -0.015684419754739214, 3.203704760319985 ], "focal_length": 51.33372184427074, "camera_type": "PERSP", "clip_start": 0.01, "...
a restaurant bar high-top
51.333722
-0.067006
0.862011
0.38509
1.40965
-0.015684
3.203705
soft
female
angry
0.535343
0.183041
true
["back", "front", "side"]
003106
back
hair20k
00003_00501_01100_XL_curly
{ "camera": { "location": [ -0.22648001234530787, 0.8873807459316301, 0.36194908395568 ], "rotation": [ 1.4278340487898762, -0.005697565166854259, 3.3812371048367167 ], "focal_length": 48.13477652948676, "camera_type": "PERSP", "clip_start": 0.01, "c...
a professional photo studio with softboxes
48.134777
-0.22648
0.887381
0.361949
1.427834
-0.005698
3.381237
rim
male
neutral
0.728048
0.162633
true
["back", "front", "side"]
003143
back
hair20k
00006_00050_11111_M_curly
{ "camera": { "location": [ -0.25684034082197066, 0.806610769887076, 0.46673722789629263 ], "rotation": [ 1.3975941960786606, -0.027502700942043407, 3.4330315755388896 ], "focal_length": 49.60234133319959, "camera_type": "PERSP", "clip_start": 0.01, ...
a science lab bench with glassware
49.602341
-0.25684
0.806611
0.466737
1.397594
-0.027503
3.433032
three_point
male
surprise
0.526712
0.189492
true
["back", "front", "side"]
003148
back
hair20k
00006_00131_00110_M_curly
{ "camera": { "location": [ 0.07525726686285324, 0.9067881201555034, 0.41347951579860676 ], "rotation": [ 1.3962095914024355, -0.029459822764030707, 3.053006077209608 ], "focal_length": 51.89592465826723, "camera_type": "PERSP", "clip_start": 0.01, "...
a cloister walkway
51.895925
0.075257
0.906788
0.41348
1.39621
-0.02946
3.053006
rim
male
sad
0.466261
0.159849
true
["back", "front", "side"]
003152
back
hair20k
00006_00171_01010_M_curly
{ "camera": { "location": [ 0.1690649364660864, 0.8472660005156648, 0.43098471040232267 ], "rotation": [ 1.4177119769473931, -0.020477670725010087, 2.9342663188508227 ], "focal_length": 49.10679333038642, "camera_type": "PERSP", "clip_start": 0.01, "...
a pastel geometric set
49.106793
0.169065
0.847266
0.430985
1.417712
-0.020478
2.934266
rim
male
fear
0.467348
0.183883
true
["back", "front", "side"]
003158
back
hair20k
00006_00413_10101_M_curly
{ "camera": { "location": [ 0.17276181591831383, 0.8334731838777651, 0.4198318028183631 ], "rotation": [ 1.3798883503099544, -0.020304348542341283, 2.9080739723165765 ], "focal_length": 51.03452095449603, "camera_type": "PERSP", "clip_start": 0.01, "...
a farmers market canopy
51.034521
0.172762
0.833473
0.419832
1.379888
-0.020304
2.908074
rim
male
neutral
0.556606
0.160716
true
["back", "front", "side"]
003507
back
hair20k
00029_00088_10001_S_straight
{ "camera": { "location": [ 0.10148025157010555, 0.7946792063661146, 0.39589724167981194 ], "rotation": [ 1.4050444143691285, -0.02817659460877726, 3.003470117149881 ], "focal_length": 49.45039268655487, "camera_type": "PERSP", "clip_start": 0.01, "c...
a cozy reading corner
49.450393
0.10148
0.794679
0.395897
1.405044
-0.028177
3.00347
outdoor
male
fear
0.634041
0.220013
true
["back", "front", "side"]
003530
back
hair20k
00031_00069_10001_M_curly
{ "camera": { "location": [ 0.19337455852801108, 0.8594409058913958, 0.4026157710876749 ], "rotation": [ 1.3816214785534977, -0.008935060850603069, 2.8945356442271373 ], "focal_length": 51.83736507622708, "camera_type": "PERSP", "clip_start": 0.01, "...
a café window seat
51.837365
0.193375
0.859441
0.402616
1.381621
-0.008935
2.894536
three_point
male
sad
0.724496
0.200255
true
["back", "front", "side"]
003597
back
hair20k
00036_00057_10001_M_curly
{ "camera": { "location": [ 0.26336930024143945, 0.8652782240732927, 0.44752322690047386 ], "rotation": [ 1.3674142250016574, -0.019421246370653185, 2.818367253897333 ], "focal_length": 49.85655217056495, "camera_type": "PERSP", "clip_start": 0.01, "...
a mountain switchback overlook
49.856552
0.263369
0.865278
0.447523
1.367414
-0.019421
2.818367
natural
male
angry
0.353744
0.164767
true
["back", "front", "side"]
003615
back
hair20k
00037_00382_01101_S_straight
{ "camera": { "location": [ -0.21294544593280132, 0.7784470212704379, 0.440550715746081 ], "rotation": [ 1.3854078250285717, -0.033993359585620574, 3.3974416247153787 ], "focal_length": 49.15106629020386, "camera_type": "PERSP", "clip_start": 0.01, "...
a harbor quay
49.151066
-0.212945
0.778447
0.440551
1.385408
-0.033993
3.397442
outdoor
male
neutral
0.675193
0.201122
true
["back", "front", "side"]
003633
back
hair20k
00039_00083_00111_M_curly
{ "camera": { "location": [ 0.005746141749597464, 0.9875337578515762, 0.375217153911047 ], "rotation": [ 1.4002797994052905, -0.028970688983947796, 3.1209785349019663 ], "focal_length": 51.92198115243621, "camera_type": "PERSP", "clip_start": 0.01, "...
a factory catwalk mezzanine
51.921981
0.005746
0.987534
0.375217
1.40028
-0.028971
3.120979
outdoor
male
disgust
0.446739
0.209765
true
["back", "front", "side"]
003658
back
hair20k
00040_00510_01010_S_curly
{ "camera": { "location": [ 0.15460078344945816, 0.7982476953382653, 0.3842817768787667 ], "rotation": [ 1.4026910203348895, -0.011141076033477592, 2.929904156104412 ], "focal_length": 50.970021373574156, "camera_type": "PERSP", "clip_start": 0.01, "...
an urban rooftop at golden hour
50.970021
0.154601
0.798248
0.384282
1.402691
-0.011141
2.929904
natural
female
disgust
0.324601
0.162609
true
["back", "front", "side"]
003692
back
hair20k
00043_00065_01100_XXS_straight
{ "camera": { "location": [ -0.12646359121482992, 0.7684602686869815, 0.43059777149981415 ], "rotation": [ 1.399207624580749, -0.0229309884908943, 3.2775942571002936 ], "focal_length": 49.44738806571725, "camera_type": "PERSP", "clip_start": 0.01, "c...
a rooftop garden pergola
49.447388
-0.126464
0.76846
0.430598
1.399208
-0.022931
3.277594
soft
male
disgust
0.452392
0.238761
true
["back", "front", "side"]
003742
back
hair20k
00045_00343_11010_M_curly
{ "camera": { "location": [ 0.1586666765032849, 0.7616851432319106, 0.4171319241739468 ], "rotation": [ 1.3660590040585583, -0.027609802887793446, 2.924956595774804 ], "focal_length": 49.02817922658364, "camera_type": "PERSP", "clip_start": 0.01, "cl...
a night market lane
49.028179
0.158667
0.761685
0.417132
1.366059
-0.02761
2.924957
outdoor
male
sad
0.453781
0.211742
true
["back", "front", "side"]
003821
back
hair20k
00053_00423_01010_M_curly
{ "camera": { "location": [ 0.06631005251247357, 0.807302691641273, 0.38332114420083846 ], "rotation": [ 1.4273209823712458, -0.01908456324263734, 3.0289675253376616 ], "focal_length": 50.53987681622315, "camera_type": "PERSP", "clip_start": 0.01, "c...
a red carpet step-and-repeat backdrop
50.539877
0.06631
0.807303
0.383321
1.427321
-0.019085
3.028968
natural
male
angry
0.613701
0.225483
true
["back", "front", "side"]
003827
back
hair20k
00054_00157_11110_M_straight
{ "camera": { "location": [ -0.25719938587889457, 0.832416978071659, 0.435247988449725 ], "rotation": [ 1.386216967668571, -0.013301823880907856, 3.424217298640921 ], "focal_length": 48.30679608463226, "camera_type": "PERSP", "clip_start": 0.01, "cli...
a fashion boutique clothing rack
48.306796
-0.257199
0.832417
0.435248
1.386217
-0.013302
3.424217
natural
female
neutral
0.559355
0.19549
true
["back", "front", "side"]
003829
back
hair20k
00054_00206_10111_M_straight
{ "camera": { "location": [ 0.012405150361782458, 0.8043284638980421, 0.4626727373740455 ], "rotation": [ 1.3982944084550706, -0.01979509034680948, 3.1118975947278398 ], "focal_length": 49.29459882513078, "camera_type": "PERSP", "clip_start": 0.01, "...
an urban rooftop at golden hour
49.294599
0.012405
0.804328
0.462673
1.398294
-0.019795
3.111898
rim
male
angry
0.421045
0.177631
true
["back", "front", "side"]
003890
back
hair20k
00060_00170_10101_M_curly
{ "camera": { "location": [ -0.17701289467116313, 1.000458142200469, 0.47072630282156697 ], "rotation": [ 1.3784464600485857, -0.01465338803243462, 3.29671430529622 ], "focal_length": 48.760971771072604, "camera_type": "PERSP", "clip_start": 0.01, "c...
a microbrewery with steel tanks
48.760972
-0.177013
1.000458
0.470726
1.378446
-0.014653
3.296714
outdoor
male
angry
0.488141
0.175248
true
["back", "front", "side"]
003898
back
hair20k
00061_00171_11111_S_curly
{ "camera": { "location": [ -0.14252478669110302, 0.8144157094791896, 0.38787969591797034 ], "rotation": [ 1.4295337852244583, -0.005309846215717348, 3.3052475700954416 ], "focal_length": 51.38192982662466, "camera_type": "PERSP", "clip_start": 0.01, ...
a tech expo booth
51.38193
-0.142525
0.814416
0.38788
1.429534
-0.00531
3.305248
three_point
female
fear
0.48589
0.157846
true
["back", "front", "side"]
003901
back
hair20k
00061_00254_01100_S_curly
{ "camera": { "location": [ 0.134161794473939, 0.8130683483824503, 0.42516505636315527 ], "rotation": [ 1.3662099748279455, -0.033487126307988835, 2.946356761769508 ], "focal_length": 51.058298784127224, "camera_type": "PERSP", "clip_start": 0.01, "c...
a neon sign street at night
51.058299
0.134162
0.813068
0.425165
1.36621
-0.033487
2.946357
rim
female
angry
0.375125
0.176794
true
["back", "front", "side"]
003969
back
hair20k
00071_00163_11000_XL_curly
{ "camera": { "location": [ 0.15696052607228006, 0.9742685441253295, 0.3944479378760409 ], "rotation": [ 1.3716171705137468, -0.002017428803378454, 2.9669649161168232 ], "focal_length": 50.0024025744597, "camera_type": "PERSP", "clip_start": 0.01, "c...
a courtyard with arches
50.002403
0.156961
0.974269
0.394448
1.371617
-0.002017
2.966965
soft
female
happy
0.68347
0.229435
true
["back", "front"]
003975
back
hair20k
00071_00240_01011_L_curly
{ "camera": { "location": [ 0.30292111132099486, 0.9477729792953491, 0.3873729318755384 ], "rotation": [ 1.4000009832333482, -0.013078737021687655, 2.802357563068803 ], "focal_length": 51.13632362136497, "camera_type": "PERSP", "clip_start": 0.01, "c...
a mottled canvas backdrop
51.136324
0.302921
0.947773
0.387373
1.400001
-0.013079
2.802358
studio
female
fear
0.261653
0.156613
true
["back", "front", "side"]
003986
back
hair20k
00071_00337_11001_XL_curly
{ "camera": { "location": [ -0.12990539616145982, 0.966897392611192, 0.38578627747493205 ], "rotation": [ 1.415123831173132, -0.002566097064826066, 3.2552618184021354 ], "focal_length": 51.64750951429089, "camera_type": "PERSP", "clip_start": 0.01, "...
a metallic foil backdrop
51.64751
-0.129905
0.966897
0.385786
1.415124
-0.002566
3.255262
outdoor
female
fear
0.547021
0.174015
true
["back", "front", "side"]
End of preview. Expand in Data Studio

Baldy Dataset

Project Page Code Weights License

Baldy is a synthetic paired image dataset for bald conversion, hairstyle-transfer preprocessing, and 3D-aware hair research. It contains 6,400 identity-consistent hair/bald image pairs with auxiliary hair renders, background images, camera parameters, and rendering metadata.

Baldy is released with HairPort: In-context 3D-Aware Hair Import and Transfer for Images, accepted to ACM SIGGRAPH 2026.

Overview

Each Baldy sample provides a photorealistic image of a person with hair and a corresponding bald version of the same subject. The paired structure is designed to support training and evaluation of bald-conversion models, including the Bald Converter used by HairPort.

The dataset also includes intermediate rendering assets and metadata, making it useful for controlled experiments that require camera/view information, hairstyle provenance, or synthetic render supervision.

What's Included

Component Description
hair_image Photorealistic image of the subject with hair
bald_image Photorealistic bald version of the same subject
hair_render Blender-rendered hairstyle on a transparent background
bald_render Blender-rendered bald hairline layer on a transparent background
background_image Generated or rendered scene background
Camera metadata Focal length, location, and rotation in Blender coordinates
Appearance metadata Hair material values, lighting preset, expression, body metadata
Source metadata Hairstyle source dataset and source-specific hairstyle ID

Dataset Construction

Baldy was generated with a multi-stage synthetic data pipeline:

  1. 3D hairstyle preparation. Hairstyles from DiffLocks, Hair20K, USC-HairSalon, and CT2Hair are aligned to SMPL-X head/body configurations with pose, expression, and garment variation.
  2. Blender rendering. Hair, body, camera, lighting, and material parameters are rendered at 1024 x 1024 resolution.
  3. Photorealistic paired generation. ControlNet++ and SDXL-based generation, followed by FLUX Kontext refinement, are used to produce identity-consistent hair/bald image pairs.

Dataset Statistics

Split Samples
train 6,400

View Distribution

View Samples
front 6,009
side 292
back 99

The current release is front-view dominant. Users training view-balanced models may want to account for this distribution during sampling or evaluation.

Hairstyle Source Distribution

Source Samples
difflocks 3,197
hair20k 2,824
usc 370
ct2hair 9

Data Fields

Identity, View, And Source

Field Type Description
hairstyle_id string Unique zero-padded sequential ID, such as "000042"
view string Camera view: "front", "side", or "back"
source string Hairstyle source: "difflocks", "hair20k", "usc", or "ct2hair"
hairstyle_source_id string Source-specific hairstyle identifier
views_available string Pipe-separated list of views available for the hairstyle, such as `"front

Image Columns

Field Type Description
hair_image Image Photorealistic image of the subject with hair, decoded as a PIL image
bald_image Image Photorealistic bald image of the same subject, decoded as a PIL image
hair_render Image Blender-rendered hair layer, decoded as a PIL image
bald_render Image Blender-rendered bald hairline layer, decoded as a PIL image
background_image Image Background image, decoded as a PIL image

Camera And Rendering Metadata

Field Type Description
render_params_json string Full Blender render parameters as an embedded JSON string
background_prompt string Text prompt used to generate the background, empty when unavailable
camera_focal_length float64 Camera focal length in millimeters
camera_location_x float64 Camera X position in Blender world coordinates
camera_location_y float64 Camera Y position in Blender world coordinates
camera_location_z float64 Camera Z position in Blender world coordinates
camera_rotation_x float64 Camera X rotation in radians
camera_rotation_y float64 Camera Y rotation in radians
camera_rotation_z float64 Camera Z rotation in radians
lighting_preset string Lighting preset name

Appearance Metadata

Field Type Description
body_gender string SMPL-X body gender configuration
face_expression string Facial expression label; empty for some samples
hair_melanin float64 Hair melanin value controlling color darkness
hair_roughness float64 Hair surface roughness value
has_garments bool Whether BEDLAM clothing is applied to the body

Quick Start

Install the Hugging Face datasets package if needed:

pip install datasets

Load the dataset:

from datasets import load_dataset

ds = load_dataset("deepmancer/baldy", split="train")
sample = ds[0]

hair = sample["hair_image"]  # PIL.Image: subject with hair
bald = sample["bald_image"]  # PIL.Image: same subject without hair

Save a paired sample:

sample["hair_image"].save("hair.png")
sample["bald_image"].save("bald.png")
sample["hair_render"].save("hair_render.png")
sample["bald_render"].save("bald_render.png")
sample["background_image"].save("background.png")

Common Usage Patterns

Filter by camera view:

front = ds.filter(lambda row: row["view"] == "front")
side = ds.filter(lambda row: row["view"] == "side")
back = ds.filter(lambda row: row["view"] == "back")

Filter by hairstyle source:

hair20k = ds.filter(lambda row: row["source"] == "hair20k")
difflocks = ds.filter(lambda row: row["source"] == "difflocks")

Read Blender render parameters:

import json

params = json.loads(sample["render_params_json"])
print(params.keys())

Stream the dataset without downloading all shards:

from datasets import load_dataset

stream = load_dataset("deepmancer/baldy", split="train", streaming=True)
for row in stream:
    print(row["hairstyle_id"], row["view"], row["source"])
    break

File Format

Baldy is stored as sharded Parquet files with embedded image bytes:

data/
├── train-00000-of-NNNNN.parquet
├── train-00001-of-NNNNN.parquet
├── ...
└── train-NNNNN-of-NNNNN.parquet

No external image files are required. Image columns are decoded automatically as PIL images by the datasets library.

Intended Uses

Baldy is intended for research and development in:

  • bald-conversion model training
  • hairstyle-transfer preprocessing
  • paired image-to-image translation
  • synthetic data studies for hair and head rendering
  • controlled evaluation of hair removal and reconstruction pipelines
  • HairPort-style 3D-aware hair import and transfer systems

Limitations And Responsible Use

Baldy is a synthetic dataset. Its distribution reflects the hairstyle sources, SMPL-X configurations, rendering settings, and generative refinement pipeline used to create it. The current release is also front-view dominant.

Generated samples may contain artifacts or biases inherited from the rendering and image-generation stages. Users should inspect samples before using the dataset in production settings.

This dataset is not designed as a demographic benchmark and should not be used for sensitive identity, demographic, or attribute-inference tasks.

Related Resources

Citation

If you use Baldy or HairPort in your research, please cite:

@inproceedings{heidari2026hairport,
  title     = {HairPort: In-context 3D-Aware Hair Import and Transfer for Images},
  author    = {A. Heidari and A. Alimohammadi and W. Michel Pinto Lira and A. Bar-Lev and A. Mahdavi-Amiri},
  booktitle = {ACM SIGGRAPH 2026},
  year      = {2026}
}

License

Baldy is released under the Creative Commons Attribution 4.0 International License license.

Downloads last month
2,410

Models trained or fine-tuned on deepmancer/baldy