find eyes / pupils via isCirlce?

124 views
Skip to first unread message

tom

unread,
Apr 2, 2012, 5:15:51 PM4/2/12
to simp...@googlegroups.com
hi

this is my code:
 blobs = myFaceImage.findBlobs()
 if blobs:
  for blob in blobs:
   if blob.isCircle():
    blob.draw()
   else:
    print "no circles"  
 else:
  print "no blobs"  
 myFaceImage.show()

but it prints only "no circles". my images is a face taken by webcam. is there a way to identify the eyes/pupils?


Katherine Scott

unread,
Apr 2, 2012, 5:34:41 PM4/2/12
to simp...@googlegroups.com
Did you try changing the parameters for findBlobs? did you try the findCircle method?
--
---------------------------------
Katherine A. Scott
Director of Research & Development
---------------------------------

tom

unread,
Apr 2, 2012, 5:48:48 PM4/2/12
to simp...@googlegroups.com
hey

i tried:

blobs = findBlobs(threshval = 80, minsize = 300),  and uped & downed them, but im not 100% sure what they mean...

didnt test findCircle since it didnt show in the docs, but appeared swhere in the mailinglist

thx, ill try!
Reply all
Reply to author
Forward
0 new messages