[英]how to mesure the distance between 2 points in the facial landmarks from dlib 68 x- y-coordinates
[英]OpenCV - After feature points detection, how can I get the x,y-coordinates of the feature points
我的过程是
任何帮助都值得赞赏
遵循以下示例: http : //docs.opencv.org/3.0-beta/doc/py_tutorials/py_feature2d/py_orb/py_orb.html#orb
在
kp = orb.detect(img,None)
kp, des = orb.compute(img, kp)
kp变量是Keypoint对象的列表。
该对象的pt
成员是关键点的位置。
因此,例如:
for i,keypoint in enumerate(kp):
print "Keypoint %d: %s" % (i, keypoint.pt)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.