Created
July 13, 2015 05:06
-
-
Save rodgomesc/53892fe4b7679c9b4e87 to your computer and use it in GitHub Desktop.
Detecta Rosto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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