head-pose-estimation-and-face-landmark icon indicating copy to clipboard operation
head-pose-estimation-and-face-landmark copied to clipboard

How to make hdf5 dataset?

Open cherishtttz opened this issue 6 years ago • 6 comments

Hello,请问您怎样把人脸检测框、人脸关键点以及姿态yaw等数据写入hdf5格式的文件里的呢?是把它们都看作图像对应的标签吗?

cherishtttz avatar Dec 27 '18 09:12 cherishtttz

@cherishtttz 请问您知道怎么做了吗

xinxin12345 avatar Oct 14 '19 03:10 xinxin12345

@xinxin12345 你好,我是直接百度搜了一个做hdf5数据集的博客,然后跟着上面的思路和自己的对应着修改的,你可以参考一下 https://www.jianshu.com/p/9f382a1460c6 人脸检测框应该是预处理用来裁剪人脸图像的,所以这个我没有当成标签 关键点和姿态应该都要写进标签里 多标签训练 因为我后来没有采用这个代码的训练方式,所以其他细节就没法回答你啦。

cherishtttz avatar Oct 14 '19 07:10 cherishtttz

@cherishtttz 好的呢,感谢您了

xinxin12345 avatar Oct 14 '19 10:10 xinxin12345

@cherishtttz 您好,我想再咨询您一个问题,我使用OpenFace得到的pose应该是旋转向量吧,请问怎么转换成角度呢

xinxin12345 avatar Oct 15 '19 01:10 xinxin12345

@xinxin12345 不好意思,openface我只了解了理论,没有实际使用到,所以不太清楚呐

cherishtttz avatar Oct 15 '19 06:10 cherishtttz

@cherishtttz 好的,仍然非常感谢啦

xinxin12345 avatar Oct 15 '19 07:10 xinxin12345