Camera backend and front in camera.py