Ejemplo n.º 1
0
def take_standard_exposure_picam_still(pic_path):
    '''
    Used to interface with the Picam camera to take a standard, or automatically exposed image
    '''
    picam = Picam()
    picam.take_still(
        pic_path=pic_path,
        image_width=current_app.config['STILL_IMAGE_WIDTH'],
        image_height=current_app.config['STILL_IMAGE_HEIGHT']
    )