integrating pycamera