0
坐标我想知道如何让OpenCV的像素眼睛坐标(左眼和右眼)我使用这个tutorial眼OpenCV的
我想要得到的坐标,并进行打印。这是眼睛位置的部分:
for(size_t j = 0; j < eyes.size(); j++)
{
Point center(faces[i].x + eyes[j].x + eyes[j].width*0.5, faces[i].y + eyes[j].y + eyes[j].height*0.5);
int radius = cvRound((eyes[j].width + eyes[j].height)*0.25);
circle(image, center, radius, Scalar(255, 0, 0), 4, 8, 0);
}
thak你为你的答案,但我认为它比我更不会需要使用dlib或任何东西,因为眼睛检测器已经在任何图像中的眼睛周围画圆过程并给我我想要的结果 – deepmore