tags:

views:

136

answers:

0

Hi,

I'm trying to write eye detection in opencv with python but having some problems about cvGetSeqElem.

In C we can write :

 CvRect *face = (CvRect*)cvGetSeqElem(faces, 0);

When I'm trying to write this with Python :

face = cvGetSeqElem(faces, 0)

It returns str, therefore I can't reach x,y positions. Any idea ?