Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Couldn't reach 'deepmancer/baldy' on the Hub (LocalEntryNotFoundError)
Error code:   UnexpectedError

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

hairstyle_id
string
view
string
source
string
hairstyle_source_id
string
hair_image
image
bald_image
image
hair_render
image
background_image
image
render_params_json
string
background_prompt
string
camera_focal_length
float64
camera_location_x
float64
camera_location_y
float64
camera_location_z
float64
camera_rotation_x
float64
camera_rotation_y
float64
camera_rotation_z
float64
lighting_preset
string
body_gender
string
face_expression
string
hair_melanin
float64
hair_roughness
float64
has_garments
bool
views_available
string
1
front
difflocks
0_idx_1062
{ "camera": { "location": [ 0.05708490312099457, -1.427790880203247, 0.21848370134830475 ], "rotation": [ 1.5928484201431274, 2.6308116503059864e-06, 0.03996004909276962 ], "focal_length": 108.14714813232422, "camera_type": "PERSP", "clip_start": 0.01, ...
a stylish wine bar
108.147148
0.057085
-1.427791
0.218484
1.592848
0.000003
0.03996
studio
female
null
0.897377
0.683263
false
front
10
front
difflocks
0_idx_27178
{ "camera": { "location": [ -0.09157214313745499, -0.6267657279968262, 0.4638676643371582 ], "rotation": [ 1.2451750040054321, 2.618879307192401e-06, -0.14507712423801422 ], "focal_length": 52.360389709472656, "camera_type": "PERSP", "clip_start": 0.01, ...
a fairground with ferris wheel bokeh
52.36039
-0.091572
-0.626766
0.463868
1.245175
0.000003
-0.145077
rim
male
null
0.043274
0.24776
false
front
100
front
difflocks
11_idx_2639
{ "camera": { "location": [ -0.622186541557312, -1.05315363407135, 0.6572640538215637 ], "rotation": [ 1.249394178390503, 2.592802047729492e-06, -0.5336165428161621 ], "focal_length": 97.87682342529297, "camera_type": "PERSP", "clip_start": 0.01, "cl...
a hallway with framed art
97.876823
-0.622187
-1.053154
0.657264
1.249394
0.000003
-0.533617
rim
female
null
0.093486
0.66548
false
front
1000
front
difflocks
30_idx_1131
{ "camera": { "location": [ -0.35200047492980957, -1.1525213718414307, 0.6075434684753418 ], "rotation": [ 1.2823717594146729, 2.5555498268658994e-06, -0.29642045497894287 ], "focal_length": 95.51326751708984, "camera_type": "PERSP", "clip_start": 0.01, ...
a startup loft with whiteboard sketches
95.513268
-0.352
-1.152521
0.607543
1.282372
0.000003
-0.29642
natural
male
null
0.23085
0.429873
false
front
1001
front
difflocks
30_idx_1402
{ "camera": { "location": [ 0.256445974111557, -0.7044863104820251, 0.5436421632766724 ], "rotation": [ 1.1974881887435913, 2.6151537895202637e-06, 0.3491073548793793 ], "focal_length": 62.3787727355957, "camera_type": "PERSP", "clip_start": 0.01, "c...
a herringbone wood wall
62.378773
0.256446
-0.704486
0.543642
1.197488
0.000003
0.349107
studio
male
null
0.78883
0.430514
false
front
1002
front
difflocks
30_idx_25853
{ "camera": { "location": [ -0.2707471251487732, -1.6698318719863892, 0.8561957478523254 ], "rotation": [ 1.2267038822174072, 2.618879307192401e-06, -0.16074244678020477 ], "focal_length": 135.11141967773438, "camera_type": "PERSP", "clip_start": 0.01, ...
a pedestrian bridge
135.11142
-0.270747
-1.669832
0.856196
1.226704
0.000003
-0.160742
soft
female
null
0.285653
0.495383
false
front
1003
front
difflocks
30_idx_3125
{ "camera": { "location": [ -0.0808037593960762, -0.7021182179450989, 0.2183254063129425 ], "rotation": [ 1.6155834197998047, 2.6221396183245815e-06, -0.11458148807287216 ], "focal_length": 55.213871002197266, "camera_type": "PERSP", "clip_start": 0.01, ...
a science lab bench with glassware
55.213871
-0.080804
-0.702118
0.218325
1.615583
0.000003
-0.114581
rim
male
null
0.749334
0.319881
false
front
1004
front
difflocks
30_idx_33404
{ "camera": { "location": [ -0.18147976696491241, -1.7654472589492798, 0.7048101425170898 ], "rotation": [ 1.3199281692504883, 2.622605052238214e-06, -0.10243621468544006 ], "focal_length": 137.68734741210938, "camera_type": "PERSP", "clip_start": 0.01, ...
a chocolate shop counter
137.687347
-0.18148
-1.765447
0.70481
1.319928
0.000003
-0.102436
rim
male
null
0.857632
0.532644
false
front
1005
front
difflocks
30_idx_33735
{ "camera": { "location": [ -0.45210346579551697, -0.8680856823921204, 0.29179269075393677 ], "rotation": [ 1.5281226634979248, 2.5723127237142762e-06, -0.4801529347896576 ], "focal_length": 75.17442321777344, "camera_type": "PERSP", "clip_start": 0.01, ...
a cozy reading corner
75.174423
-0.452103
-0.868086
0.291793
1.528123
0.000003
-0.480153
three_point
female
null
0.293019
0.541401
false
front
1006
front
difflocks
30_idx_33894
{ "camera": { "location": [ -0.28917834162712097, -0.760792076587677, 0.2733059227466583 ], "rotation": [ 1.5421690940856934, 2.6635825634002686e-06, -0.3632359504699707 ], "focal_length": 63.04358673095703, "camera_type": "PERSP", "clip_start": 0.01, ...
a university courtyard
63.043587
-0.289178
-0.760792
0.273306
1.542169
0.000003
-0.363236
natural
female
null
0.72169
0.460224
false
front
1007
front
difflocks
30_idx_35370
{ "camera": { "location": [ 0.47426047921180725, -1.0868356227874756, 0.6806658506393433 ], "rotation": [ 1.2224246263504028, 2.689659595489502e-06, 0.4114589989185333 ], "focal_length": 95.84989929199219, "camera_type": "PERSP", "clip_start": 0.01, ...
a black sand beach
95.849899
0.47426
-1.086836
0.680666
1.222425
0.000003
0.411459
studio
female
null
0.515941
0.215679
false
front
1008
front
difflocks
30_idx_36069
{ "camera": { "location": [ -0.35019558668136597, -1.1190776824951172, 0.2741752862930298 ], "rotation": [ 1.5501824617385864, 2.624466787892743e-06, -0.30327874422073364 ], "focal_length": 89.3416748046875, "camera_type": "PERSP", "clip_start": 0.01, ...
a boathouse interior
89.341675
-0.350196
-1.119078
0.274175
1.550182
0.000003
-0.303279
outdoor
male
null
0.482044
0.471157
false
front
1009
front
difflocks
30_idx_41800
{ "camera": { "location": [ -0.2867632806301117, -0.5513303875923157, 0.4077474772930145 ], "rotation": [ 1.3222086429595947, 2.6449558845342835e-06, -0.4796219766139984 ], "focal_length": 50.35152816772461, "camera_type": "PERSP", "clip_start": 0.01, ...
a sunrise mountain overlook
50.351528
-0.286763
-0.55133
0.407747
1.322209
0.000003
-0.479622
soft
female
null
0.855739
0.527014
false
front
101
front
difflocks
11_idx_27226
{ "camera": { "location": [ 0.01786932721734047, -0.8645577430725098, 0.25833824276924133 ], "rotation": [ 1.5611542463302612, 2.62953108176589e-06, 0.02066577970981598 ], "focal_length": 66.7507095336914, "camera_type": "PERSP", "clip_start": 0.01, ...
a wheat field
66.75071
0.017869
-0.864558
0.258338
1.561154
0.000003
0.020666
outdoor
male
null
0.104164
0.591297
false
front
1010
front
difflocks
30_idx_42895
{ "camera": { "location": [ 0.08880148082971573, -1.130171298980713, 0.626805305480957 ], "rotation": [ 1.2499029636383057, 2.6468194391782163e-06, 0.07841148972511292 ], "focal_length": 90.93997192382812, "camera_type": "PERSP", "clip_start": 0.01, ...
a music rehearsal room
90.939972
0.088801
-1.130171
0.626805
1.249903
0.000003
0.078411
outdoor
female
null
0.001691
0.317522
false
front
1011
front
difflocks
30_idx_43180
{ "camera": { "location": [ -0.8242419362068176, -1.7789483070373535, 0.5717320442199707 ], "rotation": [ 1.4081486463546753, 2.559275571911712e-06, -0.43388497829437256 ], "focal_length": 149.03509521484375, "camera_type": "PERSP", "clip_start": 0.01, ...
a mottled canvas backdrop
149.035095
-0.824242
-1.778948
0.571732
1.408149
0.000003
-0.433885
rim
female
null
0.712882
0.279813
false
front
1012
front
difflocks
30_idx_43652
{ "camera": { "location": [ 0.15986235439777374, -0.5875024795532227, 0.4050823152065277 ], "rotation": [ 1.3213919401168823, 2.6002524009527406e-06, 0.2656720280647278 ], "focal_length": 49.40894317626953, "camera_type": "PERSP", "clip_start": 0.01, ...
a coastal village alley
49.408943
0.159862
-0.587502
0.405082
1.321392
0.000003
0.265672
soft
female
null
0.610435
0.48502
false
front
1013
front
difflocks
30_idx_44947
{ "camera": { "location": [ -0.6805878281593323, -1.163671851158142, 0.737814724445343 ], "rotation": [ 1.2235971689224243, 2.622603687996161e-06, -0.5292153358459473 ], "focal_length": 108.46620178222656, "camera_type": "PERSP", "clip_start": 0.01, ...
a marina dock
108.466202
-0.680588
-1.163672
0.737815
1.223597
0.000003
-0.529215
natural
male
null
0.66911
0.415011
false
front
1014
front
difflocks
30_idx_50523
{ "camera": { "location": [ -0.08016391098499298, -1.8804067373275757, 0.549919068813324 ], "rotation": [ 1.4127726554870605, 2.6221391635772306e-06, -0.04260575398802757 ], "focal_length": 143.0965118408203, "camera_type": "PERSP", "clip_start": 0.01, ...
a civic building rotunda
143.096512
-0.080164
-1.880407
0.549919
1.412773
0.000003
-0.042606
studio
male
null
0.431863
0.413131
false
front
1015
front
difflocks
30_idx_60801
{ "camera": { "location": [ 0.10730395466089249, -1.5638645887374878, 0.47306665778160095 ], "rotation": [ 1.4294416904449463, 2.640299726408557e-06, 0.0685068815946579 ], "focal_length": 119.44447326660156, "camera_type": "PERSP", "clip_start": 0.01, ...
a colonnaded arcade
119.444473
0.107304
-1.563865
0.473067
1.429442
0.000003
0.068507
studio
female
null
0.692124
0.474389
false
front
1016
front
difflocks
30_idx_66836
{ "camera": { "location": [ -0.09187138080596924, -0.7336761951446533, 0.2968510389328003 ], "rotation": [ 1.5075180530548096, 2.646818302309839e-06, -0.12457236647605896 ], "focal_length": 57.66518020629883, "camera_type": "PERSP", "clip_start": 0.01, ...
a market produce stall
57.66518
-0.091871
-0.733676
0.296851
1.507518
0.000003
-0.124572
outdoor
female
null
0.346174
0.698326
false
front
1017
front
difflocks
30_idx_66890
{ "camera": { "location": [ -0.45620882511138916, -1.129201054573059, 0.598480224609375 ], "rotation": [ 1.2921053171157837, 2.644956111907959e-06, -0.38395944237709045 ], "focal_length": 96.22846221923828, "camera_type": "PERSP", "clip_start": 0.01, ...
a lantern-lit side street
96.228462
-0.456209
-1.129201
0.59848
1.292105
0.000003
-0.383959
studio
male
null
0.52648
0.185059
false
front
1018
front
difflocks
30_idx_75101
{ "camera": { "location": [ -0.07535751909017563, -0.803963303565979, 0.4050893783569336 ], "rotation": [ 1.3810430765151978, 2.6226039153698366e-06, -0.09345998615026474 ], "focal_length": 63.631378173828125, "camera_type": "PERSP", "clip_start": 0.01, ...
a dental office lobby
63.631378
-0.075358
-0.803963
0.405089
1.381043
0.000003
-0.09346
studio
male
null
0.062129
0.662537
false
front
End of preview.

Baldy Dataset

A synthetic paired dataset of hair/bald image pairs for bald reconstruction research, generated from physically modeled hairstyles rendered on SMPL-X bodies in Blender.

Dataset Description

The Baldy dataset provides pixel-aligned, identity-consistent pairs of images showing the same person with and without hair. It was created using a multi-stage pipeline:

  1. 3D Hair Modeling: Hairstyles from DiffLocks, Hair20K, USC-HairSalon, and CT2Hair are aligned to SMPL-X head meshes with varying poses, expressions, and optional BEDLAM clothing.
  2. Blender Rendering: Hair is rendered under diverse camera views, lighting conditions, and material settings at 1024Γ—1024 resolution.
  3. Photorealistic Generation: ControlNet++ and SDXL-based pipelines generate photorealistic composites, with Flux Kontext refinement for identity preservation.

Dataset Statistics

Total samples: 6400

Samples per View

View Count
back 99
front 6009
side 292

Samples per Hairstyle Source

Source Count
ct2hair 9
difflocks 3197
hair20k 2824
usc 370

Data Fields

Field Type Description
hairstyle_id string Unique zero-padded sequential ID (e.g., "000042")
view string Camera view: "front", "back", or "side"
source string Hairstyle source: "difflocks", "hair20k", "usc", or "ct2hair"
hairstyle_source_id string Source-specific hairstyle identifier
hair_image Image Photorealistic image of the person with hair (1024Γ—1024 PNG, auto-loaded)
bald_image Image Photorealistic image of the same person without hair (1024Γ—1024 PNG, auto-loaded)
hair_render Image Blender-rendered hair on transparent background (1024Γ—1024 PNG, auto-loaded)
background_image Image Scene background image (1024Γ—1024 PNG, auto-loaded)
render_params_json string Full Blender render parameters as embedded JSON string
background_prompt string Text prompt used to generate the background (empty string if unavailable)
camera_focal_length float Camera focal length (mm)
camera_location_x float Camera X position in Blender world space
camera_location_y float Camera Y position in Blender world space
camera_location_z float Camera Z position in Blender world space
camera_rotation_x float Camera X rotation in radians
camera_rotation_y float Camera Y rotation in radians
camera_rotation_z float Camera Z rotation in radians
lighting_preset string Lighting preset name (e.g., "studio", "outdoor")
body_gender string Subject gender from SMPL-X body configuration
face_expression string Facial expression (e.g., "angry", "neutral"; empty string for some DiffLocks samples)
hair_melanin float Hair melanin value controlling color darkness
hair_roughness float Hair surface roughness
has_garments bool Whether BEDLAM clothing is applied to the body
views_available string All camera views available for this hairstyle (pipe-separated, e.g., "front|back|side")

Usage

from datasets import load_dataset

# Load the full dataset
ds = load_dataset("deepmancer/baldy", split="train")

# Images are automatically decoded as PIL Images
sample = ds[0]
sample["hair_image"]        # PIL.Image (person with hair, auto-loaded)
sample["bald_image"]        # PIL.Image (person without hair, auto-loaded)
sample["hair_render"]       # PIL.Image (Blender hair render, auto-loaded)
sample["background_image"]  # PIL.Image (scene background, auto-loaded)

# Filter by view
front = ds.filter(lambda x: x["view"] == "front")
back  = ds.filter(lambda x: x["view"] == "back")
side  = ds.filter(lambda x: x["view"] == "side")

# Filter by hairstyle source
hair20k = ds.filter(lambda x: x["source"] == "hair20k")

# Access render parameters (embedded JSON)
import json
render_params = json.loads(sample["render_params_json"])

# Stream the dataset (no full download needed)
ds_stream = load_dataset("deepmancer/baldy", split="train", streaming=True)
for sample in ds_stream:
    print(sample["hairstyle_id"])
    break

File Structure

The dataset is stored as sharded Parquet files with embedded images (~1GB per shard):

data/
β”œβ”€β”€ train-00000-of-NNNNN.parquet
β”œβ”€β”€ train-00001-of-NNNNN.parquet
β”œβ”€β”€ ...
└── train-NNNNN-of-NNNNN.parquet

Each Parquet file contains all columns including image bytes β€” no external files are needed. Images are decoded as PIL Images automatically when accessing rows.

Citation

If you use this dataset, please cite:

@article{baldy2025,
  title={HairPort: In-context 3D-Aware Hair Import and Transfer for Images},
  year={2025}
}

License

This dataset is released under the CC BY 4.0 license.

Downloads last month
12