Jump to content
Sign in to follow this  

SimpleCV performance

Recommended Posts

I installed OpenCV using this Guide http://www.pcduino.com/?p=374

I sucessfully run this code to face detect, but its quite slow.
Did anybody know how to set resolution on Camera()
i cant find anything that work for me.

I using the Microsoft lifecam Hd3000
setting resolution should be supportet
i wanna run it like 320x240

Code: [select]

from SimpleCV import Camera, Display
def main():
    cam  = Camera()
    disp = Display()
    while disp.isNotDone():
        img = cam.getImage()
        faces = img.findHaarFeatures("face.xml")
        if faces:
            for face in faces:

if __name__ == "__main__":

Any other ideas, on how to improve performance?

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this