Skip to content

Instantly share code, notes, and snippets.

View sjain07's full-sized avatar

Sarthak Jain sjain07

View GitHub Profile
import picamera, json, requests, os, random
from time import sleep
from PIL import Image, ImageDraw
#capture an image
camera = picamera.PiCamera()
camera.capture('image1.jpg')
print('caputred image')
#make a prediction on the image
icons