Capture: check image is none before analysing it.