File Exchange

image thumbnail

Extracting Data from BIWI Head pose data base into Matlab (Full)

version 1.0 (8.63 KB) by

This submission reads depth images and the ground truth frame by frame from the database.

1 Download


View License

BIWI Kinect Headpose Data base: This data base has 15000 head poses along with the ground truth of head orientation and location.
Below is the URL:

author = {G. Fanelli and T. Weise and J. Gall and L. Van Gool},
title = {Real Time Head Pose Estimation from Consumer Depth Cameras},
booktitle = {33rd Annual Symposium of the German Association for Pattern Recognition (DAGM'11)},
year = {2011},
month = {September}

To run the code(32 bit Matlab):

1) Run compile_mex

2) Run the main. After running the main you are prompted to provide few paths. The name of the desired folder is shown in the prompt (provided the names of the folder are "as-is" in the database.)

Comments and Ratings (6)

Error using mex
D:\MATLAB\bin\mxReadDepthFile.cpp: In function 'void mexFunction(int, mxArray**, int, mxArray**)':
D:\MATLAB\bin\mxReadDepthFile.cpp:68:31: error: cast from 'mxArray* {aka mxArray_tag*}' to 'int' loses precision
int g_max_z = (int)prhs[24];
any help please


H vae this error !! any help please...Undefined function 'get_groundtruth' for input arguments of type 'struct'.

Great Work... It is well-written and has saved me a lot of time... Thanks


Nice work, thanks for sharing this database.

NOTE: Set the value of fIDmax to 24 (instead of 3 - as in the submission) in the main.m file to loop through the 24 folders in the database.

MATLAB Release
MATLAB 7.14 (R2012a)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Win prizes and improve your MATLAB skills

Play today