cv2 is unused in background.py