Conservation for both biodiversity and ecosystem services are an important issue worldwide. However, knowledge of their relationship remains limited. As habitat structure is strongly related to regional biodiversity, we studied cultural ecosystem services by using habitat structure as a proxy for biodiversity. Specifically, we used human preference, assessed by using photos with location information (i.e. geo-tagged digital pictures) as an index of a cultural ecosystem service. We conducted nature walks in semi-natural environments for cognitively-impaired students from a local special school and studied the photos they took during the walks. We analysed the habitat preferences inferred from the photo locations and the composition of the photos—whether they were close-up, scenic or landscape views. The results showed that levels of human preference and biodiversity, indicated by habitat structure, had a positive relationship. During spring to autumn, when levels of biological activity are higher, people tended to show more preference in close-up views (i.e. the subject of the photo was the species itself). In winter, they tended to be interested in scenic views that were not strongly influenced by species diversity. Additionally, photos taken in areas with threatened species almost always included close-up views, although not of the threatened species themselves. Areas with high species diversity therefore appeared to be more appealing to the participants. These results suggest that habitat diversity could not only contribute to biodiversity, but also provide cultural ecosystem services. Habitat conservation for semi-natural environments could be synergised for both biodiversity conservation and general human well-being.