first attempt at adding debug i/f for testing ImageCapture