def find_person(self, name):
# cv2.imshow("Face Image", self.face_img)
# cv2.waitKey(3)
count=0
found = False
while count < 6 and found != True:
for i in range(len(self.face_names)):
if self.face_names[i] == name:
print self.face_names[i]
return True
break
count += 1
self.rotate_tbot(180.0, 45.0/2)
rospy.sleep(5)
# print count
return found
评论列表
文章目录