我一直在尝试创建一个比Dlib提供的shape_predictor_68_face_landmarks.dat
更好的模型。
(您可以从http://dlib.net/files/shape_predictor_68_face_landmarks.dat.bz2)
获取此文件您对我的数据集没有以正确的方式进行培训有什么想法吗?
My result with applying all iBug images
我想创建一个.dat
文件,它比我上面提到的模型提供更好的准确性。
这意味着比这张图片更准确。
我基本上使用了train_shape_predictor_ex.cpp
的示例代码。
我使用的数据集就是这个 - >
原文:http://ibug.doc.ic.ac.uk/resources/300-W/
我实际使用的是:https://www.dropbox.com/sh/11znddaomgjfdw1/AAC9up5NOGTv2mc0dpYH6z4-a?dl=0 + Image
目录中的iBug数据。
我的目录是这样的:
* name: /faces_iBug
* Image
* I put all of the iBug images in this directory.
* 2008_002470.jpg
* 2008_002506.jpg
* 2008_004176.jpg
* 2008_007676.jpg
* 2009_004587.jpg
* image_metadata_stylesheet.xsl
* testing_with_face_landmarks.xml
* training_with_face_landmarks.xml
然后,我尝试了,
$ ./train_shape_predictor_ex ~/faces_iBug
将对象边界框放在imglab
。
imglab
(这是Dlib中提供的工具)来放置这些信息。training_with_face_landmarks.xml
。更改参数
为列车和测试数据应用相同的数据集(只有11张图像)。
为列车和测试数据应用相同的数据集(包含所有iBug图像)。