The document proposes an image-based method for finding better walking strategies for a hexapod robot on discontinuous terrains. It simulates a terrain environment, develops a hexapod walking model with different gaits, and defines an intelligent walking strategy. The strategy selects the optimal gait based on terrain analysis from images and parameters like stride length. It enables the hexapod to traverse rugged terrain by adapting its gait selection and switching between tripod and symmetrical walking patterns when needed.