Code can take pictures and return an image with URL like
http://192.168.0.45:8001/camera?timeout=5000