Skip to content

Instantly share code, notes, and snippets.

@rodgomesc
Created July 13, 2015 05:06
Show Gist options
  • Save rodgomesc/53892fe4b7679c9b4e87 to your computer and use it in GitHub Desktop.
Save rodgomesc/53892fe4b7679c9b4e87 to your computer and use it in GitHub Desktop.
Detecta Rosto
from SimpleCV import Image, Camera
cam = Camera()
while True:
img = cam.getImage()
face = img.findHaarFeatures('face.xml')
if face:
face.draw(width=3,color=(255,0,0))
img.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment