Skip to content

Instantly share code, notes, and snippets.

@sjain07
Created March 19, 2018 13:52
Show Gist options
  • Save sjain07/59228f2641210fff552c8103cb5f3c2a to your computer and use it in GitHub Desktop.
Save sjain07/59228f2641210fff552c8103cb5f3c2a to your computer and use it in GitHub Desktop.
import picamera, os
from PIL import Image, ImageDraw
camera = picamera.PiCamera()
camera.capture('image1.jpg')
os.system("xdg-open image1.jpg")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment