Created
September 1, 2014 04:59
-
-
Save alpocr/edbf5ae3b06d051e1eed to your computer and use it in GitHub Desktop.
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 * #import FrameWork | |
import time # import time | |
frame = Image("1.jpg").scale(0.8) # open image | |
face = frame.findHaarFeatures("face.xml") #start a face.xml instance | |
if face: #if a face was found | |
face.draw((0, 255, 0), 3) | |
frame.show() # show result | |
time.sleep(10) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment