def get_camera_from_id(camid):
    camera = cameras.get(camid)
    if camera is None:
        raise InvalidCamera()
    return camera
Return the camera object for the given camera ID.
dataset/ETHPy150Open miguelgrinberg/oreilly-flask-apis-video/camera/camera.py/get_camera_from_id