Generation of obstacle Avoidance Based on Image Features and embodiment