Advertisement
Guest User

Untitled

a guest
Jul 20th, 2019
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. from SimpleCV import Camera
  2. # Initialize the camera
  3. cam = Camera()
  4. # Loop to continuously get images
  5. while True:
  6. # Get Image from camera
  7. img = cam.getImage()
  8. # Make image black and white
  9. img = img.binarize()
  10. # Draw the text "Hello World" on image
  11. img.drawText("Hello World!")
  12. # Show the image
  13. img.show()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement