Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from SimpleCV import Camera
- # Initialize the camera
- cam = Camera()
- # Loop to continuously get images
- while True:
- # Get Image from camera
- img = cam.getImage()
- # Make image black and white
- img = img.binarize()
- # Draw the text "Hello World" on image
- img.drawText("Hello World!")
- # Show the image
- img.show()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement