added cameratools.py