Open tkyzp opened 4 years ago
@tkyzp 你好。 PRIORBOX3和PRIORBOX4分别负责检测尺寸为{10, 16, 24}和{32, 48}的人脸。根据你的需求,可以把这部分的代码注释掉: https://github.com/ShiqiYu/libfacedetection/blob/7bf7fc9f216ab772184bbbd4cc50a2ea0215912d/src/facedetectcnn-model.cpp#L239-L273
除此之外,你还需要注释掉与PRIORBOX3和PRIORBOX4相关的部分的代码。
下面给出每层priorbox预定义的框大小:
如果你希望训练一个完全符合你需求的模型,欢迎使用我们的模型训练程序:https://github.com/ShiqiYu/libfacedetection.train
你好,首先感谢您为开源做出的贡献。 在实际使用中可能不需要这么小的人脸尺度,请问如何调整最小人脸的大小,比如从原来的10x10调整到50x50;或者说是否可以调整此参数