Dataset Viewer
Auto-converted to Parquet Duplicate
Search is not available for this dataset
image
image
sample_id
string
source_dataset
string
source_index
int32
split
string
hf_label_id
int32
hf_label_name
string
label
class label
label_name
string
mediapipe_image_size
int32
landmark_success
bool
failure_reason
string
landmarks_mediapipe_xyz
list
landmarks_pixel_xyz_768
list
landmarks_stable_eye_norm
list
bbox_xyxy_768
list
inter_eye_scale
float32
roll_radians
float32
facial_transformation_matrix
list
train_000000
rhavill/raf-db-7emotions
0
train
5
sadness
4sadness
sadness
768
true
[ [ 0.48705530166625977, 0.6992542147636414, -0.11917514353990555 ], [ 0.4864175319671631, 0.5860328674316406, -0.2390645444393158 ], [ 0.48821479082107544, 0.6215372681617737, -0.12188110500574112 ], [ 0.4501785635948181, 0.4650232493877411, -0.183941066265...
[ [ 374.0584716796875, 537.0272216796875, -91.5265121459961 ], [ 373.56866455078125, 450.0732421875, -183.6015625 ], [ 374.948974609375, 477.34063720703125, -93.60469055175781 ], [ 345.73712158203125, 357.1378479003906, -141.26673889160156 ], [ 373.8...
[ [ -0.022641103714704514, 0.7294024229049683, -0.3512885570526123 ], [ -0.02142874151468277, 0.4901297092437744, -0.6046522259712219 ], [ -0.018433595076203346, 0.5651978850364685, -0.35700711607933044 ], [ -0.09527239203453064, 0.23359394073486328, -0.4881...
[ 11.887102127075195, 48.216896057128906, 767.4202270507812, 726.0947265625 ]
0.473191
-0.0107
[ 0.9999498724937439, -0.00032439760980196297, -0.010026093572378159, -0.07287263870239258, -0.0008099863771349192, 0.993602454662323, -0.11293233931064606, 0.5078480243682861, 0.009998584166169167, 0.11293482035398483, 0.9935520887374878, -15.4580078125, 0, 0, 0, 1 ]
train_000001
rhavill/raf-db-7emotions
1
train
6
surprise
5surprise
surprise
768
true
[ [ 0.5077109932899475, 0.6837111711502075, -0.15392282605171204 ], [ 0.5172324776649475, 0.5425428152084351, -0.24075163900852203 ], [ 0.5097152590751648, 0.5897290110588074, -0.13491840660572052 ], [ 0.47070035338401794, 0.44388124346733093, -0.16872720420...
[ [ 389.92205810546875, 525.0902099609375, -118.21273040771484 ], [ 397.23455810546875, 416.6728820800781, -184.8972625732422 ], [ 391.4613037109375, 452.911865234375, -103.61734008789062 ], [ 361.49786376953125, 340.9007873535156, -129.58248901367188 ], ...
[ [ 0.04820247367024422, 0.6942780613899231, -0.504984974861145 ], [ 0.07052448391914368, 0.397514671087265, -0.6876167058944702 ], [ 0.05394628271460533, 0.49663877487182617, -0.46501192450523376 ], [ -0.02574179135262966, 0.18924395740032196, -0.5361238121...
[ -65.7971420288086, 32.54434585571289, 751.6875, 763.9312744140625 ]
0.475431
-0.007731
[ 0.997161328792572, -0.015358609147369862, 0.07371397316455841, -0.3520523011684418, 0.010096291080117226, 0.997408390045166, 0.07123719155788422, -0.1596604287624359, -0.07461704313755035, -0.07029078900814056, 0.994732141494751, -15.104925155639648, 0, 0, 0, 1 ]
train_000002
rhavill/raf-db-7emotions
2
train
3
happiness
3happiness
happiness
768
false
no_face_detected
[]
[]
[]
[]
null
null
[]
train_000003
rhavill/raf-db-7emotions
3
train
6
surprise
5surprise
surprise
768
true
[[0.6035021543502808,0.6559289693832397,-0.13527913391590118],[0.6600121855735779,0.542953372001648,(...TRUNCATED)
[[463.4896545410156,503.7534484863281,-103.89437866210938],[506.88934326171875,416.9881896972656,-18(...TRUNCATED)
[[0.2742045223712921,0.6472678780555725,-0.3903287947177887],[0.40279510617256165,0.401477187871933,(...TRUNCATED)
[ -176.92507934570312, 89.6023178100586, 639.1766357421875, 778.48681640625 ]
0.455379
-0.018207
[0.9236915707588196,0.03932588919997215,0.3811134696006775,-1.4096744060516357,0.00234495522454381,0(...TRUNCATED)
train_000004
rhavill/raf-db-7emotions
4
train
5
sadness
4sadness
sadness
768
true
[[0.44405293464660645,0.6860765218734741,-0.1300683319568634],[0.42454198002815247,0.561703026294708(...TRUNCATED)
[[341.03265380859375,526.90673828125,-99.8924789428711],[326.0482482910156,431.387939453125,-184.818(...TRUNCATED)
[[-0.10621413588523865,0.6859202980995178,-0.38891610503196716],[-0.1474597454071045,0.4261544048786(...TRUNCATED)
[ 31.724607467651367, 16.131484985351562, 874.6638793945312, 758.1329956054688 ]
0.47865
0.00186
[0.98747718334198,-0.005296254996210337,-0.1576737016439438,0.3559848666191101,-0.000155570436618290(...TRUNCATED)
train_000005
rhavill/raf-db-7emotions
5
train
5
sadness
4sadness
sadness
768
true
[[0.3982418477535248,0.6887222528457642,-0.12254251539707184],[0.3549012243747711,0.5701562166213989(...TRUNCATED)
[[305.8497314453125,528.938720703125,-94.11265563964844],[272.56414794921875,437.8799743652344,-184.(...TRUNCATED)
[[-0.2535250782966614,0.7270192503929138,-0.37440428137779236],[-0.3463892340660095,0.46746519207954(...TRUNCATED)
[ 100.60137939453125, 38.466678619384766, 912.940185546875, 764.2994995117188 ]
0.457941
-0.006859
[0.9492610096931458,-0.0545395091176033,-0.309723824262619,1.0246936082839966,0.022419583052396774,0(...TRUNCATED)
train_000007
rhavill/raf-db-7emotions
7
train
6
surprise
5surprise
surprise
768
true
[[0.5490170121192932,0.6459361910820007,-0.15681909024715424],[0.5693535208702087,0.5131465792655945(...TRUNCATED)
[[421.64508056640625,496.0789794921875,-120.43705749511719],[437.26348876953125,394.0965576171875,-1(...TRUNCATED)
[[0.13168250024318695,0.6096169352531433,-0.4665312170982361],[0.17403823137283325,0.330846130847930(...TRUNCATED)
[ -93.58174133300781, 85.8764419555664, 727.5923461914062, 786.1092529296875 ]
0.476426
0.001183
[0.9887271523475647,0.009207086637616158,0.14944413304328918,-0.5240329504013062,-0.0102526014670729(...TRUNCATED)
train_000009
rhavill/raf-db-7emotions
9
train
3
happiness
3happiness
happiness
768
true
[[0.5153729915618896,0.6639119386672974,-0.14493989944458008],[0.5634375810623169,0.5475102066993713(...TRUNCATED)
[[395.80645751953125,509.8843688964844,-111.3138427734375],[432.7200622558594,420.48785400390625,-19(...TRUNCATED)
[[0.08112386614084244,0.6409848928451538,-0.44542792439460754],[0.18345077335834503,0.39982628822326(...TRUNCATED)
[ -147.79617309570312, 28.451004028320312, 714.2448120117188, 843.1531982421875 ]
0.480722
-0.009695
[0.9902951121330261,-0.0028147660195827484,0.1389513462781906,-0.7136974930763245,-0.007995464839041(...TRUNCATED)
train_000010
rhavill/raf-db-7emotions
10
train
1
disgust
1disgust
disgust
768
true
[[0.5688466429710388,0.6853216886520386,-0.104624442756176],[0.6207751631736755,0.5930878520011902,-(...TRUNCATED)
[[436.87420654296875,526.3270263671875,-80.35157012939453],[476.75531005859375,455.491455078125,-182(...TRUNCATED)
[[0.23179714381694794,0.7294620275497437,-0.271940678358078],[0.3445841372013092,0.5290156602859497,(...TRUNCATED)
[ -176.44915771484375, 32.365020751953125, 656.25048828125, 765.213623046875 ]
0.460207
0.000251
[0.9453564882278442,0.0498245470225811,0.32220926880836487,-1.3235852718353271,0.013278113678097725,(...TRUNCATED)
train_000011
rhavill/raf-db-7emotions
11
train
3
happiness
3happiness
happiness
768
true
[[0.4981062710285187,0.6986342072486877,-0.11046651005744934],[0.503152072429657,0.6072295308113098,(...TRUNCATED)
[[382.5456237792969,536.5510864257812,-84.8382797241211],[386.4207763671875,466.352294921875,-203.31(...TRUNCATED)
[[-0.005241823382675648,0.7267271280288696,-0.2742542326450348],[0.006308669690042734,0.534227252006(...TRUNCATED)
[ -13.512282371520996, 27.108741760253906, 763.2056274414062, 857.59033203125 ]
0.474699
-0.004784
[0.9996288418769836,0.010567152872681618,0.025126835331320763,-0.12060084939002991,-0.00703173689544(...TRUNCATED)
End of preview. Expand in Data Studio

RAF-DB 7 Emotions MediaPipe 768

This dataset is a processed derivative of rhavill/raf-db-7emotions for landmark-based facial expression recognition experiments.

It keeps the source images and labels, remaps labels into a stable seven-class order, creates stratified train, val, and test splits with seed 42, and adds MediaPipe Face Landmarker outputs extracted after resizing each image to 768 x 768 for processing.

Labels

Target label order:

['anger', 'disgust', 'fear', 'happiness', 'sadness', 'surprise', 'neutral']

The label column is a ClassLabel using that order. The label_name column stores the readable class name.

Splits

The source Hugging Face mirror has a single split. This dataset creates deterministic stratified splits:

  • train: 70%
  • val: 15%
  • test: 15%
  • seed: 42

Columns

  • image: source image
  • sample_id: deterministic row id
  • source_dataset: original dataset id
  • source_index: row index in the source dataset
  • split: split name
  • hf_label_id, hf_label_name: original Hugging Face mirror label
  • label, label_name: remapped target label
  • mediapipe_image_size: processing size, fixed at 768
  • landmark_success: whether MediaPipe produced landmarks
  • failure_reason: extraction failure reason if any
  • landmarks_mediapipe_xyz: 478 normalized MediaPipe xyz landmarks
  • landmarks_pixel_xyz_768: 478 xyz landmarks scaled to the 768 x 768 processing frame
  • landmarks_stable_eye_norm: 478 xyz landmarks normalized by stable eye-corner center, scale, and roll
  • bbox_xyxy_768: landmark-derived face bounding box in the processing frame
  • inter_eye_scale: eye-corner scale used for normalization
  • roll_radians: face roll angle used for normalization
  • facial_transformation_matrix: flattened MediaPipe facial transformation matrix when available

Intended Use

This dataset is intended for privacy-conscious facial expression recognition experiments where models consume landmark-derived geometry rather than raw texture-heavy image features.

Caveats

This is a processed Hugging Face mirror dataset. Results should be reported as mirror/proxy results and should include the split seed, MediaPipe processing size, and landmark coverage.

MediaPipe extraction can fail and may fail non-uniformly across classes. Use landmark_success and failure_reason when training or reporting coverage-adjusted metrics.

Downloads last month
164