Write a computer vision algorithm designed to use the Intel RealSense D455 camera for obstacle and crater detection.