face-landmark
face-landmark copied to clipboard
Bug in DataRow
DataRow.py 1237行,在copyMirrored()为了获取y轴翻转图像的代码:
ret.image=cv2.flip(self.image.copy(),1)
# Now we mirror the landmarks and swap left and right
width = ret.image.shape[0]
由于源码是对60*60图像的翻转,所以刚好碰对了 ret.image.shape[0] 是获取的图像的行数,指的是height不是width 所以应该修改width = ret.image.shape[1]才是正确的 请核实后修改代码,谢谢~