Last active
March 12, 2016 23:16
-
-
Save gigafide/0245b37cde40a6d22916 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
#import the SimpleCV library | |
from SimpleCV import * | |
#initialize the camera | |
cam = Camera() | |
#grab the image from the camera | |
img = cam.getImage() | |
#show the image in a new window | |
img.show() | |
#save the image to a file within the project folder | |
img.save('image.png') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment